Intent of mapSessionEvents.ts ×1
All 8 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/8 tests-
platform/8 tests-
agentHost/8 tests-
test/8 tests-
node/8 tests-
buildSessionEvents.test|title=buildSessionEventsFromTurns — reverse of mapSessionEvents emits subagent.started for a sub-agent tool call so the name/1 test -
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 a failed tool call preserving the error message|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/mapSessionEvents.test|title=mapSessionEvents — history replay restores best-effort model, fallback agent, and attachments onto user messages|occurrence=1
-
-
-
-
-