已合并
Add lifecycle-aware daemon job retention #105
urandon创建于 16 天前
Add lifecycle-aware daemon job retention #105
已合并
urandon创建于 16 天前
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.
Mdocs/admin-ui.md+1-1文件内容审核中,请稍后刷新重试
Mdocs/cache-and-sync-model.md+1-1文件内容审核中,请稍后刷新重试
Mdocs/config-reference.md+12-0文件内容审核中,请稍后刷新重试
Minternal/adminhttp/observation.go+30-1文件内容审核中,请稍后刷新重试
Minternal/adminhttp/observation_test.go+4-0文件内容审核中,请稍后刷新重试
Minternal/adminhttp/testdata/snapshot.golden.json+15-1文件内容审核中,请稍后刷新重试
Rinternal/adminui/assets/_app/immutable/assets/2.CLl6DfQM.cssinternal/adminui/assets/_app/immutable/assets/2.DFLNkVJK.css+1-1文件内容审核中,请稍后刷新重试
Rinternal/adminui/assets/_app/immutable/entry/app.CG9JOKY2.jsinternal/adminui/assets/_app/immutable/entry/app.6j3EmJGq.js+2-2文件内容审核中,请稍后刷新重试
Ainternal/adminui/assets/_app/immutable/nodes/2.Bj4F75w5.js+3-0文件内容审核中,请稍后刷新重试
Minternal/adminui/assets/index.html+3-3文件内容审核中,请稍后刷新重试
Minternal/cli/cli.go+1-1文件内容审核中,请稍后刷新重试
Minternal/config/config.go+4-1文件内容审核中,请稍后刷新重试
Minternal/config/effective.go+88-24文件内容审核中,请稍后刷新重试
Minternal/config/effective_test.go+29-0文件内容审核中,请稍后刷新重试
Minternal/config/rag_config.go+86-7文件内容审核中,请稍后刷新重试
Minternal/servicectl/admin_observation.go+12-0文件内容审核中,请稍后刷新重试
Minternal/servicectl/admin_observation_test.go+4-0文件内容审核中,请稍后刷新重试
Minternal/servicectl/ipc_test.go+121-0文件内容审核中,请稍后刷新重试
Minternal/servicectl/job_actions.go+2-2文件内容审核中,请稍后刷新重试
Minternal/servicectl/jobs.go+181-25文件内容审核中,请稍后刷新重试
Minternal/servicectl/maintenance.go+3-0文件内容审核中,请稍后刷新重试
Minternal/servicectl/manager.go+9-1文件内容审核中,请稍后刷新重试
Mweb/src/lib/admin.ts+17-0文件内容审核中,请稍后刷新重试
Mweb/src/routes/+page.css+15-0文件内容审核中,请稍后刷新重试
Mweb/src/routes/+page.svelte+20-1文件内容审核中,请稍后刷新重试