mock policy server: improve cross-platform setup - #332833
Merged
Merged
Conversation
Make proxy and SDK cache setup explicit for macOS and Windows, and let developers navigate live requests directly to their endpoint configuration. Preserve keyboard focus while the request log refreshes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Dmitriy Vasyura (dmitrivMS)
approved these changes
Aug 26, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Improves the mock policy server’s cross-platform setup guidance and live-request workflow.
Changes:
- Adds macOS and Windows proxy/cache instructions.
- Makes the VS Code proxy setting explicit and copyable.
- Makes policy requests navigable while preserving focus during refreshes.
Show a summary per file
| File | Description |
|---|---|
.github/skills/policy-and-managed-settings/local-testing.md |
Updates local-testing guidance. |
scripts/mock-policy-server/README.md |
Documents proxy, cache, and request navigation workflows. |
scripts/mock-policy-server/public/app.ts |
Adds copy commands and interactive request-log behavior. |
scripts/mock-policy-server/public/index.html |
Adds cache-command disclosures and accessible request-log labeling. |
scripts/mock-policy-server/public/style.css |
Styles new cache controls and interactive log rows. |
Review details
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 5/5 changed files
- Comments generated: 1
- Review effort level: Balanced
Comment on lines
+34
to
+36
| <details class="cache-command-picker"> | ||
| <summary class="btn-header">Clear SDK Policy Cache</summary> | ||
| <div class="cache-command-popover"> |
Osvaldo Ortega (osortega)
approved these changes
Aug 27, 2026
joshspicer
enabled auto-merge (squash)
August 27, 2026 05:32
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.
Summary
http.proxypropertyTesting
npm run hygienenpm run mock-policy-serverand verified the served setup UI, exact copied values, live-request data, request navigation wiring, and focus-preservation behaviorstripTypeScriptTypesgit diff --checknpm run compilereaches the main source compile but currently fails on five unrelated pre-existingAgentServiceerrors (_findProviderForSession/registerProvider).