Pin complete Copilot request bodies in prompt snapshots - #332037
Merged
Bhavya U (bhavyaus) merged 2 commits intoAug 22, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Pins complete Copilot model request bodies in snapshots while normalizing volatile values and guarding malformed captures.
Changes:
- Serializes full request bodies as formatted JSON.
- Adds shape validation and normalization tests.
- Updates documentation and Claude 4.6 baselines.
Show a summary per file
| File | Description |
|---|---|
e2e/README.md |
Documents full-body snapshots and exclusions. |
copilotPromptsE2E.integrationTest.ts |
Implements formatting, normalization, and guards. |
…claude-sonnet-4_6.prompt.md |
Updates the Sonnet 4.6 baseline. |
…claude-opus-4_6.prompt.md |
Updates the Opus 4.6 baseline. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 11/21 changed files
- Comments generated: 0
- Review effort level: Balanced
Bhavya U (bhavyaus)
enabled auto-merge (squash)
August 21, 2026 20:57
Bhavya U (bhavyaus)
force-pushed
the
dev/bhavyau/pin-copilot-request-bodies
branch
from
August 21, 2026 21:06
bfb8b10 to
560f09c
Compare
Dmitriy Vasyura (dmitrivMS)
previously approved these changes
Aug 21, 2026
Ben Villalobos (benvillalobos)
previously approved these changes
Aug 21, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Bhavya U (bhavyaus)
force-pushed
the
dev/bhavyau/pin-copilot-request-bodies
branch
from
August 22, 2026 04:22
560f09c to
718354d
Compare
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Bhavya U (bhavyaus)
dismissed stale reviews from Ben Villalobos (benvillalobos) and Dmitriy Vasyura (dmitrivMS)
via
August 22, 2026 04:36
7375a55
roblourens
approved these changes
Aug 22, 2026
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.
Pins each Copilot model request body in full instead of rendering a hand-picked subset, so new body fields surface in snapshot diffs. Keeps HTTP metadata out of scope and adds guard coverage for malformed request shapes.
Tests:
./scripts/test-integration.sh --run src/vs/platform/agentHost/test/node/e2e/providers/copilotPromptsE2E.integrationTest.ts