Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3917 commits
Select commit Hold shift + click to select a range
f0b848b
Sessions - prefer upstream for the base branch when present (#4821)
lszomoru Mar 30, 2026
a4667f0
copilot: add diagnostics step before extension tests
joaomoreno Mar 30, 2026
526012e
chore: skip nuget MCP tests until less flaky (#4822)
ulugbekna Mar 30, 2026
076449a
Bump brace-expansion from 1.1.12 to 1.1.13 (#4786)
dependabot[bot] Mar 30, 2026
c33e376
Allow invoking simulationMain with alternative action input (#4304)
federicobrancasi Mar 30, 2026
6b322f7
Sessions - limit when we show the discard changes action (#4825)
lszomoru Mar 30, 2026
ea0b874
Add new CAPI standard header for assignment context (#4810)
jul-stevenson Mar 30, 2026
2bcabdb
copilot: add git lfs pull before integration tests
joaomoreno Mar 30, 2026
d2db6e9
Use selected model when starting Copilot coding agent task (#4820)
timrogers Mar 30, 2026
c99d90f
copilot: run git lfs install before git lfs pull
joaomoreno Mar 30, 2026
7dbeca8
Bump the all group across 1 directory with 4 updates (#2660)
dependabot[bot] Mar 30, 2026
c7895a7
copilot: streamline Git LFS setup and compilation steps in CI pipeline
joaomoreno Mar 30, 2026
ad31f89
Background - include repositoryPath for folder sessions (#4829)
lszomoru Mar 30, 2026
755f5b2
Set version to 1.0.0 for built-in packaging
joaomoreno Mar 30, 2026
886699f
Stamp Copilot version from VS Code version during build
joaomoreno Mar 30, 2026
01128b9
Clean up conversation store entries when chat sessions are disposed (…
roblourens Mar 30, 2026
26a22fb
Move Copilot version-setting step earlier in pipeline
joaomoreno Mar 30, 2026
4bc953b
fix (#4830)
pwang347 Mar 30, 2026
e639466
Sessions - adopt new context key (#4833)
lszomoru Mar 30, 2026
a388fa5
Copilot CLI Controller API (#4828)
DonJayamanne Mar 30, 2026
cef5add
add prompting for HiddenFamilyH (#4832)
eleanorjboyd Mar 30, 2026
b21bae9
Clear workspace changes before retrieving modified files in FolderRep…
DonJayamanne Mar 30, 2026
a7070d8
Disable Claude co-attribution in commits/PRs (#4788)
Copilot Mar 30, 2026
3c2eb6a
Use one WebSocket per conversation (#4827)
chrmarti Mar 30, 2026
c9107a2
Agent Debug: max session logs to retain (#4835)
vijayupadya Mar 30, 2026
86d6410
Fix whitespace-only text block from orphaned CacheBreakpoint (#4839)
bhavyaus Mar 30, 2026
548eda2
Add workspace metadata (git branch, commit, remote, file path) to OTe…
zhichli Mar 30, 2026
86baf1b
Update github copilot npm package (#4809)
DonJayamanne Mar 30, 2026
9b40332
Fix toolTokens over-counting when Anthropic Tool Search is enabled (#…
bhavyaus Mar 31, 2026
9016244
Copilot CLI: Fix nested sub agent calls (#4851)
DonJayamanne Mar 31, 2026
5d200c0
Remove unused session tracking methods and related calls in CopilotCL…
DonJayamanne Mar 31, 2026
408faf1
Copilot CLI: Remove CopilotCLISessionOptions (#4853)
DonJayamanne Mar 31, 2026
5504188
Copilot CLI: Use type-only imports from '@github/copilot/sdk' (#4852)
DonJayamanne Mar 31, 2026
a2c969e
Copilot CLI: Use new API to get session metadata (#4848)
DonJayamanne Mar 31, 2026
f03b51c
feat(otel): add telemetry for OTel feature adoption tracking (#4850)
zhichli Mar 31, 2026
ea38027
Enhance Copilot CLI session handling with performance logging and imp…
DonJayamanne Mar 31, 2026
ac23c84
Background - store repository folder information for workspace sessio…
lszomoru Mar 31, 2026
25813b3
Revert "Move Copilot version-setting step earlier in pipeline"
joaomoreno Mar 31, 2026
ea24dde
Revert "Stamp Copilot version from VS Code version during build"
joaomoreno Mar 31, 2026
8891052
set copilot version
joaomoreno Mar 31, 2026
d7a0076
Use built VS Code for completions-core tests when VSCODE_UNDER_TEST i…
joaomoreno Mar 31, 2026
f4ed791
Pass VSCODE_UNDER_TEST to completions-core tests in CI
joaomoreno Mar 31, 2026
8cfaffc
always build, no compile
joaomoreno Mar 31, 2026
3131cf9
Update Changelog.mdto link to main release notes (#4859)
ntrogh Mar 31, 2026
8889b65
Sessions - discard changes action should only be shown if there is a …
lszomoru Mar 31, 2026
bfc7d31
refactor(CopilotCLI): streamline chat history retrieval and clean up …
DonJayamanne Mar 31, 2026
531a11c
Merge remote-tracking branch 'origin/main' into joao/copilot-builtin
joaomoreno Mar 31, 2026
5a804de
nes: feat: tweak cursor placement - before/after-line for xtab call a…
ulugbekna Mar 31, 2026
02a9e3d
always setup copilot test env
joaomoreno Mar 31, 2026
712abd3
Add scripts to compute Copilot Chat version and update recovery pipeline
joaomoreno Mar 31, 2026
778b040
Refactor pipeline steps to replace 'build' with 'compile' and adjust …
joaomoreno Mar 31, 2026
143b631
Enable auto-update for built-in extensions
sandy081 Mar 31, 2026
6d11e94
fix: set copilot_buildType to 'dev' in GitHub telemetry sender
joaomoreno Mar 31, 2026
dfa1367
Update subproject commit for Copilot extension
joaomoreno Mar 31, 2026
1a21038
nes: logs: include filter names when filtered (#4863)
ulugbekna Mar 31, 2026
d56bcf1
Background - maintain repository path for folder session (#4862)
lszomoru Mar 31, 2026
c752cd8
Fix compilation errors in tests
sandy081 Mar 31, 2026
61fb7f1
Fix compilation errors in tests
sandy081 Mar 31, 2026
8f01c15
Sessions - add init repository action (#4861)
lszomoru Mar 31, 2026
6b0dcd1
fix the build
joaomoreno Mar 31, 2026
a001f0e
fix: update copilot submodule and test steps
joaomoreno Mar 31, 2026
db0ea88
skip some tests
joaomoreno Mar 31, 2026
b92bbb8
skip self signed cert test
joaomoreno Mar 31, 2026
409de81
revert engine
joaomoreno Mar 31, 2026
349af05
bump
joaomoreno Mar 31, 2026
d1b7080
fix tests
sandy081 Mar 31, 2026
7f9fbf4
use workingDirectory
joaomoreno Mar 31, 2026
8309a02
more fixes
joaomoreno Mar 31, 2026
9a736f9
Make sure we still enable code search when only external ingest is av…
mjbvz Mar 31, 2026
60bb41a
Merge commit 'fc23f2d26631c6a2c4bf9f69506ea74c90a32804' into joao/cop…
joaomoreno Mar 31, 2026
5e0b8f6
Add internal reasoning effort settings for evals (#4875)
bhavyaus Mar 31, 2026
3493b3d
Remove redundant quick pick titles from memory commands (#4877)
bhavyaus Mar 31, 2026
43bf175
fix tests
joaomoreno Mar 31, 2026
464d963
refactor: update session options to use consistent naming and structu…
DonJayamanne Mar 31, 2026
d2d017c
fix - update launch configuration for `Agents OSS` (#4880)
bpasero Mar 31, 2026
6d37f8d
feat: add session controller configuration for Sessions App (#4876)
DonJayamanne Mar 31, 2026
272e9b9
Make vscode_renameSymbol and vscode_listCodeUsages non-deferred (#4882)
bhavyaus Mar 31, 2026
c57002b
Background - fix another issue with tracking the repository path for …
lszomoru Mar 31, 2026
f12bc85
clean up unused chat replay feature (#4879)
amunger Mar 31, 2026
1871c35
[Revert] Including previous responseId for all the requests when com…
dileepyavan Mar 31, 2026
0201d5f
sessions: implement chatSessionCustomizationProvider for Claude and C…
joshspicer Mar 31, 2026
adb8b86
Add reasoning effort level support for BYOK Anthropic models (#4886)
bhavyaus Apr 1, 2026
021a997
Agent Debug: Add configurable max session log size setting for debug …
vijayupadya Apr 1, 2026
5bdaeff
Troubleshooting: Enrich chat debug JSONL logs (#4887)
vijayupadya Apr 1, 2026
1985e31
feat: enhance Copilot CLI session management with system message supp…
DonJayamanne Apr 1, 2026
4afb2e5
comment out completions core tests in integration steps
joaomoreno Apr 1, 2026
f74070d
nes: pipeline: add e2e tests (#4895)
ulugbekna Apr 1, 2026
49edcb8
enable extension instead of installing
bpasero Apr 1, 2026
06990ff
nes: fix: check edit window when reusing in-flight requests (#4896)
ulugbekna Apr 1, 2026
62368b6
nes: refactor: slim down doGetNextEditWithSelection (#4897)
ulugbekna Apr 1, 2026
d883f22
nes: patch: omit edit if target document can't be resolved AND some r…
ulugbekna Apr 1, 2026
3bb72ce
chat - track setup completion state (#307070)
bpasero Apr 1, 2026
9479468
feat: implement branch name generation for worktree creation in Copil…
DonJayamanne Apr 1, 2026
fb2a59f
disable some commands based on setup complet
bpasero Apr 1, 2026
5c61a50
update submodule
bpasero Apr 1, 2026
17a84de
update package-lock.json
joaomoreno Apr 1, 2026
b69740b
bump copilot
joaomoreno Apr 1, 2026
5ffe0f4
try this
joaomoreno Apr 1, 2026
71b700f
try to run tests on windows
joaomoreno Apr 1, 2026
2fab277
fix #306249 (#4900)
isidorn Apr 1, 2026
daf4fc1
feat: implement multi-root folder support with additional workspace h…
DonJayamanne Apr 1, 2026
8a650e2
Add conversationId to getRouterDecision (#4813)
luabud Apr 1, 2026
5695cff
feat: refactor controller selection logic for CLI session handling (#…
DonJayamanne Apr 1, 2026
dfa8a7a
fix copilot tests in windows CI
joaomoreno Apr 1, 2026
b44c07f
bump copilot
joaomoreno Apr 1, 2026
04bfa1e
nes: log aggressiveness related telemetry for all NES events (#4905)
ulugbekna Apr 1, 2026
3b405f6
Bump VS Code engine (#4902)
alexr00 Apr 1, 2026
ae96354
disable some commands based on setup complet (#4906)
bpasero Apr 1, 2026
473357e
Cache-friendly summarization prompt for Anthropic prompt cache hits (…
bhavyaus Apr 1, 2026
252289a
Rename customization context keys in when-clauses (#4907)
joshspicer Apr 1, 2026
a6edcd4
Completely disable loading copilot chat (stable OR prerelease) from u…
sandy081 Mar 31, 2026
aa0db96
Rename to builtInExtensionsEnabledWithAutoUpdates, add NOT_APPLICABLE…
sandy081 Apr 1, 2026
3bebd9c
Background - store workspace changes per session so that we can have …
lszomoru Apr 1, 2026
ccbd27e
feat: implement worktree cleanup and recreation on session archive st…
osortega Apr 1, 2026
1be02c4
Cache-friendly summarization: bake transcript hint into summary text …
bhavyaus Apr 1, 2026
b72de05
chore: bump @vscode/test-web and fix path-to-regexp / brace-expansion…
Copilot Apr 1, 2026
8f0feb5
sessions: add PR detection debug logging to new copilotCLIChatSession…
osortega Apr 1, 2026
9bba888
Improve manual build index error message for external ingest (#4923)
mjbvz Apr 1, 2026
ee913ec
Add skillContentRead telemetry event for skill provenance tracking (#…
AbhitejJohn Apr 1, 2026
f6e4a32
Make create_file run in a single batch (#4920)
roblourens Apr 1, 2026
9781ffa
Background - better detection for workspace session base branch (#4924)
lszomoru Apr 1, 2026
a7af848
Update command handling in Copilot CLI with corresponding description…
DonJayamanne Apr 2, 2026
7327fd8
Revert "chore: bump @vscode/test-web and fix path-to-regexp / brace-e…
rzhao271 Apr 2, 2026
8a8016c
feat: add updateArtifacts method to handle exit plan mode requests (#…
DonJayamanne Apr 2, 2026
d85e24d
Agent Debug logging: detect mode changes, fix tools timing, add tool……
vijayupadya Apr 2, 2026
96cd6ef
Rework status reporting for codebase index (#4935)
mjbvz Apr 2, 2026
518d26d
fix: Handle built-in extensions with auto updates enabled that ship w…
joaomoreno Apr 2, 2026
66ee721
Sessions - scaffold the new actions (#4934)
lszomoru Apr 2, 2026
5f66ebe
feat: patch copilot chat build
joaomoreno Apr 2, 2026
ee6b763
Merge remote-tracking branch 'origin/main' into joao/copilot-builtin
joaomoreno Apr 2, 2026
28e0962
bump copilot
joaomoreno Apr 2, 2026
db86202
fix esm
joaomoreno Apr 2, 2026
e7414a8
rename
sandy081 Apr 2, 2026
300baac
remove engines set
joaomoreno Apr 2, 2026
dc3fa7b
confirm
joaomoreno Apr 2, 2026
237b8a1
allow installing copilot chat extension via install
sandy081 Apr 2, 2026
110391e
details
joaomoreno Apr 2, 2026
b66470e
more warnings
joaomoreno Apr 2, 2026
e7c33b0
phrasing
joaomoreno Apr 2, 2026
f871cdc
confirm pipeline
joaomoreno Apr 2, 2026
ca4899c
fix package-lock.json
joaomoreno Apr 2, 2026
b04590d
add metadata
joaomoreno Apr 2, 2026
290299b
update copilot
joaomoreno Apr 2, 2026
9aec56b
fix upating builtin extensions
sandy081 Apr 2, 2026
6c7a2af
Bump lodash from 4.17.23 to 4.18.1 (#4936)
dependabot[bot] Apr 2, 2026
df87283
Bump @anthropic-ai/sdk from 0.80.0 to 0.81.0 in /chat-lib (#4915)
dependabot[bot] Apr 2, 2026
5e761be
Bump @anthropic-ai/sdk from 0.80.0 to 0.81.0 (#4917)
dependabot[bot] Apr 2, 2026
e90e20a
Sessions - update context keys (#4939)
lszomoru Apr 2, 2026
302255a
update copilot-api and send `event_content` (#4928)
joshspicer Apr 2, 2026
af10ff5
Make optimized Anthropic prompts the defaults for Claude 4.6 (#4941)
bhavyaus Apr 2, 2026
945c0c6
Move docs/prompts.md to .github/instructions/model-prompts.instructio…
bhavyaus Apr 2, 2026
cc6289e
improve ChatSessionCustomizationProvider implementation (#4925)
joshspicer Apr 2, 2026
629a559
Add a new fetchedValue concept (#4943)
lramos15 Apr 2, 2026
708469c
Aligning more terms for new codebase index (#4948)
mjbvz Apr 2, 2026
68e9282
add `isSystemInitiated` and relevant changes (#4944)
meganrogge Apr 3, 2026
9eb0453
Add `githubMcpServer.channel` setting for MCP Insiders mode (#4946)
digitarald Apr 3, 2026
fcf208e
Update for the model (#4951)
dileepyavan Apr 3, 2026
24aa31c
Prevent repeated foreground summarization after failure (#4953)
bhavyaus Apr 3, 2026
64fb1be
fix: merge SDK anthropic-beta headers with base endpoint betas (#4945)
bhavyaus Apr 3, 2026
933c4e6
edits: exp setup for improvements to multi sr (#4949)
connor4312 Apr 3, 2026
d053235
Address some PR comments from #4943 (#4959)
lramos15 Apr 3, 2026
8700f69
Bump electron from 37.8.0 to 39.8.4 (#4955)
dependabot[bot] Apr 3, 2026
a205ce0
Sessions - provide additional context for the merge skill (#4960)
lszomoru Apr 3, 2026
c7c0fac
Inline summarization: summarize within the agent loop for maximum pro…
bhavyaus Apr 3, 2026
0842fe1
feat: wire hooks through CopilotCLI customization provider (#4952)
joshspicer Apr 3, 2026
27c5e20
Update Anthropic SDK packages (@anthropic-ai/sdk 0.81.0→0.82.0, @anth…
Copilot Apr 3, 2026
78625cc
Add explicit session type context for skills (#4950)
pwang347 Apr 3, 2026
39423a2
copilotcli: fail fast for built-in missing shims
joaomoreno Apr 3, 2026
056e7b4
build: pre-materialize copilot shims for built-in extension
joaomoreno Apr 3, 2026
74cb7ce
feat: wire plugins through CopilotCLI customization provider (#4962)
joshspicer Apr 3, 2026
8eaa8b7
Remove forceExtendedThinking experiment config (#4966)
bhavyaus Apr 3, 2026
0148f5f
fix: skip some files in universal app checks
joaomoreno Apr 3, 2026
26f5685
Revert "copilotcli: fail fast for built-in missing shims"
joaomoreno Apr 3, 2026
f6c0687
update
joaomoreno Apr 3, 2026
e515396
fix universal again
joaomoreno Apr 3, 2026
d7e6ae7
fix universal again
joaomoreno Apr 3, 2026
9f61b8b
sessions: add groupKeys and badges for instructions in CLI customizat…
joshspicer Apr 3, 2026
6b0323a
fix: add backward compat guards for hooks and plugins APIs (#4968)
joshspicer Apr 3, 2026
1fc8e16
another fix
joaomoreno Apr 3, 2026
b168793
Bump electron from 39.8.4 to 39.8.5 (#4973)
dependabot[bot] Apr 3, 2026
0f45db2
maybe
joaomoreno Apr 4, 2026
23db8d7
fix: add copilot SDK extension prebuilds and ripgrep to verify-macho …
joaomoreno Apr 4, 2026
de1b67e
Add VSC model prompt variants and refine routing (#4791)
thirteenflt Apr 5, 2026
b2845e1
Fix background summarization fallback gaps and improve summarization …
bhavyaus Apr 5, 2026
9348f39
make sure we only flush the confirmed tool call (#4967)
justschen Apr 5, 2026
cc27248
Update dependencies and improve session initialization in Copilot CLI…
DonJayamanne Apr 5, 2026
b9c8f7b
Merge remote-tracking branch 'origin/main' into joao/copilot-builtin
joaomoreno Apr 5, 2026
7a62488
bump copilot
joaomoreno Apr 5, 2026
75fea1b
Merge remote-tracking branch 'origin/main' into joao/copilot-builtin
joaomoreno Apr 5, 2026
86e9735
nes: patch: fix: don't yield malformed edits on fetch fail/cancellati…
ulugbekna Apr 5, 2026
0a42a1e
nes: fix: use speculativeRequestDelay for cached speculative results …
ulugbekna Apr 5, 2026
0a2ea25
missing package-lock.json
joaomoreno Apr 5, 2026
d1d1061
fix tests
joaomoreno Apr 5, 2026
aa17e5f
Fix: only send tool_choice when tools are present in summarization (#…
bhavyaus Apr 6, 2026
95c7297
fix: emit agent instructions (AGENTS.md, CLAUDE.md, copilot-instructi…
joshspicer Apr 6, 2026
d34d7a5
fix: discover AGENTS.md and CLAUDE.md at workspace roots (#4989)
joshspicer Apr 6, 2026
1d23f25
skip flaky test
joaomoreno Apr 6, 2026
68f93e1
Fix: strip tool_search messages from summarization to prevent tool_re…
bhavyaus Apr 6, 2026
17c81ba
Fix: count all tool tokens in budget calculation including deferred t…
bhavyaus Apr 6, 2026
92560ee
another test skip
joaomoreno Apr 6, 2026
9f64381
skip test suite
joaomoreno Apr 6, 2026
1297549
Bump version to 0.44.0 (#4991)
vs-code-engineering[bot] Apr 6, 2026
d4bb7b4
getting ready to merge
joaomoreno Apr 6, 2026
e9e7983
Updating for offline evals (#5001)
dileepyavan Apr 6, 2026
272971a
add script
joaomoreno Apr 6, 2026
f046664
maybe
joaomoreno Apr 6, 2026
b72f636
duplicate telemetry events
joaomoreno Apr 6, 2026
777e9a1
chore: bump @vscode/test-web to ^0.0.80 and run npm audit fix (#5002)
Copilot Apr 6, 2026
ee95f43
bump copilot
joaomoreno Apr 6, 2026
edd739d
Cloud Session - include base ref information (#5003)
lszomoru Apr 6, 2026
c0ce67d
Remove window active middleware for now (#5009)
lramos15 Apr 6, 2026
86db5ff
Guard reasoning effort parameter against unsupported models (#5010)
bhavyaus Apr 6, 2026
d365517
show why autopilot would continue (#5015)
justschen Apr 6, 2026
6f26f65
Sessions: PR detection fixes (#4971)
osortega Apr 6, 2026
fa07711
Agent Debug: Converge debug data with JSONL as single source of truth…
vijayupadya Apr 6, 2026
98dda86
ChatSessionCustomizationProvider testing fixes (#5005)
joshspicer Apr 6, 2026
7f0db37
Update a few more codebase/workspace strings (#5016)
mjbvz Apr 6, 2026
6451a21
Yemohyle/subagent telem (#4916)
yemohyleyemohyle Apr 7, 2026
c075c9e
add cleanup step to free disk space after build
joaomoreno Apr 7, 2026
264dadd
temporarily disable TSA
joaomoreno Apr 7, 2026
fa436ad
update script
joaomoreno Apr 7, 2026
9700aa1
Merge remote-tracking branch 'origin/main' into joao/copilot-builtin
joaomoreno Apr 7, 2026
d1316fd
update copilot
joaomoreno Apr 7, 2026
94d470d
remove copilot
joaomoreno Apr 7, 2026
6a2aa25
prepare for copilot merge
joaomoreno Apr 7, 2026
8d6a852
Initial plan
Copilot Apr 7, 2026
494066f
Fix inline chat follow-up actions by focusing owning editor before ru…
Copilot Apr 7, 2026
0c6eaf2
Revert AI stats status bar chartViewMode changes
hediet Apr 7, 2026
1a6b425
removes checked in baseline images, as they are now tracked by the sc…
hediet Apr 7, 2026
52feef4
disables zip progress logging
hediet Apr 7, 2026
bbffa6f
Update src/vs/workbench/contrib/inlineChat/browser/inlineChatOverlayW…
jrieken Apr 7, 2026
3c10f60
Session - refactor all changes/last turn changes calculation (#308188)
lszomoru Apr 7, 2026
6f671c3
Merge pull request #308183 from microsoft/copilot/fix-inline-chat-foc…
jrieken Apr 7, 2026
d4282d8
fix: agents app not closing for update on macOS (#308195)
deepak1556 Apr 7, 2026
77387b3
move sessions management service to services layer (#308189)
sandy081 Apr 7, 2026
27c0c38
actions: add WorkbenchActionBar with telemetry support
jrieken Apr 7, 2026
e2a4bce
Fail screenshot CI if fixtures with tag blocks-ci change
hediet Apr 7, 2026
7eab272
Update test/componentFixtures/blocks-ci-screenshots.md
hediet Apr 7, 2026
b4abcba
do not remove .build/node_modules_cache
joaomoreno Apr 7, 2026
90fc912
add "GitHub.copilot-chat" to builtInExtensionsEnabledWithAutoUpdates
sandy081 Apr 7, 2026
b6a5063
Merge remote-tracking branch 'copilot/joao/copilot-builtin' into joao…
joaomoreno Apr 7, 2026
21454c2
more cleanup
joaomoreno Apr 7, 2026
d1094dc
agents fixes (#308220)
sandy081 Apr 7, 2026
e80adf2
Merge pull request #308215 from microsoft/joh/workbench-actionbar-tel…
jrieken Apr 7, 2026
3bb4cc1
Merge pull request #302778 from microsoft/joao/copilot-builtin
joaomoreno Apr 7, 2026
5aa170f
Sessions - add support for all changes/last turn changes for cloud se…
lszomoru Apr 7, 2026
7e2ed16
fix: adjust .ts?esm URLs to support bundler plugins
hediet Apr 1, 2026
fff333d
Merge pull request #308161 from maruthang/fix/issue-305615-ansi-test-…
maruthang Apr 7, 2026
5c2fdfe
[cherry-pick] OSS tool: update third-party notices (v1.115.0) (#308172)
vs-code-engineering[bot] Apr 7, 2026
c4a91a1
fix checking active session provider id (#308233)
sandy081 Apr 7, 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.
1 change: 1 addition & 0 deletions .eslint-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
**/extensions/**/*.d.ts
**/extensions/**/build/**
**/extensions/**/colorize-fixtures/**
**/extensions/copilot/**
**/extensions/css-language-features/server/test/pathCompletionFixtures/**
**/extensions/html-language-features/server/lib/jquery.d.ts
**/extensions/html-language-features/server/src/test/pathCompletionFixtures/**
Expand Down
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ ThirdPartyNotices.txt eol=crlf
*.sh eol=lf
*.rtf -text
**/*.json linguist-language=jsonc

test/componentFixtures/.screenshots/**/*.png filter=lfs diff=lfs merge=lfs -text
91 changes: 11 additions & 80 deletions .github/skills/update-screenshots/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,92 +5,23 @@ description: Download screenshot baselines from the latest CI run and commit the

# Update Component Screenshots from CI

When asked to update, accept, or refresh screenshot baselines from CI — or when the `Screenshot Tests` GitHub Action has failed with screenshot differences — follow this procedure to download the CI-generated screenshots and commit them as the new baselines.
Screenshot baselines are **no longer stored in the repository**. They are managed by an external screenshot service (`hediet-screenshots.azurewebsites.net`). The CI workflow uploads screenshots to this service and diffs them automatically.

## Why CI Screenshots?
When the `Checking Component Screenshots` GitHub Action detects changes, it posts a PR comment with before/after comparisons. No manual baseline updates are needed — the screenshots on the `main` branch commit become the new baselines automatically after merge.

Screenshots captured locally may differ from CI due to platform differences (fonts, rendering, DPI). The CI (Linux, ubuntu-latest) is the source of truth. This skill downloads the CI-produced screenshots and commits them as baselines.
## What Changed

## Prerequisites
- Baseline images were removed from `test/componentFixtures/.screenshots/baseline/`.
- Git LFS is no longer used for screenshot storage.
- The screenshot service stores images keyed by commit SHA and handles diffing.

- The `gh` CLI must be authenticated (`gh auth status`).
- The `Screenshot Tests` GitHub Action must have run and produced a `screenshot-diff` artifact.
## If Screenshots Need Investigation

## Procedure

### 1. Find the latest screenshot artifact

If the user provides a specific run ID or PR number, use that. Otherwise, find the latest run:

```bash
# For a specific PR:
gh run list --workflow screenshot-test.yml --branch <branch> --limit 5 --json databaseId,status,conclusion,headBranch

# For the current branch:
gh run list --workflow screenshot-test.yml --branch $(git branch --show-current) --limit 5 --json databaseId,status,conclusion
```

Pick the most recent run that has a `screenshot-diff` artifact (runs where screenshots matched won't have one).

### 2. Download the artifact
1. Check the PR comment posted by the CI workflow for visual diffs.
2. Download the `screenshots` artifact from the CI run for the raw captured images:

```bash
gh run download <run-id> --name screenshot-diff --dir .tmp/screenshot-diff
gh run download <run-id> --name screenshots --dir .tmp/screenshots
```

The artifact is uploaded from two paths (`test/componentFixtures/.screenshots/current/` and `test/componentFixtures/.screenshots/report/`), but GitHub Actions strips the common prefix. So the downloaded structure is:
- `current/` — the CI-captured screenshots (e.g. `current/baseUI/Buttons/Dark.png`)
- `report/report.json` — structured diff report
- `report/report.md` — human-readable diff report

### 3. Review the changes

Show the user what changed by reading the markdown report:

```bash
cat .tmp/screenshot-diff/report/report.md
```

### 4. Copy CI screenshots to baseline

```bash
# Remove old baselines and replace with CI screenshots
rm -rf test/componentFixtures/.screenshots/baseline/
cp -r .tmp/screenshot-diff/current/ test/componentFixtures/.screenshots/baseline/
```

### 5. Clean up

```bash
rm -rf .tmp/screenshot-diff
```

### 6. Stage and commit

```bash
git add test/componentFixtures/.screenshots/baseline/
git commit -m "update screenshot baselines from CI"
```

### 7. Push LFS objects before pushing

Screenshot baselines are stored in Git LFS. The `git lfs pre-push` hook is not active in this repo (husky overwrites it), so LFS objects are NOT automatically uploaded on `git push`. You must push them manually before pushing the branch, otherwise the push will fail with `GH008: Your push referenced unknown Git LFS objects`.

```bash
git lfs push --all origin <branch-name>
git push
```

### 8. Verify

Confirm the baselines are updated by listing the files:

```bash
git diff --stat HEAD~1
```

## Notes

- If no `screenshot-diff` artifact exists, the screenshots already match the baselines — no update needed.
- The `--filter` option on the CLI can be used to selectively accept only some fixtures if needed.
- After committing updated baselines, the next CI run should pass the screenshot comparison.
3. Compare locally if needed. The artifact contains the full set of captured screenshots.
1 change: 1 addition & 0 deletions .github/workflows/monaco-editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
lfs: true
persist-credentials: false

- uses: actions/setup-node@v6
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-darwin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
steps:
- name: Checkout microsoft/vscode
uses: actions/checkout@v6
with:
lfs: true

- name: Setup Node.js
uses: actions/setup-node@v6
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-linux-cli-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
steps:
- name: Checkout microsoft/vscode
uses: actions/checkout@v6
with:
lfs: true

- name: Install Rust
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-linux-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
steps:
- name: Checkout microsoft/vscode
uses: actions/checkout@v6
with:
lfs: true

- name: Setup Node.js
uses: actions/setup-node@v6
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-win32-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
steps:
- name: Checkout microsoft/vscode
uses: actions/checkout@v6
with:
lfs: true

- name: Setup Node.js
uses: actions/setup-node@v6
Expand Down
Loading
Loading