Files
vscode/test
Christof MartiandCopilot 294d096681 agentHost: Honor process CA trust in authenticated proxy smoke (#340455)
* test: Require authenticated CAPI traffic in macOS proxy smoke

Check branch-generation requests in the mandatory Copilot test and exclude preflight curl authentication from Kerberos evidence.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: Verify authenticated proxy traffic without worktrees

Use utility title generation with a fresh prompt marker to exercise the Agent Host CAPI client. Require proxy authentication for chat completions, verify HTTP 407 without credentials, and assert that no worktree is created.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* ci: TEMPORARILY isolate macOS Agents Window smoke validation

Run only macOS Agents Window smoke and both PAC proxy modes. Keep the Azure Copilot VSIX producer, skip unrelated test jobs and source-map uploads, and queue an unpublished macOS ARM64 CI build.

Drop this temporary commit before merging the smoke-test fix.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: Authenticate the actual Copilot prompt through the proxy

Use the runtime's existing Kerberos SPN option and remove the unauthenticated mock-traffic exception. Match the fresh prompt marker on the actual Responses API request instead of a title-generation request.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: Exercise Kerberos proxy CONNECT with an HTTPS mock

Serve the authenticated fixture over TLS with a one-day test CA, retain secure discovery endpoints, and pass process-scoped CA trust to Node and the native runtime. Keep certificate verification enabled and leave default HTTP mocks unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: Temporarily trust the HTTPS fixture CA on macOS

Trust the generated CA for system-certificate consumers used by Node-side model discovery. Remove its trust entry and only its validated fingerprint during cleanup, and fail explicitly if certificate cleanup fails.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* ci: Restore normal validation and remove OS CA trust

Restore all temporary GitHub and Azure CI restrictions requested by review. Remove the interactive macOS trust-store setup, keeping certificate trust scoped to the Agent Host process.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: Include process CA certificates in proxy requests

Merge Node extra CA certificates into the proxy-agent callback and request-service certificate loading. Cover certificate merging and error propagation, so HTTPS smoke model discovery needs no system trust-store changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-08 15:26:44 +00:00
..
2026-10-01 16:07:07 +00:00
…

VS Code Tests

Contents

This folder contains the various test runners for VS Code. Please refer to the documentation within for how to run them:

  • unit: our suite of unit tests (README)
  • integration: our suite of API tests (README)
  • smoke: our suite of automated UI tests (README)
  • sanity: release sanity tests (README)