pi-mono/packages/durable/test
Mario Zechner 49683a3647 feat(durable): lifecycle conformance and task graph view (Packages 22, 23)
Package 22: runtime.now() and report() throw after the invocation ended; a
migration-only commit is published; a failed Harness.open closes without the
caller's context and rethrows the open error; ConversationWatch alias. Tests
for close joining non-cooperative code, cancelled close, queued operations at
the seal, progress calls and viewers on a paused Harness, the Chord guide, and
the spec's usage examples.

Package 23: Harness.taskGraph() and watchTaskGraph() mount every live task with
its owner edge, committed status, flags, and owned conversations, advanced from
commit publications. Example 24 prints the checkout's tree.
2026-10-01 09:53:21 +02:00
..
examples feat(durable): lifecycle conformance and task graph view (Packages 22, 23) 2026-10-01 09:53:21 +02:00
fixtures feat(durable): first coding-agent tool turn (Package 16) 2026-09-29 21:24:32 +02:00
chat-support.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
chord-guide.test.ts feat(durable): lifecycle conformance and task graph view (Packages 22, 23) 2026-10-01 09:53:21 +02:00
env-node-spill.test.ts feat(durable): first coding-agent tool turn (Package 16) 2026-09-29 21:24:32 +02:00
env-node.test.ts feat(durable): first coding-agent tool turn (Package 16) 2026-09-29 21:24:32 +02:00
env-truncate.test.ts feat(durable): first coding-agent tool turn (Package 16) 2026-09-29 21:24:32 +02:00
harness-compaction.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-context.test.ts docs(durable): rename collapse to compaction 2026-09-29 21:38:50 +02:00
harness-conversations.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-events.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-generation-recovery.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-generation.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-inbox.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-inspect.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-lifecycle.test.ts feat(durable): lifecycle conformance and task graph view (Packages 22, 23) 2026-10-01 09:53:21 +02:00
harness-live-deltas.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-output.test.ts feat(durable): first coding-agent tool turn (Package 16) 2026-09-29 21:24:32 +02:00
harness-ownership.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-prompt.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-registry.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-structured.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-submissions.test.ts feat(durable): structured concurrency: task ownership, waiting, completing holds, bottom-up abort (Package 19) 2026-09-30 13:50:29 +02:00
harness-support.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-task-graph.test.ts feat(durable): lifecycle conformance and task graph view (Packages 22, 23) 2026-10-01 09:53:21 +02:00
harness-tasks-recovery.test.ts feat(durable): lifecycle conformance and task graph view (Packages 22, 23) 2026-10-01 09:53:21 +02:00
harness-tasks.test.ts feat(durable): lifecycle conformance and task graph view (Packages 22, 23) 2026-10-01 09:53:21 +02:00
harness-tools-recovery.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-tools.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
harness-view.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
jsonl-storage.test.ts feat(durable): structured concurrency: task ownership, waiting, completing holds, bottom-up abort (Package 19) 2026-09-30 13:50:29 +02:00
memory-storage.test.ts feat(durable): add typed IDs and explicit ownership 2026-09-25 17:58:29 +02:00
session-checkpoints-migrations.test.ts feat(durable): lifecycle conformance and task graph view (Packages 22, 23) 2026-10-01 09:53:21 +02:00
session-definitions.test.ts feat(durable): lifecycle conformance and task graph view (Packages 22, 23) 2026-10-01 09:53:21 +02:00
session-documents.test.ts feat(durable): structured concurrency: task ownership, waiting, completing holds, bottom-up abort (Package 19) 2026-09-30 13:50:29 +02:00
session-forks.test.ts feat(durable): structured concurrency: task ownership, waiting, completing holds, bottom-up abort (Package 19) 2026-09-30 13:50:29 +02:00
session-states.test.ts feat(durable): add document states and buffered watches 2026-09-28 16:36:31 +02:00
session-support.ts feat(durable): add durable task runtime 2026-09-28 23:55:24 +02:00
session-tables.test.ts feat(durable): structured concurrency: task ownership, waiting, completing holds, bottom-up abort (Package 19) 2026-09-30 13:50:29 +02:00
session-watches.test.ts feat(durable): add document states and buffered watches 2026-09-28 16:36:31 +02:00
spec-usage.test.ts feat(durable): lifecycle conformance and task graph view (Packages 22, 23) 2026-10-01 09:53:21 +02:00
sqlite-facade.test.ts fix(durable): harden async SQLite adapter queue and close 2026-09-30 22:32:34 +02:00
sqlite-migrations.test.ts feat(durable): execute SQLite queries by SQL text and cache statements per connection 2026-09-30 19:49:55 +01:00
sqlite-storage.test.ts feat(durable): structured concurrency: task ownership, waiting, completing holds, bottom-up abort (Package 19) 2026-09-30 13:50:29 +02:00
storage-memory.ts feat(durable): export storage benchmark workloads 2026-09-24 14:26:22 +02:00
storage-runtime-boundary.test.ts feat(durable): first coding-agent tool turn (Package 16) 2026-09-29 21:24:32 +02:00
storage.bench.ts feat(durable): add typed IDs and explicit ownership 2026-09-25 17:58:29 +02:00
task-support.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
tool-output-bench.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
tools.test.ts feat(durable): extensions and per-conversation agents (Package 21) 2026-10-01 01:28:22 +02:00
types.test.ts feat(durable): lifecycle conformance and task graph view (Packages 22, 23) 2026-10-01 09:53:21 +02:00