Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
94fed89
Add new chat session items on the ext host side
mjbvz Apr 9, 2026
59b1e78
Update extensions/copilot/src/extension/conversation/vscode-node/lang…
eleanorjboyd Apr 9, 2026
e13eb9b
sessions: fix "Generate New Task" no-op on existing sessions (#308883)
osortega Apr 9, 2026
baa9c85
Merge pull request #308866 from microsoft/connor4312/ah-terminals-2
connor4312 Apr 9, 2026
602bc5a
Override ts implicit project defaults explicitly
mjbvz Apr 9, 2026
1804dfd
Merge pull request #308888 from mjbvz/dev/mjbvz/petite-wolf
mjbvz Apr 9, 2026
47a6692
fix: reduce /enabled endpoint traffic and surface unexpected status c…
joshspicer Apr 9, 2026
afba0a4
track tools inside thinking (#308903)
justschen Apr 10, 2026
b38be3c
Fix Agents app group policy (#308603)
joshspicer Apr 10, 2026
0a11ecd
terminal: reduce sandbox URL false positives (#308894)
dileepyavan Apr 10, 2026
bf6ff0b
agentHost: adopt notify/sessionSummaryChanged protocol notification (…
connor4312 Apr 10, 2026
34b3b3c
Merge pull request #308898 from mjbvz/dev/mjbvz/legitimate-amphibian
mjbvz Apr 10, 2026
ccff27a
[copilot] prompt updates (#308915)
dileepyavan Apr 10, 2026
23f8300
chat: make codeblock editors simple widgets (#308896)
roblourens Apr 10, 2026
087a87f
terminal: use display command in approval actions (#308916)
dileepyavan Apr 10, 2026
7ff7930
Add marketplace deeplink for Browse buttons in customizations editor …
joshspicer Apr 10, 2026
6df6bbd
perf: Fix CKS bug and don't store full instructions contents on the C…
roblourens Apr 10, 2026
ce9a665
Add home button to customizations editor sidebar (#308919)
joshspicer Apr 10, 2026
100cbe5
Background inline summarization v1 (#308923)
bhavyaus Apr 10, 2026
c205311
editor: remove debug console.warn logs from render path (#308928)
roblourens Apr 10, 2026
1028f06
feat: apply selected option values to active chat sessions on update …
DonJayamanne Apr 10, 2026
cf92c7d
Show breakpoint widget on Alt+click in gutter (#308687)
yogeshwaran-c Apr 10, 2026
dcacca1
refactor: streamline session option group selection logic and improve…
DonJayamanne Apr 10, 2026
a4f5119
agentHost: subagents (#308592)
roblourens Apr 10, 2026
b8323ca
perf: Fix leak in rendering markdown/edits in thinking/subagent parts…
roblourens Apr 10, 2026
78e6db3
Enhance welcome view to pre-select and deduplicate selected folder (#…
DonJayamanne Apr 10, 2026
05d42a2
Fix double compaction on first-turn budget exceeded (#308949)
bhavyaus Apr 10, 2026
e9d8794
feat(CopilotCLI): support reasoning effort (#308951)
DonJayamanne Apr 10, 2026
eb62869
Background - validate upstream branch before creating the worktree (#…
lszomoru Apr 10, 2026
e8b4191
refactor(copilotcli): enhance session handling with branch name gener…
DonJayamanne Apr 10, 2026
e9aba23
refactor(copilotcli): update action descriptions and adjust plan path…
DonJayamanne Apr 10, 2026
f836075
add cpu-profile analysis skill (#308963)
jrieken Apr 10, 2026
4660585
refactor(copilotcli): move worktree properties and metadata tracking …
DonJayamanne Apr 10, 2026
8f9f550
inlineChat: adopt native ES private fields
jrieken Apr 9, 2026
c88afda
chore: update electron@39.8.7 (#308959)
deepak1556 Apr 10, 2026
2c36816
build: migrate tests from mocha to node native test runner
jrieken Apr 10, 2026
13f9010
Initial plan
Copilot Apr 10, 2026
3e4a54b
Auto-approve tool confirmations for inline chat to allow editing sens…
Copilot Apr 10, 2026
ed60c7d
Address code review: use this._logService for consistency
Copilot Apr 10, 2026
a6e4912
guard installing built in extensions in cli (#308967)
sandy081 Apr 10, 2026
8b5518b
Show combination tool approval args (#308747)
alexr00 Apr 10, 2026
59e49b4
Agents - hide toolbar when there is no workspace (#308986)
lszomoru Apr 10, 2026
8d272b2
Merge pull request #308971 from microsoft/joh/build-tests-node-runner
jrieken Apr 10, 2026
1bb4a66
Add model details on WebSocket telemetry (#298236)
chrmarti Apr 10, 2026
17c0b4f
add enable/disable ai features actions (#308988)
sandy081 Apr 10, 2026
d786cb0
fix(copilotcli): delegation to Copilot CLI (#308984)
DonJayamanne Apr 10, 2026
80c19eb
Merge pull request #308797 from microsoft/joh/private-fields-async-fix
jrieken Apr 10, 2026
6ea419c
feedback (#308993)
sandy081 Apr 10, 2026
47add6d
feat(windows): use crossAppIPC to coordinate update ownership between…
deepak1556 Apr 10, 2026
2e96f10
Tool Approval Management: the approval cannot be selected again after…
alexr00 Apr 10, 2026
8368019
inlineChat: show termination card inline in zone widget instead of mo…
jrieken Apr 10, 2026
a7c5d15
inlineChat: align zone termination card with overlay widget - markdow…
jrieken Apr 10, 2026
8c2de42
Merge origin/main and resolve conflicts in inlineChatController.ts an…
Copilot Apr 10, 2026
0e5f2c4
nes: fix: address _performFetch review comments (#309000)
ulugbekna Apr 10, 2026
061088b
inlineChat: fix scrolling in termination card - set explicit maxHeigh…
jrieken Apr 10, 2026
6d822ed
Agents - fix toolbar flickering and the completion of the first turn …
lszomoru Apr 10, 2026
b064f7b
Agents - reveal explorer view on the new sessions page (#308985)
lszomoru Apr 10, 2026
cde30eb
Resend all messages after summarization (#298236)
chrmarti Apr 10, 2026
8f98cb7
nes: implement cursor line distance check for serving from cache (#30…
ulugbekna Apr 10, 2026
60b315c
Update src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidg…
jrieken Apr 10, 2026
148cf3a
fix: remove duplicate test runs (#309015)
joaomoreno Apr 10, 2026
994a680
inlineChat: add actionRunner to termination card toolbar to focus edi…
jrieken Apr 10, 2026
5dd90d7
generalize `/init` skill to also suggest other chat customizations (#…
aeschli Apr 10, 2026
ad628cf
Remove duplicate auto-approve logic from overlay widget, keep only co…
Copilot Apr 10, 2026
bd673fa
Remove logging of unexpected approval needed in InlineChatSessionOver…
jrieken Apr 10, 2026
6d3ab98
Merge pull request #309003 from microsoft/joh/inline-chat-zone-termin…
jrieken Apr 10, 2026
54661e0
Merge pull request #308973 from microsoft/copilot/fix-vscode-ctrl-i-e…
jrieken Apr 10, 2026
504aa05
improve `/init` (#309031)
aeschli Apr 10, 2026
c179fd5
Add more correlation ids for external ingest
mjbvz Apr 10, 2026
8a98e1e
Merge pull request #309037 from microsoft/copilot/fix-test-coverage-t…
Copilot Apr 10, 2026
208d403
Merge pull request #308597 from microsoft/aashnagarg/router-candidate…
aashna Apr 10, 2026
88e21a0
handle edge cases while updating built in extensions (#308991)
sandy081 Apr 10, 2026
8f146c8
Merge pull request #308885 from microsoft/thick-rook
cwebster-99 Apr 10, 2026
58064d8
Merge pull request #309051 from mjbvz/dev/mjbvz/convincing-perch
mjbvz Apr 10, 2026
6f39ac9
Revert "feat: enable agents app for stable" (#309055)
deepak1556 Apr 10, 2026
46933de
Merge pull request #308925 from yogeshwaran-c/fix/debug-repl-copy-sou…
yogeshwaran-c Apr 10, 2026
72cfebb
Fix --prof-startup never being able to profile renderer/extension hos…
winstliu Apr 10, 2026
f5c39cb
sessions: show restore button instead of checkmark for done sessions …
osortega Apr 10, 2026
0b9b007
fixes from comments
eleanorjboyd Apr 10, 2026
aea81cc
Merge branch 'main' into just-ape
eleanorjboyd Apr 10, 2026
bb77ece
add terminal button to questions tool, detailed progress messages, hi…
meganrogge Apr 10, 2026
ec116f3
Update agent prompts to require intermediary update before analysis c…
dileepyavan Apr 10, 2026
46be515
fix agent customizations fixture (#309054)
joshspicer Apr 10, 2026
f0baeed
Add Ctrl+Alt+/ global keyboard shortcut for View → Browser (#308950)
Copilot Apr 10, 2026
b2f1ae7
sessions: use focus border for chat inputs (#309060)
hawkticehurst Apr 10, 2026
dede8c6
Background - add repository state to the metadata (#309034)
lszomoru Apr 10, 2026
bcb148a
show toolbar when locked to coding agent (#309071)
justschen Apr 10, 2026
f689309
sessions: add Cmd+/ / Ctrl+/ keybinding to open context picker (#309070)
osortega Apr 10, 2026
d1ed77a
chore: cleanup recovery extension publish pipeline (#309013)
joaomoreno Apr 10, 2026
a37ccb4
chore: run npm audit fix (#309045)
rzhao271 Apr 10, 2026
023cc9a
Add browser tool instructions to agent prompts (#309075)
kycutler Apr 10, 2026
c58d92d
add a11y hint to navigate to kb editor results (#309074)
meganrogge Apr 10, 2026
87433b2
address screen reader feedback on Agents App (#309085)
meganrogge Apr 10, 2026
4c01ed2
Stop fetching GHCR pat (#309086)
lramos15 Apr 10, 2026
7938dfe
hygiene: add check for Copilot engines.vscode version consistency (#3…
joaomoreno Apr 10, 2026
e2f2e83
Agents - switch over to using metadata for the changes view (#309091)
lszomoru Apr 10, 2026
f104e8d
use better message when questions tool skipped bc user is replying to…
meganrogge Apr 10, 2026
6cf846c
Don't remove model ref on disposal (#309093)
roblourens Apr 10, 2026
0121b3d
sessions: ellipsize sidebar session headers (#309069)
hawkticehurst Apr 10, 2026
aeca54a
feat(editTelemetry): add experiment mode to configuration for AI stat…
hediet Apr 10, 2026
a19305e
Show historical debug sessions in Agent Debug Panel (#309073)
vijayupadya Apr 10, 2026
b713893
carousel improvements: monaco scrollable + expand button (#308909)
justschen Apr 10, 2026
fad4734
Sessions: filter out Claude customization directories (#309105)
joshspicer Apr 10, 2026
0999c0e
fix: update OS display name of the agents app (#308992)
deepak1556 Apr 10, 2026
3e37192
product: rename GHE.com label to GHE (#309106)
hawkticehurst Apr 10, 2026
6e637e5
fix: AI customization welcome page - prefill active session & update …
joshspicer Apr 10, 2026
d0d0437
agents: ellipsize titlebar repo metadata first (#309117)
hawkticehurst Apr 10, 2026
c70c886
Add agent session project metadata (#309114)
roblourens Apr 10, 2026
865a331
Add agent network filter policy settings (#308434)
dmitrivMS Apr 10, 2026
46fe42c
Remove usage of hooks for any operations and use tool call handling i…
TylerLeonhardt Apr 10, 2026
01667d8
vscode onboarding (#307262)
eli-w-king Apr 10, 2026
8c15ca4
Move IRequestLogger into common (#309121)
TylerLeonhardt Apr 11, 2026
4fa2ff4
Reduce amount of BASE64 added to requests by replacing images with pl…
dmitrivMS Apr 11, 2026
54da13b
Move request logging over to dispatch (#309131)
TylerLeonhardt Apr 11, 2026
e5df593
show working progress for when confirmation carousel is active (#309144)
justschen Apr 11, 2026
63f7113
Copilot - some cleanup in the git service (#309148)
lszomoru Apr 11, 2026
eb4777b
Agents - only show the Changes view when there are changes (#309152)
lszomoru Apr 11, 2026
0284705
Agents - fix isolation/branch picker regression (#309153)
lszomoru Apr 11, 2026
a704f86
Revert "Sessions - do not use `-A` so that we can better handle git r…
lszomoru Apr 11, 2026
f69bfc0
Update distro commit (main) (#309198)
vs-code-engineering[bot] Apr 11, 2026
48409a5
fix build (#309224)
joaomoreno Apr 11, 2026
41837b4
Fix agent host session working directories
roblourens Apr 12, 2026
833de9a
Support multi-agent agent host session types
roblourens Apr 12, 2026
bcaee38
Address Copilot review feedback
roblourens Apr 12, 2026
d0ec91c
Address agent host session type review feedback
roblourens Apr 12, 2026
d37d08c
Show automatic unsandbox retries in the chat terminal UI (#308655)
dileepyavan Apr 12, 2026
0c9f13b
Add advanced terminal sandbox runtime config setting (#309123)
dileepyavan Apr 12, 2026
0c1e100
Chat - add null checks for editingSession across await boundaries (#3…
roblourens Apr 12, 2026
3913b50
Update @github/copilot to version 1.0.24 in package.json and package-…
DonJayamanne Apr 12, 2026
91c7ec5
fix: unskip chat tests (#309228)
joaomoreno Apr 12, 2026
9f939a5
Heap skill: ignore prior investigations (#309291)
roblourens Apr 12, 2026
10366b6
Merge pull request #309237 from microsoft/roblou/agent-host-session-cwd
roblourens Apr 12, 2026
89f6610
Merge remote-tracking branch 'origin/main' into roblou/agent-host-ses…
roblourens Apr 12, 2026
f0ed216
feat: support building the built-in copilot extension for local build…
joaomoreno Apr 12, 2026
e764858
Fix onboarding showing for existing users and sanity test failures (#…
joshspicer Apr 12, 2026
1926222
Agents - switch back to using repository state in the session tracker…
lszomoru Apr 12, 2026
c1557f1
fix
roblourens Apr 12, 2026
c20ad3c
revert
roblourens Apr 12, 2026
b252db9
Merge pull request #309238 from microsoft/roblou/agent-host-session-t…
roblourens Apr 12, 2026
049aa87
Agents - add logging for toolbar context keys (#309312)
lszomoru Apr 12, 2026
78e3397
Sanitize network errors
chrmarti Apr 12, 2026
c06d1bc
update exp markers
eleanorjboyd Apr 12, 2026
b9a4af4
Merge branch 'main' into just-ape
eleanorjboyd Apr 13, 2026
60f3e83
chat: queue/steer falls back to normal send when idle (#309324)
roblourens Apr 13, 2026
b727322
Merge pull request #308882 from eleanorjboyd/just-ape
eleanorjboyd Apr 13, 2026
a75ae92
Sessions test on property (#309218)
osortega Apr 13, 2026
1bf8b2d
chat: fix body tag leaking into rendered markdown when content ends w…
roblourens Apr 13, 2026
40d0573
chat: handle invalid URIs in extractCodeblockUrisFromText (#309308)
roblourens Apr 13, 2026
1dfb3b9
feat(copilotcli): enhance session option group handling with locking …
DonJayamanne Apr 13, 2026
a1ea10a
remove action from stable (#309396)
sandy081 Apr 13, 2026
a92db96
[cherry-pick] inlineChat: fix model picker overflow when selecting Auto
vs-code-engineering[bot] Apr 13, 2026
bac2e37
Merge pull request #309470 from microsoft/cherry-pick/309427
jrieken Apr 13, 2026
7bf2e7f
[cherry-pick] nes: show thumbsdown icon for previously rejected NES i…
vs-code-engineering[bot] Apr 13, 2026
ece8fd0
Deprecate `chat.tools.terminal.backgroundNotifications` — always send…
meganrogge Apr 13, 2026
4054a0f
Fix focus keybindings in sessions window (#309569)
meganrogge Apr 13, 2026
c2207c7
Fix crash from nulled _session in ChatModel.dispose() (#309574)
roblourens Apr 13, 2026
c39ed57
[cherry-pick] nes: always check if cursor is still in edit window of …
vs-code-engineering[bot] Apr 13, 2026
6ee66a5
Revise onboarding sign-in step button hierarchy
eli-w-king Apr 13, 2026
fe6389f
Log distinct telemetry action for 'Continue without Signing In'
eli-w-king Apr 13, 2026
91596ec
fixed continue without signing in button spacing
eli-w-king Apr 13, 2026
2316351
onboarding: fix focus visibility, button hierarchy, and theme label s…
eli-w-king Apr 13, 2026
fa664cb
onboarding: theme card tabbability, focus/selected distinction, HC su…
eli-w-king Apr 13, 2026
1f1c10d
Merge pull request #309628 from microsoft/eli/exp-ob-revised-release
eli-w-king Apr 13, 2026
19bf430
[cherry-pick] Fix missing reasoningEffort telemetry for Claude models…
vs-code-engineering[bot] Apr 13, 2026
ddd070f
Add telemetry to investigate exceeding token limit (#298236)
chrmarti Apr 13, 2026
cd7725e
[cherry-pick] Disable cache breakpoints in foreground summarization r…
vs-code-engineering[bot] Apr 13, 2026
5272631
[cherry-pick] Remove page.route handler that breaks loading complex p…
vs-code-engineering[bot] Apr 13, 2026
61c3ce7
[cherry-pick] Don't show onboarding on web
vs-code-engineering[bot] Apr 13, 2026
8fd3d76
[cherry-pick] Update rate limit message (#309657)
vs-code-engineering[bot] Apr 13, 2026
26a295e
Merge pull request #309670 from microsoft/cherry-pick/309658
cwebster-99 Apr 14, 2026
0f7cbbd
[cherry-pick] AI Customization UX fixes batch (#309304) (#309704)
vs-code-engineering[bot] Apr 14, 2026
54b69d6
[cherry-pick] Stop sending top_p to Anthropic Messages API (#309719)
vs-code-engineering[bot] Apr 14, 2026
68e835e
[cherry-pick] Explicitly set display: summarized (#309721)
vs-code-engineering[bot] Apr 14, 2026
579d4f1
Manually add licenses requested by OSS tool (#309754)
alexr00 Apr 14, 2026
ae13001
NES: enable trigger on active editor change by default (#309489) (#30…
ulugbekna Apr 14, 2026
c6051d7
Skip effort picker when only one reasoning effort level exists (#309934)
bhavyaus Apr 14, 2026
73bf4de
Skip redundant `send_to_terminal` confirmation when replying to `askQ…
meganrogge Apr 14, 2026
136206c
Add policy for agent sandbox setting (#309981)
dileepyavan Apr 14, 2026
560a9db
add enumDescriptions to ChatAgentSandboxEnabled (#310026)
joshspicer Apr 15, 2026
210358b
Update Copilot dependencies to version 1.0.28 (#310361)
DonJayamanne Apr 16, 2026
f89829d
Update Copilot version (#310652)
alexr00 Apr 16, 2026
8874c74
[cherry-pick] Handle showing weekly and session rate limit data (#310…
vs-code-engineering[bot] Apr 17, 2026
8ff9a84
Update Copilot version (#310942)
alexr00 Apr 17, 2026
1e701bf
chore: Adapt rebase rule for server-main.ts to upstream changes
RomanNikitenko Apr 18, 2026
ca3e0ef
chore: Adapt rebase rule for src/vs/platform/product/common/product.t…
RomanNikitenko Apr 18, 2026
0fd25a1
chore: Adapt rebase rule for extensionGalleryService.ts to upstream c…
RomanNikitenko Apr 18, 2026
31fa0b4
chore: Adapt rebase rule for extensionManagementService.ts to upstrea…
RomanNikitenko Apr 18, 2026
f357f51
chore: Adapt rebase logic for browserSocketFactory.ts
RomanNikitenko Apr 18, 2026
9a675bb
chore: Adapt rebase rule for workbench.html to upstream changes
RomanNikitenko Apr 18, 2026
4787464
chore: Adapt rebase rule for workbench.ts to upstream changes
RomanNikitenko Apr 18, 2026
d43fedb
chore: Adapt rebase rule for webClientServer.ts to upstream changes
RomanNikitenko Apr 18, 2026
18a1ffc
chore: Keep previous and current version of alignment with upstream
RomanNikitenko Apr 18, 2026
8012ebb
Add 'fix-rebase-rules' skill
RomanNikitenko Apr 18, 2026
470df60
Add 'validate-rebase-rules' skill
RomanNikitenko Apr 8, 2026
2eb2a01
Improve skills
RomanNikitenko Apr 18, 2026
d9e59ea
chore: Adapt rebase rule for titlebarPart.ts to upstream changes
RomanNikitenko Apr 18, 2026
f1b3579
chore: Adapt rebase rule for web.main.ts to upstream changes
RomanNikitenko Apr 18, 2026
cbc0860
chore: Adapt rebase rule for remote.ts to upstream changes
RomanNikitenko Apr 18, 2026
34ff52c
chore: Adapt rebase rule for extensions.contribution.ts to upstream c…
RomanNikitenko Apr 18, 2026
f86adf6
chore: Adapt rebase rule for ssh-askpass.sh to upstream changes
RomanNikitenko Apr 18, 2026
5d7e415
chore: Improve rebase.sh script logic
RomanNikitenko Apr 18, 2026
c7e573c
Add 'test-rebase-rules' skill
RomanNikitenko Apr 21, 2026
d935655
chore: Adapt rebase rule for product.json to upstream changes
RomanNikitenko Apr 21, 2026
e1596cb
chore: code/build/lib/mangle/index.js was removed in upstream
RomanNikitenko Apr 21, 2026
c516f8e
chore: Adapt rebase rule for gulpfile.reh.ts to upstream changes
RomanNikitenko Apr 21, 2026
f246f39
chore: Adapt rebase rule for extensionsWorkbenchService.ts to upstrea…
RomanNikitenko Apr 21, 2026
5e07f0e
chore: Adapt remoteExtensionHostAgentServer.ts to upstream changes
RomanNikitenko Apr 21, 2026
646e0df
chore: Simplify logic related to the code/build/lib/mangle/index.ts
RomanNikitenko Apr 21, 2026
da02a00
chore: Create rebase rule for extensions/github-authentication/packag…
RomanNikitenko Apr 21, 2026
cd28fdb
chore: Use scripts for testing rebase rules
RomanNikitenko Apr 21, 2026
4aec3d1
chore: Improve rebase rule for extensions/notebook-renderers/package.…
RomanNikitenko Apr 21, 2026
efd4d04
chore: Improve rebase rule for workbench.contribution.ts
RomanNikitenko Apr 21, 2026
608cfdd
chore: Improve rebase rule for remoteTerminalChannel.ts
RomanNikitenko Apr 21, 2026
6ee18f6
chore: Remove redundant line
RomanNikitenko Apr 21, 2026
6dfca71
chore: Improve 'test-rebase-rules' skill'
RomanNikitenko Apr 21, 2026
1df8686
chore: Use 1.116 version for the rebase
RomanNikitenko Apr 22, 2026
cfb079e
chore: Add rebase skill to automate rebase process
RomanNikitenko Apr 22, 2026
4a2738c
chore: Create rebase rule for terminalInstance.ts
RomanNikitenko Apr 22, 2026
4e1e62e
chore: Fix rebase rule for code/remote/package.json
RomanNikitenko Apr 22, 2026
c2478a0
chore: Fix pre-rebase.sh script
RomanNikitenko Apr 22, 2026
da03122
chore: Improve rebase skill
RomanNikitenko Apr 22, 2026
5d8a455
chore: Align colorize-results/test_cs.json with upstream
RomanNikitenko Apr 22, 2026
18dcc57
chore: Align test_cshtml.json with upstream
RomanNikitenko Apr 22, 2026
7134a4e
chore: Update rebase rules and handlers for upstream release/1.116
RomanNikitenko Apr 22, 2026
eaf2912
chore: Remove temporary validation report
RomanNikitenko Apr 22, 2026
e5c0c64
fix: Use apply_changes_multi_line for all conflicted file handlers
RomanNikitenko Apr 22, 2026
e748d60
chore: Improve skills
RomanNikitenko Apr 22, 2026
92c3e77
chore: Update rebase rule for code/package.json
RomanNikitenko Apr 22, 2026
1e7f0f7
Rebase against the upstream 8ff9a84c4a9cd0b694aee8f374aa531f7a9d0d08
RomanNikitenko Apr 22, 2026
041f3d7
chore: Improve skill files
RomanNikitenko Apr 22, 2026
7267626
chore: Improve skills
RomanNikitenko Apr 22, 2026
d5da905
chore: Adapt rebase rules to upstream changes
RomanNikitenko Apr 23, 2026
a403072
chore: Apply updated rebase rules
RomanNikitenko Apr 23, 2026
728c00f
chore: Update artifacts.lock.yaml
RomanNikitenko Apr 23, 2026
fbc10bc
chore: Adapt serverServices.ts to upstream changes
RomanNikitenko Apr 23, 2026
e4ab112
chore: Adapt devWorkspaceAssistant.ts to upstream changes
RomanNikitenko Apr 23, 2026
8ca4f58
chore: Update rebase rules
RomanNikitenko Apr 23, 2026
cd129f4
chore: Adapt rebase.sh to rebase rules changes
RomanNikitenko Apr 23, 2026
82ec899
chore: Improve skill
RomanNikitenko Apr 23, 2026
bebc5e8
chore: Fix extensionManagement.ts rebase rule
RomanNikitenko Apr 23, 2026
064ac7d
chore: Update Node.js version
RomanNikitenko Apr 23, 2026
8065ea4
Merge remote-tracking branch 'eclipse/main' into alignment-with-upstr…
RomanNikitenko Apr 23, 2026
fbd1ee0
chore: Revert changes related to redhat.devspaces-copilot-chat-integr…
RomanNikitenko Apr 23, 2026
4ac83cc
fix: Fix che-code build
RomanNikitenko Apr 23, 2026
e2aa458
Fix compilation errors
RomanNikitenko Apr 23, 2026
213ff3b
fix: Migrate Che extensions to esbuild packaging
RomanNikitenko Apr 23, 2026
89f4550
Merge remote-tracking branch 'fork/main' into test-pr
RomanNikitenko Apr 23, 2026
ec22906
fix: Add skipLibCheck to Che extension tsconfigs
RomanNikitenko Apr 23, 2026
593048a
fix
RomanNikitenko Apr 23, 2026
6d385b5
test
RomanNikitenko Apr 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
42 changes: 41 additions & 1 deletion .claude/skills/add-rebase-rules/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,39 @@ Important:
- File path: `.rebase/replace/<original-path>.json`
- Format: JSON array of objects with `from` and `by`.
- Add one rule per changed hunk, using stable and unique snippets.
- Prefer the smallest safe snippet that is unlikely to change accidentally.
- **Ensure `from` appears exactly once in the upstream file.** Both sed and perl handlers replace **all** occurrences — if `from` matches multiple places, all will be replaced, which is almost always wrong. Extend the snippet with more surrounding context to make it unique.
- Prefer the smallest safe snippet that is unlikely to change accidentally, but large enough to be unique in the file.
- If replacement is multiline, encode using escaped newlines/tabs in JSON consistently with existing files.
- For multiline `from` snippets, start at the first non-whitespace token (avoid anchoring on leading indentation only).
- Prefer replacing the whole logical block (`if (...) { ... }`) rather than only an inner line fragment, so closing braces remain structurally correct.
- **Encode special characters correctly** for the handler used in `rebase.sh`. See the encoding tables below.

### Sed encoding (`apply_changes`)

Values go through: JSON parse → `jq -r` → `escape_litteral` → sed.

| Character in target | `from` encoding | `by` encoding |
|---------------------|----------------|---------------|
| Newline | `\\\n` | `\\\n` |
| Tab | `\\\t` | `\\\t` |
| `&` | literal | `\\&` |
| `*` | `\\*` | literal |
| `$`, `[`, `]` | literal (`escape_litteral` handles) | literal |
| `"` | `\\\"` | `\\\"` |

**Common pitfall — `&` in sed `by` values:** In sed replacement strings, `&` means "the entire matched text". Writing `&&` in a `by` value produces the matched `from` text repeated twice instead of a literal `&&`. Always escape as `\\&\\&`. This applies to any `&` in `by`, not just `&&`.

### Perl encoding (`apply_changes_multi_line` / `apply_multi_line_replace`)

Values go through: JSON parse → `jq -r` → env var → perl `\Q\E` (from) / literal (by).

| Character in target | `from` encoding | `by` encoding |
|---------------------|----------------|---------------|
| Newline | `\n` | `\n` |
| Tab | `\t` | `\t` |
| Any special char | literal | literal |

**Prefer multiline (perl) for new rules** — simpler encoding, handles all cases, no `&` pitfall.

5. Update `rebase.sh` conflict routing
- Ensure each file that now has a new rebasing rule is routable in `resolve_conflicts`.
Expand Down Expand Up @@ -89,13 +118,24 @@ Important:
- For each changed `.rebase/replace/**/*.json`, verify every `from` exists in the upstream file content before finishing.
- Example: `git show <upstream-ref>:<path-without-code-prefix>` and compare with the `from` snippet.
- `path-without-code-prefix` means the same file path but without the leading `code/` (because `upstream-code` stores VS Code sources at repo root).
- Verify each `from` appears **exactly once** in the upstream file. If it matches multiple times, the rule will silently replace all of them. Extend the `from` snippet with more context until it is unique.
- Dry-run the generated rule using the same replacement path as `rebase.sh` (Perl-based multiline replace), not a language-native `.replace(...)`.
- Include at least one test case where `from`/`by` contains `$` (for example template literals like `${key}`) and confirm replacement still succeeds.
- Re-check exclusions:
- no rules for `code/extensions/che-*`
- no rules for `package-lock.json`
- Ensure every changed rule file is actually referenced by logic in `rebase.sh` when required.

8. Verify completeness — no uncovered Che-specific changes
- For each file that was updated or created in `.rebase/replace/`, simulate the **full** rule application:
1. Start with the upstream file at `CURRENT_UPSTREAM_VERSION`.
2. Apply **all** rule entries from the JSON (not just the newly added ones) plus any custom inline replacements from `rebase.sh`.
3. Diff the result against the che-code working tree file.
- If the diff is empty → all Che changes are covered. Good.
- If there is a remaining diff → there are Che-specific changes in the working tree that are **not covered** by any rule. These changes would be silently lost during rebase.
- If the uncovered changes are from the same commit being processed, add additional rule entries for them.
- If the uncovered changes are pre-existing (from earlier commits), report them to the user as a warning: "Pre-existing Che-specific changes at lines X-Y have no rebase rule and would be lost during rebase."

## Decision notes

- Goal is to protect Che-specific behavior during upstream subtree rebases while keeping deltas in upstream files minimal.
Expand Down
Loading