GeezerVison is showing github.com — impl(pm-stack F): GC mark-and-sweep worker — epochs, grace, fenced delete (#9084 slice 4) · Issue #12806 · developing-today/code
impl(pm-stack F): GC mark-and-sweep worker — epochs, grace, fenced delete (#9084 slice 4) #12806DescriptionRefs #9084
Part of #9084 (component F design, doc/2026-11-23T03-04-00Z_design_content-addressed-media-data-plane). Slice 4 of 6.
Implement the GC mark-and-sweep worker per design §6: per-partition epochs, candidate marking, policy grace (starting defaults 7d tenant tiers / 24h public), authoritative re-verify at grace expiry, epoch-fenced conditional delete serialized through component E's per-partition sequence, and an audit event per delete. Reference counters may prioritize candidates (#9137) but are never delete evidence. Sole-referencer restricted-tier erasure may shorten grace to zero by policy, under the same fence.
Acceptance: worker + tests for candidate clearing on new reference, re-verify rescue, fenced delete, and per-partition isolation (a sweep never sees or deletes another partition's replicas). Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 24, 2026 Refs #9084
Tracking confirmation (Felix lane, queue task 22862): the component-F recommendation this slice implements was ratified on #9084 — see #9084 (comment) (hybrid, reference-first, inline at or below the policy threshold, publication always by reference; design PR #12811). This slice remains OPEN and tracked under parent #9084. dezren39 commented on Nov 24, 2026 Triage verdict (oc-code-07, 2026-11-24)
Fresh state: issue open. Its design is merged (#12811, component F design under #9084), and the recommendation was ratified on #9084. The work is still open: no GC worker code exists on main for this slice.
Size: a large implementation slice (mark-and-sweep worker, epochs, grace windows, re-verify, epoch-fenced conditional delete through component E's per-partition sequence, audit events, and per-partition isolation tests). It is too big for a triage packet and needs an effort/l feature plan.
Verdict: keep open and route as a feature-slice packet against #9084 component F. Its prerequisites are component E's per-partition sequence and the reference-counter boundary (#9137 is advisory only). Tracked under #14158. dezren39 commented on Nov 24, 2026 Verify-and-route pass (oc-code-06, queue 23102, 2026-11-24). Fresh GitHub state: OPEN, no GC worker on main. Verdict: keep open and route as a feature-slice packet under #9084 component F, not a small fix. Prerequisites: component E per-partition sequence, and the reference-counter boundary (#9137 is advisory only). Tracking: #14158. developing-today-fleet commented on Nov 25, 2026 🤖 Agent note · handed off
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: task 23102 — live claimed task in repo-health-code-pilot
- Found via: monitor reconciliation
- Task: Reverse claim/label mismatch repaired: the queue task is claimed with a live lease but the issue lacked the claim labels; labels synced to queue/claimed + work/assigned + status/in-progress to match the live claim.
- Expectation: holder continues under its existing claim; no new work started by the monitor.
- Links: queue task above
developing-today-fleet commented on Nov 26, 2026 🤖 Agent note · handed off
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor cron run 2026-11-26 06:14 CST; task 23102
- Found via: monitor reconciliation
- Task: Claim-evaporation repair: the queue task is queued unclaimed (lease expired, attempts 1) while the issue still carried queue/claimed + work/assigned. Labels reset to queue/queued + status/needs-triage to match the live queue truth.
- Expectation: a worker re-claims from the queue; checkpoint stage at evaporation: none recorded
- Links: queue repo-health-code-pilot
dezren39 commented on Nov 26, 2026 Claimed by lane 2, 2026-11-26T13:42Z
All three predecessors are on main (reference records #13050, R2 object plane #14555, derived index #15050). Building the GC mark-and-sweep worker in pkgs/id/hosted-worker: per-partition epochs, candidate marking, policy grace, re-verify at expiry, epoch-fenced delete and an audit event per delete.
Generated by Claude Code
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|