Skip to content

[Test] Update Permission Denial Snapshots for the New Runtime Message - #2357

Draft
MRayermannMSFT wants to merge 3 commits into
mainfrom
dev/mrayermannmsft/other/update-permission-denial-snapshots
Draft

[Test] Update Permission Denial Snapshots for the New Runtime Message#2357
MRayermannMSFT wants to merge 3 commits into
mainfrom
dev/mrayermannmsft/other/update-permission-denial-snapshots

Conversation

@MRayermannMSFT

Copy link
Copy Markdown
Contributor

What

This change updates three permission snapshots so they carry the denial text the runtime now sends. The tool result for a UserNotAvailable decision gains a second line that tells the agent what to do next.

Why

github/copilot-agent-runtime#16319 makes permission denials say what was refused and whether a retry can work. The C# PermissionE2ETests replay against these snapshots, and the proxy matches a request only when every message is identical. The old single-line text no longer matches, so three tests fail with No cached response found for POST /v1/messages. The assertions themselves still hold, because the error field keeps the short headline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant