Intent of mapSessionEvents.ts ×1
All 24 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/24 tests-
platform/24 tests-
agentHost/24 tests-
test/24 tests-
node/24 tests-
buildSessionEvents.test|title=buildSessionEventsFromTurns — reverse of mapSessionEvents preserves interleaved markdown/1 test -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/buildSessionEvents.test|title=buildSessionEventsFromTurns — reverse of mapSessionEvents emits an abort for a cancelled turn so it reconstructs as cancelled with its text|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/buildSessionEvents.test|title=buildSessionEventsFromTurns — reverse of mapSessionEvents round-trips a completed tool call interleaved with assistant text preserving order and identity|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/buildSessionEvents.test|title=buildSessionEventsFromTurns — reverse of mapSessionEvents round-trips text turns (prompt, markdown, reasoning) preserving UUID turn id, order and state|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/buildSessionEvents.test|title=buildSessionEventsFromTurns — reverse of mapSessionEvents the on-disk JSONL bytes reconstruct the original turns end to end|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession event mapping history replay does not duplicate assistant tool requests with lifecycle events|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession event mapping history replay renders assistant tool requests when lifecycle events are missing|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession event mapping history replay seeds turn id from the SDK envelope id, matching `turns.event_id`|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay abort remains terminal for the turn|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay does not restore a passive notification outside an assistant turn|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay fallback task_complete marks the turn complete|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay restores Auto model resolution as usage metadata|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay restores a system notification inside an assistant turn as a response part|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay restores an idle system notification as a system-initiated turn|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay restores best-effort model, fallback agent, and attachments onto user messages|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay synthetic user messages do not start a new turn|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay task_complete with a summary renders as a markdown part, not a tool call|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay task_complete without a summary renders nothing|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — history replay uses top-level user messages as turn boundaries|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — subagent routing drops subagent user messages whose agentId cannot be mapped|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — subagent routing routes subagent events tagged with envelope agentId into the subagent transcript|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — subagent routing routes subagent skill events into the subagent transcript|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — subagent routing subagent abort before its first response remains cancelled|occurrence=1 -
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/mapSessionEvents.test|title=mapSessionEvents — subagent routing subagent abort marks the subagent turn cancelled|occurrence=1
-
-
-
-
-