已合并
Add lifecycle-aware daemon job retention #105
urandon创建于 16 天前
Add lifecycle-aware daemon job retention #105
已合并
共 27 个文件变更+687-75
| @@ -0,0 +1,23 @@ | |||
| 1 | +### Bounded job history and release reliability patch | ||
| 2 | + | ||
| 3 | +`v0.2.2` adds lifecycle-aware retention for daemon job history. Active work is | ||
| 4 | +kept unconditionally, routine successes expire after 48 hours by default, and | ||
| 5 | +diagnostically useful failures remain for 14 days. The newest significant | ||
| 6 | +failure per maintenance registration or work stream receives separately bounded | ||
| 7 | +protection, while terminal-job and per-job progress caps remain final safety | ||
| 8 | +limits. | ||
| 9 | + | ||
| 10 | +Retention is configurable through validated global service configuration. The | ||
| 11 | +daemon compacts legacy `jobs.json` snapshots on load and prunes on job updates, | ||
| 12 | +completion, and idle reconciliation. The observation API and Admin UI expose the | ||
| 13 | +effective policy, retained counts, oldest retained job, and expiry/truncation | ||
| 14 | +evidence. Expired deep links explicitly explain that cached records, maintenance | ||
| 15 | +frontiers and policy, RAG indexes, and audit receipts are unaffected. | ||
| 16 | + | ||
| 17 | +The native GitCode release publisher now verifies assets even when GitCode omits | ||
| 18 | +attachment-size metadata: it performs a bounded byte-count check against the | ||
| 19 | +presigned download URL without forwarding credentials to storage. Publication | ||
| 20 | +also waits for the exact mirrored tag commit before creating a release, removing | ||
| 21 | +a race between the GitHub workflow and GitCode tag visibility. | ||
| 22 | + | ||
| 23 | +There are no cache schema migrations or breaking CLI/MCP changes in this patch. | ||
Rinternal/adminui/assets/_app/immutable/assets/2.CLl6DfQM.css→internal/adminui/assets/_app/immutable/assets/2.DFLNkVJK.css+1-1文件内容审核中,请稍后刷新重试
Rinternal/adminui/assets/_app/immutable/entry/app.CG9JOKY2.js→internal/adminui/assets/_app/immutable/entry/app.6j3EmJGq.js+2-2文件内容审核中,请稍后刷新重试