Files
openclaw/qa/scenarios/runtime/session-transcript-sqlite-durability.yaml
T
Vincent Koc 592dbf74d7 test(qa): add session transcript primary coverage (#118820)
* test(qa): prove session transcript CLI management

* test(qa): register SQLite transcript durability proof
2026-08-04 02:41:09 +08:00

29 lines
1.5 KiB
YAML

title: SQLite session and transcript durability
scenario:
id: session-transcript-sqlite-durability
surface: runtime
category: session-memory.transcript-persistence
coverage:
primary:
- session-memory.transcript-persistence
- session-memory.durability
objective: Prove canonical SQLite session and transcript state survives migration, rollback restore, restart, contention, concurrent clients, and destructive lifecycle operations.
successCriteria:
- Startup import and doctor inspect, validate, rollback restore, and idempotence checkpoints preserve canonical SQLite state.
- Gateway restart and post-restart append retain the expected transcript history.
- SQLite busy contention and concurrent clients commit consistent session and transcript events.
- Cleanup, reset, and delete checkpoints remove targeted state while required transcript archives remain preserved.
docsRefs:
- docs/concepts/session.md
- docs/reference/session-management-compaction.md
codeRefs:
- src/config/sessions/session-accessor.ts
- src/config/sessions/cleanup-service.ts
- test/helpers/sqlite-sessions-transcripts-flip-proof.ts
- test/scripts/sqlite-sessions-transcripts-flip-proof.e2e.test.ts
execution:
kind: vitest
path: test/scripts/sqlite-sessions-transcripts-flip-proof.e2e.test.ts
summary: Run the existing isolated Gateway lifecycle proof across migration, restart, append, contention, cleanup, reset, delete, archive, and concurrent-client checkpoints.