pi-mono/packages/durable/test
Mario Zechner cb7969d212 feat(durable): add durable task runtime
Adds defineTask, registry-resolved phase handlers, and a scheduler that
decides every task transition in one callback on the Session line:
reservation with migration, dependencies, precedence rules in a step
before each phase, handover to replaced definitions, direct-task abort
(mark, signal, join, fresh abort invocation), orphaning of blocked tasks,
open reconciliation, and close that joins invocations without writing
outcomes. runtime.commit() callbacks return the typed next state; Tx no
longer exposes setTask. Adds Harness.resume, getTask, waitForTask,
abortTask, and task-aware waitForIdle; RegistryReader.subscribe wakes
the scheduler.
2026-09-28 23:55:24 +02:00
..
fixtures fix(durable): test execution environment and fix output truncation metadata 2026-09-24 13:34:46 +02:00
env-adaptive-publisher.test.ts fix(durable): test execution environment and fix output truncation metadata 2026-09-24 13:34:46 +02:00
env-node-spill.test.ts fix(durable): test execution environment and fix output truncation metadata 2026-09-24 13:34:46 +02:00
env-node.test.ts fix(durable): test execution environment and fix output truncation metadata 2026-09-24 13:34:46 +02:00
env-output-capture.test.ts fix(durable): test execution environment and fix output truncation metadata 2026-09-24 13:34:46 +02:00
env-truncate.test.ts fix(durable): test execution environment and fix output truncation metadata 2026-09-24 13:34:46 +02:00
harness-context.test.ts feat(durable): add openable Harness with registry and conversation config 2026-09-28 21:57:41 +02:00
harness-conversations.test.ts feat(durable): add durable task runtime 2026-09-28 23:55:24 +02:00
harness-registry.test.ts feat(durable): add durable task runtime 2026-09-28 23:55:24 +02:00
harness-support.ts feat(durable): add openable Harness with registry and conversation config 2026-09-28 21:57:41 +02:00
harness-tasks-recovery.test.ts feat(durable): add durable task runtime 2026-09-28 23:55:24 +02:00
harness-tasks.test.ts feat(durable): add durable task runtime 2026-09-28 23:55:24 +02:00
jsonl-storage.test.ts feat(durable): add typed IDs and explicit ownership 2026-09-25 17:58:29 +02:00
memory-storage.test.ts feat(durable): add typed IDs and explicit ownership 2026-09-25 17:58:29 +02:00
scratch.ts feat(durable): add durable task runtime 2026-09-28 23:55:24 +02:00
session-checkpoints-migrations.test.ts feat(durable): add openable Harness with registry and conversation config 2026-09-28 21:57:41 +02:00
session-definitions.test.ts feat(durable): add typed IDs and explicit ownership 2026-09-25 17:58:29 +02:00
session-documents.test.ts feat(durable): add durable task runtime 2026-09-28 23:55:24 +02:00
session-forks.test.ts feat(durable): add durable task runtime 2026-09-28 23:55:24 +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): add durable task runtime 2026-09-28 23:55:24 +02:00
session-watches.test.ts feat(durable): add document states and buffered watches 2026-09-28 16:36:31 +02:00
sqlite-facade.test.ts feat(durable): add typed IDs and explicit ownership 2026-09-25 17:58:29 +02:00
sqlite-migrations.test.ts feat(durable): add typed IDs and explicit ownership 2026-09-25 17:58:29 +02:00
sqlite-storage.test.ts feat(durable): add typed IDs and explicit ownership 2026-09-25 17:58: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: add durable JSONL storage backend 2026-09-23 01:33:31 +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): add durable task runtime 2026-09-28 23:55:24 +02:00
types.test.ts feat(durable): add typed IDs and explicit ownership 2026-09-25 17:58:29 +02:00