From 9a69eb01234fbfee90fa40945b11ef2ef8132f61 Mon Sep 17 00:00:00 2001 From: Lex Date: Thu, 20 Aug 2026 05:39:18 +0800 Subject: [PATCH 1/2] fix(test): declare per-test timeouts for dag-node-supervision long tests (#384) --- .../opencode/test/dag/dag-node-supervision.test.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/opencode/test/dag/dag-node-supervision.test.ts b/packages/opencode/test/dag/dag-node-supervision.test.ts index a957a6232..85101bed2 100644 --- a/packages/opencode/test/dag/dag-node-supervision.test.ts +++ b/packages/opencode/test/dag/dag-node-supervision.test.ts @@ -240,7 +240,9 @@ const supervisionProgress = (store: DagStore.Interface, dagID: string, nodeID: s }) // bun's default per-test timeout is 5s; several bodies here need 8-40s at a -// 2s deadline — run this file with --timeout 30000 (the CI suite default). +// 2s deadline — the long tests below declare their own per-test timeout +// (it(..., 30000), matching the CI suite's --timeout 30000) so bare focused +// invocations don't red-fail them. describe("DAG node supervision — deadline enforcement (production incident)", () => { it("healthy: a node past its deadline gets escalated by the watcher", async () => { await Effect.runPromise( @@ -353,7 +355,7 @@ describe("DAG node supervision — deadline enforcement (production incident)", }), ), ) - }) + }, 30_000) // Review R4 issue 1 (P0): the sweep's layer-scoped fiber has no ambient // InstanceRef, so a real SessionPrompt.cancel DIES at @@ -396,7 +398,7 @@ describe("DAG node supervision — deadline enforcement (production incident)", }), ), ) - }) + }, 30_000) // Review R1 issue 2 (false-positive kill): a LIVE watcher on a node whose // escalation cadence spans multiple sweep intervals must never be swept — @@ -444,7 +446,7 @@ describe("DAG node supervision — deadline enforcement (production incident)", }), ), ) - }) + }, 30_000) }) describe("DagSupervisionSweep cadence derivation (pure)", () => { From f32d0375d3c6c128559bc2db65d8f0ab202cd303 Mon Sep 17 00:00:00 2001 From: Lex Date: Thu, 20 Aug 2026 05:39:49 +0800 Subject: [PATCH 2/2] chore: record delivery binding for issue384 --- .specgit.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.specgit.yaml b/.specgit.yaml index 100746866..a9719a5a2 100644 --- a/.specgit.yaml +++ b/.specgit.yaml @@ -1,11 +1,8 @@ version: 1 -delivery: issue378 +delivery: issue384 context: kind: branch - branch: feat/378-issue378 + branch: feat/384-issue384 issues: - - 378 - - 379 - - 380 - - 381 -pr: 382 + - 384 +pr: 385