mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-14 17:54:53 +01:00
* Support multi-root Agent Host session metadata Persist Editor workspace provenance on Agent Host sessions and use it for authoritative multi-root session filtering. Remove the temporary workspace membership memento. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Address multi-root session review feedback Apply workspace-file filtering across folder-count transitions, sanitize provider metadata before database fallbacks, and exercise cache deserialization in tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 withScriptedMockAgent. 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.tsfiles 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.