Repository navigation
ci: end the Windows PR Agent Host E2E arguments with --tfs like product builds - #345957
Merged
Bryan Chen (bryanchen-d) merged 2 commits intoNov 4, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Windows E2E argument-ordering change.
No open issues 🎉
What changed in this PR
Aligns Windows PR Agent Host E2E argument ordering with product builds so PR CI exercises the trailing suite-label argument that exposed the earlier batch-script regression.
Changes:
- Moves
--tfs "Integration Tests"to the end of the invocation. - Preserves all argument values, including conditional sharding and test selection.
| File | Description |
|---|---|
.github/workflows/pr-win32-test.yml |
Reorders the Windows Agent Host E2E command to place --tfs last. |
Review effort: Balanced
…ct builds Product builds pass --tfs last, so the --tfs value, with the suite label the runner appends, is the last argument that reaches test-integration.bat. PR CI passed --rerun-failed-files 2 after it, so the #345871 break in that script, which depended on the last argument, passed PR CI and failed product builds. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The Agent Host E2E runner consumes --runList and --shard, so --tfs before --runList still makes the --tfs value the last forwarded argument. The paired node.js integration step takes the same order, as agentHostTestSelection.test.ts requires. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Bryan Chen (bryanchen-d)
force-pushed
the
copilot/vscode/pr-ci-agent-host-tfs-last
branch
from
November 4, 2026 17:24
1c1af01 to
ce99a67
Compare
Bryan Chen (bryanchen-d)
marked this pull request as ready for review
November 4, 2026 17:54
Bryan Chen (bryanchen-d)
enabled auto-merge (squash)
November 4, 2026 17:54
Logan Ramos (lramos15)
approved these changes
Nov 4, 2026
Bryan Chen (bryanchen-d)
deleted the
copilot/vscode/pr-ci-agent-host-tfs-last
branch
November 4, 2026 20:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the Windows PR CI call to
scripts\test-agent-host-e2e.batforward--tfslast, the same way product builds call it. The arguments are the same, only the order changes. The runner consumes--shardand--runListitself, so--tfsgoes right before--runListand is still the last argument forwarded totest-integration.bat. The paired node.js integration step takes the same order, whichbuild/lib/test/agentHostTestSelection.test.tsrequires.Why: the runner appends the suite label and profile to the
--tfsvalue. In product builds--tfsis last, sotest-integration.batreceives a last argument likeIntegration Tests Copilot (1/2) full. PR CI passed--rerun-failed-files 2after--tfs, so its last argument was2. #345871 broketest-integration.batonly when the last argument contained a). It was green in PR CI and failed every Windows x64 Agent Host E2E run in product builds (main CI 492607 and the 23:00 insider 492626) until #345947 fixed it. With this change, PR CI would have caught it.Validation: I ran
test-integration.batlocally through the runner'schild.ps1launch path, withtest.batandnodestubbed, using the arguments this PR CI call now produces (--run … --testShard 1/2 --rerun-failed-files 2 --tfs "Integration Tests Copilot (1/2) full"):full was unexpected at this time., exit 255 (would now fail PR CI)mainwith test: keep the last argument out of the test-integration.bat help block #345947: arguments forwarded unchanged, exit 0node --test lib/test/agentHostTestSelection.test.tspasses 11/11. This PR's own Windows Agent-Host-E2E jobs run the new order.