Skip to content

docs(architecture): crash-recovery 时序图(mermaid) - #6

Merged
CodeAlex52 merged 1 commit into
mainfrom
docs/architecture-recovery-diagram
Oct 11, 2026
Merged

CodeAlex52 merged 1 commit into
mainfrom
docs/architecture-recovery-diagram

Conversation

@CodeAlex52

Copy link
Copy Markdown
Owner

把项目的招牌可靠性承诺——“SIGKILL 中断后 resume 不重跑 DONE、账本不丢”——画成 mermaid 时序图:

  • 覆盖 run → claim → dispatch → SIGKILL → resume → 锁 → 重放 → 只派发未完成工作 → 最终结果
  • 与 tests/test_recovery_subprocess.py(真实 SIGKILL 测试)和 docs/SPEC_v0.md §7 门禁互相引用
  • 备注了预算保证:check-before-dispatch 在恢复时重新执行,恢复不可能击穿封顶

原文档顶部有 ASCII 总览图;时序视角为补充,帮助新贡献者理解恢复语义。

@CodeAlex52
CodeAlex52 merged commit 308d947 into main Oct 11, 2026
@CodeAlex52
CodeAlex52 deleted the docs/architecture-recovery-diagram branch October 11, 2026 07:29
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