test(verify): gate on regressions against the generic slot, not fallback rate #179
Loading…
Reference in a new issue
No description provided.
Delete branch "test/regression-gate"
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?
Motivation
The readiness check added in #175 failed a slot when more than 10% of its per-minor entries were source fallbacks. That stopped being a meaningful signal once rpkgs/bincraft#113 and #114 landed.
Since bincraft keeps a matching-minor generic binary out of a fallback's shadow, a surviving fallback means the generic slot's binary was built under a different minor — unsafe for that client anyway. Serving source there is correct, just slow. Failing on that share blocks slots that are genuinely ready:
amd64/noblesits at 53% for 4.5 and 4.6 while regressing nobody.Change
Gate on the thing that actually decides enablement: packages a client of minor M would receive as source through per-minor routing while the generic slot holds a binary built under M itself. That is strictly worse than not routing at all, and must be zero.
Fallback share is still printed, as context rather than a verdict.
Verification
Measured across every reindexed slot and minor after the
reindex=allrun: zero regressions everywhere.shellcheckclean; script exercised against the live indexes.