Implement minimal resume_run for freshrss runs

This commit is contained in:
root
2026-04-07 15:19:44 +08:00
parent d91cdbc6c9
commit c622bc6247
5 changed files with 819 additions and 2 deletions
+6 -1
View File
@@ -168,7 +168,7 @@
---
### [TODO][P2] 设计并实现 `resume_run`
### [DONE][P2] 设计并实现 `resume_run`
目标:
- 基于 `run-state.json` 和现有中间产物继续执行
@@ -180,6 +180,11 @@
- 第一版只支持 freshrss workflow 且仅支持有 `run-state.json` 的 run
- 第一版仅考虑从最近可恢复点继续;`fetch_feed` / `extract_articles` 暂不支持恢复
进展备注:
- 2026-04-07:已完成 `resume_run` minimal design 与现有 runtime/workflow/server 代码对齐分析,开始实现最小恢复链路。
- 2026-04-07:已完成 `resume_run` 最小实现编码,新增 runtime 恢复服务并接入 MCP server;当前进入设计对齐与本地自检。
- 2026-04-07:已完成 `resume_run` 架构对齐与本地自检;已验证 `write_run_report` 可恢复,且 `extract_articles` 会被明确拒绝恢复。
---
### [TODO][P2] 评估 `rerun_stage` 是否值得进入第一阶段