Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
62a503d
Revert "Revert build breakages (#308162)"
connor4312 Apr 7, 2026
78c93e8
ignore optional native bits when building
connor4312 Apr 7, 2026
a6d1a79
feat: add script to migrate PRs from vscode-copilot-chat to vscode (#…
joaomoreno Apr 7, 2026
d6d4582
Skip the builtinCG for extensions without a repo
mjbvz Apr 7, 2026
d7dba67
add logging (#308211)
sandy081 Apr 7, 2026
e13ba25
Makes fixtures more stable
hediet Apr 7, 2026
d17fc1a
Adds 400ms timeout to component fixture rendering to catch potential …
hediet Apr 7, 2026
a199142
Add error handling for blocks-ci screenshot suggestion posting
hediet Apr 7, 2026
706c2ce
Fix blocks-ci screenshot diff output and PR comment content
hediet Apr 7, 2026
da41173
Fixes fixture errors
hediet Apr 7, 2026
da22369
updates blocks-ci-screenshots.md
hediet Apr 7, 2026
73ce5ed
Only block ci for CodeEditor fixture changes
hediet Apr 7, 2026
5668745
fix: update copilot job failure condition to include 'succeededWithIs…
joaomoreno Apr 7, 2026
f67890d
Bump version (#308241)
alexr00 Apr 7, 2026
8cd016b
fix #306455 (#308247)
sandy081 Apr 7, 2026
bc6deaa
Merge pull request #308249 from microsoft/connor4312/reapply-tunnels
connor4312 Apr 7, 2026
a08bf15
feat: add optional chatSessionResource parameter to MCP gateway metho…
DonJayamanne Apr 7, 2026
e10f269
sessions: return to sign-in screen after sign out (#307660) (#307781)
hawkticehurst Apr 7, 2026
887d6ae
chat: remove Preview label and customizationsMenu.enabled setting (#3…
joshspicer Apr 7, 2026
5267dfd
ci: switch Copilot PR checks to GitHub-hosted runners (#308267)
Yoyokrazy Apr 7, 2026
d5117ad
Merge pull request #308268 from mjbvz/dev/mjbvz/continued-antlion
mjbvz Apr 7, 2026
fc99d59
sessions: open customizations editor to agents page from mode picker …
joshspicer Apr 7, 2026
308b3b9
Warn before attaching browser content from possibly untrusted sources…
kycutler Apr 7, 2026
7446c69
Background - cache folder changes for the various error conditions (#…
lszomoru Apr 7, 2026
da1fd60
fixes flaky fixtures
hediet Apr 7, 2026
56fd4d6
sessions: round hover/focus backgrounds in Changes panel to 4px (#308…
hawkticehurst Apr 7, 2026
07c3dd3
agentHost: Split integration test file (#308278)
roblourens Apr 7, 2026
9a79d47
Sessions - delete the open pull request command (#308290)
lszomoru Apr 7, 2026
72d7d8b
Cloud - include more metadata about the pull request (#308292)
lszomoru Apr 7, 2026
55a2465
chore: Add unstaged and staged diff output to git state check (#308300)
joaomoreno Apr 7, 2026
567b7d7
Disable flaky win32-x64 dev tunnel sanity test (#308313)
dmitrivMS Apr 7, 2026
5b53c2a
sessions: extend section header hover background to full width (#308285)
osortega Apr 7, 2026
9f6b70e
Fixes waitFor in AsyncSchedulerProcessor
hediet Apr 7, 2026
6dee21d
Adds multi file diff editor fixture
hediet Apr 7, 2026
db28365
fixes multi diff editor issues
hediet Apr 7, 2026
1e7322e
Temporarily disable TimeTravelScheduler in defineComponentFixture due…
hediet Apr 7, 2026
c92ecf5
Restore Ready state if quit is vetoed during quitAndInstall() (#308314)
dmitrivMS Apr 7, 2026
91113ba
Fix Copilot Chat debug experience (#308264)
lramos15 Apr 7, 2026
264da2a
Add routing_method experiment variable for A/B/C hydra experiment (#3…
bhavyaus Apr 7, 2026
6b33538
Refactor enableThinking/reasoningEffort into IModelCapabilityOptions …
bhavyaus Apr 7, 2026
fba847a
Add inline YAML prompt override debug setting (#308309)
dileepyavan Apr 7, 2026
81501d1
Allow background notifs setting to be controlled via exp
cwebster-99 Apr 7, 2026
f7f78bf
hide session type picker when there is no workspace selected (#308326)
sandy081 Apr 7, 2026
c75b65f
Revert "Refactor enableThinking/reasoningEffort into IModelCapability…
bhavyaus Apr 7, 2026
7f963d3
Sessions: derive PR icon from live GitHubPullRequestModel (#308304)
osortega Apr 7, 2026
595ef3e
Handle hook messages for Claude (#308332)
TylerLeonhardt Apr 7, 2026
7ab3939
Configure Explore Subagent Enabled (#308324)
bhavyaus Apr 7, 2026
185149b
Better browser open tool responses (#308328)
kycutler Apr 7, 2026
e189f56
Merge pull request #308333 from microsoft/yelping-perch
cwebster-99 Apr 7, 2026
a417408
provide async getters for customization APIs (#308336)
aeschli Apr 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/check-clean-git-state.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ R=`git status --porcelain | wc -l`
if [ "$R" -ne "0" ]; then
echo "The git repo is not clean after compiling the /build/ folder. Did you forget to commit .js output for .ts files?";
git status --porcelain
echo "\nUnstaged diff:";
git --no-pager diff
echo "\nStaged diff:";
git --no-pager diff --cached
exit 1;
fi
13 changes: 9 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:

copilot-check-test-cache:
name: Copilot - Check Test Cache
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-oss-ubuntu-22.04-x64 ]
runs-on: ubuntu-22.04
permissions:
contents: read
pull-requests: read
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:

copilot-check-telemetry:
name: Copilot - Check Telemetry
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-oss-ubuntu-22.04-x64 ]
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
Expand All @@ -224,7 +224,7 @@ jobs:

copilot-linux-tests:
name: Copilot - Test (Linux)
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-oss-ubuntu-22.04-x64 ]
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
Expand Down Expand Up @@ -252,6 +252,11 @@ jobs:
- name: Install setuptools
run: pip install setuptools

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y xvfb libgtk-3-0 libgbm1

- name: Restore build cache
uses: actions/cache/restore@v4
id: build-cache
Expand Down Expand Up @@ -332,7 +337,7 @@ jobs:

copilot-windows-tests:
name: Copilot - Test (Windows)
runs-on: [ self-hosted, 1ES.Pool=1es-vscode-oss-windows-2022-x64 ]
runs-on: windows-2022
permissions:
contents: read
steps:
Expand Down
58 changes: 23 additions & 35 deletions .github/workflows/screenshot-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
run: npm ci
working-directory: build/rspack

- name: Copy codicons
run: cp node_modules/@vscode/codicons/dist/codicon.ttf src/vs/base/browser/ui/codicons/codicon/codicon.ttf

- name: Transpile source
run: npm run transpile-client

Expand All @@ -62,45 +65,17 @@ jobs:
test/componentFixtures/.screenshots/current/manifest.json \
test/componentFixtures/blocks-ci-screenshots.md \
https://hediet-screenshots.azurewebsites.net \
--json \
> /tmp/blocks-ci-diff.json 2>/tmp/blocks-ci-stderr.txt \
> /tmp/blocks-ci-updated.md 2>/tmp/blocks-ci-stderr.txt \
&& echo "match=true" >> "$GITHUB_OUTPUT" \
|| {
echo "match=false" >> "$GITHUB_OUTPUT"
cat /tmp/blocks-ci-stderr.txt >&2
DIFF=$(cat /tmp/blocks-ci-diff.json)
echo "diff<<BLOCKS_CI_EOF" >> "$GITHUB_OUTPUT"
echo "$DIFF" >> "$GITHUB_OUTPUT"
CONTENT=$(cat /tmp/blocks-ci-updated.md)
echo "content<<BLOCKS_CI_EOF" >> "$GITHUB_OUTPUT"
echo "$CONTENT" >> "$GITHUB_OUTPUT"
echo "BLOCKS_CI_EOF" >> "$GITHUB_OUTPUT"
}

- name: Suggest blocks-ci screenshot update
if: github.event_name == 'pull_request' && steps.blocks-ci.outputs.match == 'false'
uses: actions/github-script@v7
with:
script: |
const diff = JSON.parse(process.env.DIFF_JSON);
const filePath = 'test/componentFixtures/blocks-ci-screenshots.md';
const marker = '<!-- blocks-ci-screenshot-suggestion -->';

await github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
commit_id: context.payload.pull_request.head.sha,
event: 'COMMENT',
body: `${marker}\n### blocks-ci screenshots changed\n\nApply the suggestion below to update the committed screenshots.`,
comments: [{
path: filePath,
start_line: diff.startLine < diff.endLine ? diff.startLine : undefined,
line: diff.endLine,
side: 'RIGHT',
body: `${marker}\nScreenshots for \`blocks-ci\` fixtures have changed. Apply this suggestion to accept:\n\n\`\`\`suggestion\n${diff.replacement}\n\`\`\``,
}],
});
env:
DIFF_JSON: ${{ steps.blocks-ci.outputs.diff }}

- name: Upload screenshots
uses: actions/upload-artifact@v7
with:
Expand Down Expand Up @@ -148,12 +123,24 @@ jobs:
SCREENSHOT_SERVICE_TOKEN: ${{ steps.oidc.outputs.token }}

- name: Post PR comment
if: github.event_name == 'pull_request' && steps.diff.outputs.has_changes == 'true'
if: github.event_name == 'pull_request' && (steps.diff.outputs.has_changes == 'true' || steps.blocks-ci.outputs.match == 'false')
uses: actions/github-script@v7
with:
script: |
const marker = '<!-- screenshot-diff-report -->';
const body = process.env.COMMENT_BODY;
let body = process.env.COMMENT_BODY || '';
const blocksCiContent = process.env.BLOCKS_CI_CONTENT;

if (blocksCiContent) {
if (body) { body += '\n\n---\n\n'; }
body += '### blocks-ci screenshots changed\n\n';
body += 'Replace the contents of `test/componentFixtures/blocks-ci-screenshots.md` with:\n\n';
body += '<details>\n<summary>Updated blocks-ci-screenshots.md</summary>\n\n';
body += '```md\n' + blocksCiContent + '\n```\n\n';
body += '</details>';
}

body = marker + '\n' + body;

const { data: comments } = await github.rest.issues.listComments({
owner: context.repo.owner,
Expand All @@ -180,11 +167,12 @@ jobs:
}
env:
COMMENT_BODY: ${{ steps.diff.outputs.body }}
BLOCKS_CI_CONTENT: ${{ steps.blocks-ci.outputs.content }}

- name: Fail if blocks-ci hashes changed
if: steps.blocks-ci.outputs.match == 'false'
run: |
echo "::error::blocks-ci screenshot hashes do not match committed file. See PR review suggestion to update."
echo "::error::blocks-ci screenshot hashes do not match committed file. See PR comment for updated content."
exit 1

# - name: Compare screenshots
Expand Down
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"port": 5870,
"outFiles": [
"${workspaceFolder}/out/**/*.js",
"${workspaceFolder}/extensions/*/out/**/*.js"
"${workspaceFolder}/extensions/*/out/**/*.js",
"${workspaceFolder}/extensions/copilot/dist/**/*.js"
]
},
{
Expand Down
14 changes: 14 additions & 0 deletions build/.moduleignore
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,20 @@ kerberos/node_modules/**

cpu-features/**

# utf-8-validate and bufferutil are native modules pulled in by the websocket
# package. They include prebuilds for multiple platforms which break cross-platform
# bundling (rcedit fails on non-PE .node files). Both modules have pure JS fallbacks
# that are sufficient for Node.js >= 18.14.0, so we strip all native artifacts.
utf-8-validate/binding.gyp
utf-8-validate/build/**
utf-8-validate/prebuilds/**
utf-8-validate/src/**

bufferutil/binding.gyp
bufferutil/build/**
bufferutil/prebuilds/**
bufferutil/src/**

ssh2/lib/protocol/crypto/binding.gyp
ssh2/lib/protocol/crypto/build/**
ssh2/lib/protocol/crypto/src/**
Expand Down
2 changes: 1 addition & 1 deletion build/azure-pipelines/common/downloadCopilotVsix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function checkCopilotJobFailed(): Promise<boolean> {
r => r.type === 'Job' && r.name === COPILOT_JOB_NAME
);

if (copilotJob && copilotJob.state === 'completed' && copilotJob.result !== 'succeeded') {
if (copilotJob && copilotJob.state === 'completed' && copilotJob.result !== 'succeeded' && copilotJob.result !== 'succeededWithIssues') {
return true;
}
} catch (err) {
Expand Down
Loading
Loading