Skip to content

Multiple diff editors for the same change #277192

@kieferrm

Description

@kieferrm

Type: Bug

  1. from chat delegate to a task to the cloud agent
  2. let the cloud agent finish
  3. in chat open the PR and then the session
    -> you get an editor with the chat icon
  4. ensure editor is not in preview mode
  5. in the agent sessions view, open the same session
    -> you get a second editor with a cloud agent icon and a different title
  6. Open the changes you see in the editor you got in step 5
  7. ensure editor is not in preview mode
  8. Open the changes you see in the editor you got in step 3
  9. ensure editor is not in preview mode
  10. Choose "show changed" from the drop down in the PR editor

You now have three editors for the same changes.

https://share.cleanshot.com/dR8MLTsJ

Extension version: 0.34.2025111302
VS Code version: Code - Insiders 1.107.0-insider (769ef65, 2025-11-13T14:43:43.333Z)
OS version: Darwin arm64 24.6.0
Modes:

Prompt Details
Trace: Creating remote URIs for cli/src/util/Frontmatter.ts
Trace: DiffEntry -> original='copilot-pr:/cli/src/util/Frontmatter.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%222bb58ad899b3852805d8df9d5f5d52196644de51%22%2C%22isBase%22%3Atrue%2C%22fileName%22%3A%22cli%2Fsrc%2Futil%2FFrontmatter.ts%22%7D' modified='copilot-pr:/cli/src/util/Frontmatter.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%22e59d6e75b096738fa1254005b3d0b93f02b93802%22%2C%22isBase%22%3Afalse%2C%22fileName%22%3A%22cli%2Fsrc%2Futil%2FFrontmatter.ts%22%7D' (+15 -0)
Trace: Creating remote URIs for cli/src/util/IssueMetaData.ts
Trace: DiffEntry -> original='copilot-pr:/cli/src/util/IssueMetaData.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%222bb58ad899b3852805d8df9d5f5d52196644de51%22%2C%22isBase%22%3Atrue%2C%22fileName%22%3A%22cli%2Fsrc%2Futil%2FIssueMetaData.ts%22%7D' modified='copilot-pr:/cli/src/util/IssueMetaData.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%22e59d6e75b096738fa1254005b3d0b93f02b93802%22%2C%22isBase%22%3Afalse%2C%22fileName%22%3A%22cli%2Fsrc%2Futil%2FIssueMetaData.ts%22%7D' (+32 -4)
Trace: Creating remote URIs for cli/tests/constructIssueMetaData.test.ts
Trace: DiffEntry -> original='copilot-pr:/cli/tests/constructIssueMetaData.test.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%222bb58ad899b3852805d8df9d5f5d52196644de51%22%2C%22isBase%22%3Atrue%2C%22fileName%22%3A%22cli%2Ftests%2FconstructIssueMetaData.test.ts%22%7D' modified='copilot-pr:/cli/tests/constructIssueMetaData.test.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%22e59d6e75b096738fa1254005b3d0b93f02b93802%22%2C%22isBase%22%3Afalse%2C%22fileName%22%3A%22cli%2Ftests%2FconstructIssueMetaData.test.ts%22%7D' (+57 -0)
Trace: Creating remote URIs for cli/tests/validatePlanContent.test.ts
Trace: DiffEntry -> original='copilot-pr:/cli/tests/validatePlanContent.test.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%222bb58ad899b3852805d8df9d5f5d52196644de51%22%2C%22isBase%22%3Atrue%2C%22fileName%22%3A%22cli%2Ftests%2FvalidatePlanContent.test.ts%22%7D' modified='copilot-pr:/cli/tests/validatePlanContent.test.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%22e59d6e75b096738fa1254005b3d0b93f02b93802%22%2C%22isBase%22%3Afalse%2C%22fileName%22%3A%22cli%2Ftests%2FvalidatePlanContent.test.ts%22%7D' (+4 -3)
Debug: [GitHubAPI] Fetch pull request by global ID PR_kwDOQFCeY86zJ5tW
Debug: [RateLimit] GraphQL rate limit remaining: 5000, query: 
		query GetPullRequestGlobal($globalId: ID!) {
			node(id: $globalId) {
				... on PullRequest {
					number
					id
					fullDatabaseId
					headRefOid
					baseRefOid
					title
					state
					url
					createdAt
					updatedAt
					additions
					deletions
					files {
						totalCount
					}
					author {
						login
					}
					repository {
						owner {
							login
						}
						name
					}
					body
				}
			}
		}

Debug: [GitHubAPI] Fetch pull request by global ID PR_kwDOQFCeY86zJ5tW
Debug: [RateLimit] GraphQL rate limit remaining: 5000, query:
query GetPullRequestGlobal($globalId: ID!) {
node(id: $globalId) {
... on PullRequest {
number
id
fullDatabaseId
headRefOid
baseRefOid
title
state
url
createdAt
updatedAt
additions
deletions
files {
totalCount
}
author {
login
}
repository {
owner {
login
}
name
}
body
}
}
}

Warning: [RateLimit] REST rate limit remaining: 0, agents/sessions/resource/pull/3005717334
Warning: [RateLimit] REST rate limit remaining: 0, agents/sessions/eed57be1-7d57-4633-b647-9e09d6bfb9fc/logs
Warning: [RateLimit] REST rate limit remaining: 0, agents/swe/v1/jobs/kieferrm/plan-tooling/session/eed57be1-7d57-4633-b647-9e09d6bfb9fc
Trace: Getting file changes for PR #23
Trace: Fetching PR files from kieferrm/plan-tooling for PR #23
Debug: [RateLimit] REST rate limit remaining: 14848, repos/kieferrm/plan-tooling/pulls/23/files
Trace: Got 4 files from API
Trace: Creating remote URIs for cli/src/util/Frontmatter.ts
Trace: DiffEntry -> original='copilot-pr:/cli/src/util/Frontmatter.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%222bb58ad899b3852805d8df9d5f5d52196644de51%22%2C%22isBase%22%3Atrue%2C%22fileName%22%3A%22cli%2Fsrc%2Futil%2FFrontmatter.ts%22%7D' modified='copilot-pr:/cli/src/util/Frontmatter.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%22e59d6e75b096738fa1254005b3d0b93f02b93802%22%2C%22isBase%22%3Afalse%2C%22fileName%22%3A%22cli%2Fsrc%2Futil%2FFrontmatter.ts%22%7D' (+15 -0)
Trace: Creating remote URIs for cli/src/util/IssueMetaData.ts
Trace: DiffEntry -> original='copilot-pr:/cli/src/util/IssueMetaData.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%222bb58ad899b3852805d8df9d5f5d52196644de51%22%2C%22isBase%22%3Atrue%2C%22fileName%22%3A%22cli%2Fsrc%2Futil%2FIssueMetaData.ts%22%7D' modified='copilot-pr:/cli/src/util/IssueMetaData.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%22e59d6e75b096738fa1254005b3d0b93f02b93802%22%2C%22isBase%22%3Afalse%2C%22fileName%22%3A%22cli%2Fsrc%2Futil%2FIssueMetaData.ts%22%7D' (+32 -4)
Trace: Creating remote URIs for cli/tests/constructIssueMetaData.test.ts
Trace: DiffEntry -> original='copilot-pr:/cli/tests/constructIssueMetaData.test.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%222bb58ad899b3852805d8df9d5f5d52196644de51%22%2C%22isBase%22%3Atrue%2C%22fileName%22%3A%22cli%2Ftests%2FconstructIssueMetaData.test.ts%22%7D' modified='copilot-pr:/cli/tests/constructIssueMetaData.test.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%22e59d6e75b096738fa1254005b3d0b93f02b93802%22%2C%22isBase%22%3Afalse%2C%22fileName%22%3A%22cli%2Ftests%2FconstructIssueMetaData.test.ts%22%7D' (+57 -0)
Trace: Creating remote URIs for cli/tests/validatePlanContent.test.ts
Trace: DiffEntry -> original='copilot-pr:/cli/tests/validatePlanContent.test.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%222bb58ad899b3852805d8df9d5f5d52196644de51%22%2C%22isBase%22%3Atrue%2C%22fileName%22%3A%22cli%2Ftests%2FvalidatePlanContent.test.ts%22%7D' modified='copilot-pr:/cli/tests/validatePlanContent.test.ts?%7B%22owner%22%3A%22kieferrm%22%2C%22repo%22%3A%22plan-tooling%22%2C%22prNumber%22%3A23%2C%22commitSha%22%3A%22e59d6e75b096738fa1254005b3d0b93f02b93802%22%2C%22isBase%22%3Afalse%2C%22fileName%22%3A%22cli%2Ftests%2FvalidatePlanContent.test.ts%22%7D' (+4 -3)
Debug: [GitHubAPI] Fetch pull request by global ID PR_kwDOQFCeY86zJ5tW
Debug: [RateLimit] GraphQL rate limit remaining: 5000, query:
query GetPullRequestGlobal($globalId: ID!) {
node(id: $globalId) {
... on PullRequest {
number
id
fullDatabaseId
headRefOid
baseRefOid
title
state
url
createdAt
updatedAt
additions
deletions
files {
totalCount
}
author {
login
}
repository {
owner {
login
}
name
}
body
}
}
}

Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
Trace: [NES][Triggerer][onDidChangeTextEditorSelection] created
Trace: [NES][Triggerer][onDidChangeTextEditorSelection] created
Trace: [NES][Triggerer][onDidChangeTextEditorSelection] created
Trace: [NES][Triggerer][onDidChangeTextEditorSelection] created
Trace: [NES][Triggerer][onDidChangeTextEditorSelection] created
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: false.
Debug: [context keys] Window state change. Needs offline check: false, active: true, focused: true.

Request IDs

System Info
Item Value
CPUs Apple M4 (10 x 2400)
GPU Status 2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 3, 3, 3
Memory (System) 32.00GB (0.58GB free)
Process Argv --enable-proposed-api lszomoru.lszomoru-proposed-api-sample --enable-proposed-api donjayamanne.kusto --crash-reporter-id ef10dfea-3602-4c74-ba1a-109ce7da7825
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
pythonvspyt551cf:31249598
nativeloc1:31118317
dwcopilot:31158714
dwoutputs:31242946
copilot_t_ci:31333650
g012b348:31231168
6gi0g917:31259950
pythonrdcb7:31268811
pythonpcpt1:31399616
6518g693:31302842
6abeh943:31336334
envsactivate1:31349248
editstats-enabled:31346256
aa_c:31379597
t1:31417262
c12345:31413568
cloudbuttont:31366566
aihoversummaries_t:31413033
todos-1:31405333
qwen_all_req:31396049
3efgi100_wstrepl:31403338
trigger-command-fix:31379601
auto_model_enabled:31396818
use-responses-api:31390341
sonnet_45_3e700918:31415506
ddidt:31398484
je187915:31401257
f1721337:31405248
afag3459:31405336
disable_auto_fix_gb0j8799:31411651
agentic_ask_h7d75428:31406124
rai-treatment:31417524
c0g8c232:31418508
copilot-nes-oct-t:31413017
metis_rerank_treatment1:31411021
ff8f5884:31411053
cmp-ext-treat:31412886
none:31413573
chatvisible:31417128
expandedtokens:31418009
inlinechat_v2_hd992725:31418437

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions