You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 15037f6
Browse filesBrowse the repository at this point in the historyBrowse files
🧪 Keep the answer-delivery suite out of Node and Bun
The suite opens a real node:sqlite run database and takes the Deno lifecycle
adapter's advisory lock, like every other Deno-adapter workflow suite. It was
not listed in the exclusion manifest, so test-node ran it and failed eleven
ways on the executor lock, and test-bun failed to resolve node:sqlite at all.
Its tier is renamed WAD, because Tier WA already names the ACP server lifecycle
suite in packages/test-agent.
"publishes and replays durable suspension requests against a real node:sqlite run database through the Deno lifecycle adapter; node:sqlite remains behind --experimental-sqlite on Node 22 and Bun has none",
"delivers and spends typed answers against a real node:sqlite run database, taking the Deno lifecycle adapter's advisory lock and planting SQLite triggers in the run file; node:sqlite remains behind --experimental-sqlite on Node 22 and Bun has none",
Copy file name to clipboardExpand all lines: specs/executable-mdx-spec.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8762,22 +8762,22 @@ Defined in [Workflow workspaces](./workflow-workspace-spec.md) §3.
8762
8762
| WFH2 | One grammar | Every runtime renders the same `xmd workflow` help |
8763
8763
| WFH4 | Unsupported delivery | Node and Bun refuse `answer` with the same sentence, write no delivery line and create no run store |
8764
8764
8765
-
### Tier WA — Delivering an answer to a durable wait
8765
+
### Tier WAD — Delivering an answer to a durable wait
8766
8766
8767
8767
Defined in [Workflow workspaces](./workflow-workspace-spec.md) §3.5. Runs
8768
8768
against the production Deno adapter, on real run files.
8769
8769
8770
8770
| # | Test | Verify |
8771
8771
|---|------|--------|
8772
-
| WA1 | Correlation | A value is retained only for the exact wait it names; a wait this run is not at, and a run that holds no such wait, are refused with nothing written |
8773
-
| WA2 | The retained schema judges | Every value the response schema refuses is refused before persistence, and a value it describes still goes in afterwards |
8774
-
| WA3 | The secret gate | A credential-shaped answer is refused with neither the value nor the match in the diagnostic; `--no-secret-detection` retains the same value |
8775
-
| WA4 | Delivery is not execution | Status, stop reason, document-execution records and retained history are byte-for-byte what the suspension left |
8776
-
| WA5 | No executor lock | A delivery succeeds while a live workflow executor holds the run's lock |
8777
-
| WA6/WA7/WA8 | Refusals | A duplicate, an answer already spent, a completed run, a cancelled run and a run nothing is stored for are each refused, and none of them writes |
8778
-
| WA9 | The resume spends it | One `suspension_answer` event naming the wait, the pending state consumed, and `suspendFor()` returning the delivered value |
8779
-
| WA10 | Replay | A later resume restores the answer from its retained event, reaching no live controller, publishing no second event and consuming nothing again |
8780
-
| WA11/WA12 | One transaction | A journal insertion that fails, and a consumption that fails, each leave the answer pending and no answer event; the next resume publishes exactly one |
8772
+
| WAD1 | Correlation | A value is retained only for the exact wait it names; a wait this run is not at, and a run that holds no such wait, are refused with nothing written |
8773
+
| WAD2 | The retained schema judges | Every value the response schema refuses is refused before persistence, and a value it describes still goes in afterwards |
8774
+
| WAD3 | The secret gate | A credential-shaped answer is refused with neither the value nor the match in the diagnostic; `--no-secret-detection` retains the same value |
8775
+
| WAD4 | Delivery is not execution | Status, stop reason, document-execution records and retained history are byte-for-byte what the suspension left |
8776
+
| WAD5 | No executor lock | A delivery succeeds while a live workflow executor holds the run's lock |
8777
+
| WAD6/WAD7/WAD8 | Refusals | A duplicate, an answer already spent, a completed run, a cancelled run and a run nothing is stored for are each refused, and none of them writes |
8778
+
| WAD9 | The resume spends it | One `suspension_answer` event naming the wait, the pending state consumed, and `suspendFor()` returning the delivered value |
8779
+
| WAD10 | Replay | A later resume restores the answer from its retained event, reaching no live controller, publishing no second event and consuming nothing again |
8780
+
| WAD11/WAD12 | One transaction | A journal insertion that fails, and a consumption that fails, each leave the answer pending and no answer event; the next resume publishes exactly one |
8781
8781
8782
8782
### Tier WFX — A killed run resumes from its frontier
0 commit comments