feat(gate): self-heal preflight for a poisoned module cache - resolution canary, one loud purge-and-retry #132
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
A machine-side cache incident (2026-07-15: an external cache GC file-pruned the shared GOMODCACHE and hollowed out extracted module dirs) made ./scripts/gate.sh fail with cryptic per-package errors ("no required module provides package github.com/spf13/cobra" with a perfectly correct go.mod). Go auto-fetches MISSING modules, but a mutated-yet-present cache is trusted by contract - so the gate red-fails with no hint the cache is the culprit, and recovery took human archaeology.
Ask
gate.sh gains a cheap preflight before the check matrix:
go list -deps ./internal/cmdresultorgo build -non a tiny package). Cost when healthy: sub-second.go clean -modcache(and-cacheif the second attempt still fails), re-run the canary once, and continue if healed. One retry, never a loop.Acceptance