fix(serve): reclaim witness scratch after restart #139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/witness-scratch-recovery-20260804"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Live root cause: witness PVCs retained abandoned project-check-runs across daemon restarts. The stale trees consumed enough space to force cold fallbacks and false No-space code reds. This change adds startup-only scratch recovery, preserves the warm target/evidence, and fails startup if recovery cannot establish a safe disk state. It also disables incremental/full debug artifacts in the ephemeral 16 GiB CI test job after that runner independently hit ENOSPC.\n\nValidation: failing-first recovery test committed before implementation; local cargo execution is blocked by the shared-checkout safety hook, so Forgejo CI is the authoritative compile/test proof. YAML parsing and workflow mirror policy pass locally.