Skip to content

Proxy test with isolated process on macOS#325774

Draft
chrmarti wants to merge 1 commit into
mainfrom
chrmarti/conservation-mole
Draft

Proxy test with isolated process on macOS#325774
chrmarti wants to merge 1 commit into
mainfrom
chrmarti/conservation-mole

Conversation

@chrmarti

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings July 14, 2026 11:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds macOS proxy-isolated smoke coverage for Agents Window networking.

Changes:

  • Adds PAC/Squid setup with PF-based direct-network blocking.
  • Routes mock LLM traffic through the proxy and verifies a proxy header.
  • Integrates the test into GitHub Actions and Azure Pipelines.
Show a summary per file
File Description
test/smoke/src/utils.ts Supports proxy-specific mock hostnames.
test/smoke/src/networkProxy/pacServer.ts Serves the PAC fixture.
test/smoke/src/main.ts Adds stable-build setup skipping.
test/smoke/src/areas/agentsWindow/agentsWindow.test.ts Enforces and verifies proxied mock requests.
test/smoke/scripts/run-agents-window-network-proxy.sh Configures and runs the isolated proxy test.
test/smoke/network-proxy/test.pac Routes traffic through Squid.
scripts/chat-simulation/common/mock-llm-server.ts Rejects requests missing the proxy header.
build/azure-pipelines/darwin/steps/product-build-darwin-test.yml Adds Azure macOS execution.
.github/workflows/pr-darwin-test.yml Adds GitHub Actions macOS execution.

Review details

  • Files reviewed: 9/9 changed files
  • Comments generated: 2
  • Review effort level: Medium

Comment thread test/smoke/scripts/run-agents-window-network-proxy.sh Outdated
saved_pac_url="$(printf '%s\n' "$saved_pac_state" | sed -n 's/^URL: //p')"
saved_pac_enabled="$(printf '%s\n' "$saved_pac_state" | sed -n 's/^Enabled: //p')"

mkdir -p "$LOG_DIR" "$TEMP_ROOT"
@chrmarti chrmarti force-pushed the chrmarti/conservation-mole branch from 4edefe1 to 705adc1 Compare July 14, 2026 12:34
@chrmarti chrmarti force-pushed the chrmarti/conservation-mole branch 3 times, most recently from 85da286 to 05f040a Compare July 14, 2026 15:36
@chrmarti chrmarti force-pushed the chrmarti/conservation-mole branch from 05f040a to 8ed6124 Compare July 14, 2026 16:20
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.

2 participants