Files
vscode/src/vs/platform/agentHost/test/node
Connor Peet fe9ef0277b Merge remote-tracking branch 'origin/main' into connor4312/agents-enablement-2
# Conflicts:
#	src/vs/platform/agentHost/node/copilot/copilotAgent.ts
#	src/vs/platform/agentHost/test/node/agentSideEffects.test.ts
#	src/vs/platform/agentHost/test/node/copilotAgent.test.ts
#	src/vs/platform/agentHost/test/node/copilotAgentSession.test.ts
2026-08-12 18:32:45 -07:00
..

Agent Host node tests

Choose the lowest test type that exercises the behavior:

  • *.test.ts: in-process unit tests for one service, mapper, reducer, or provider component.
  • protocol/: a real Agent Host server driven over AHP with ScriptedMockAgent. Use for server and protocol contracts that do not depend on a provider SDK.
  • e2e/providers/: the whole server and bundled provider process with deterministic LLM captures and AHP snapshots. Use when provider behavior is part of the contract.
  • providerIntegration/: a real provider process backed by the local mock LLM. Use when provider lifecycle matters but realistic model behavior does not.
  • Other *.integrationTest.ts files at this level: focused component integrations that do not exercise AHP end to end, such as direct SDK or Git-service coverage.

The protocol and E2E folders contain their own running and authoring instructions.