Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .specgit.yaml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 6 additions & 4 deletions packages/opencode/test/dag/dag-node-supervision.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 —
Expand Down Expand Up @@ -444,7 +446,7 @@ describe("DAG node supervision — deadline enforcement (production incident)",
}),
),
)
})
}, 30_000)
})

describe("DagSupervisionSweep cadence derivation (pure)", () => {
Expand Down
Loading