Skip to content

fix(dag): block unsafe recovery restart - #217

Merged
LeXwDeX merged 1 commit into
devfrom
fix/dag-recovery-cancel
Aug 9, 2026
Merged

fix(dag): block unsafe recovery restart#217
LeXwDeX merged 1 commit into
devfrom
fix/dag-recovery-cancel

Conversation

@LeXwDeX

@LeXwDeX LeXwDeX commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • propagate stale restart-orphan cancellation failures during recovery
  • prevent pending/queued nodes from re-entering scheduling while an old child may still run
  • retain a deterministic regression test with no invented node events

Verification

  • bun test test/dag/dag-recovery.test.ts — 24 pass
  • bun run test:dag-core — Core 90, OpenCode DAG 403, Schema 3, TUI 50; SDK unchanged
  • node ../../node_modules/.bin/tsgo --noEmit — pass
  • bun run lint — 4852 warnings / 0 errors (ratchet)
  • pre-push monorepo typecheck — 29/29 pass

Closes #213

@LeXwDeX
LeXwDeX merged commit 6b3cc15 into dev Aug 9, 2026
5 checks passed
@LeXwDeX
LeXwDeX deleted the fix/dag-recovery-cancel branch August 9, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant