You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[scanner] ci: run crux's Go file-size ratchet against src/crux in hive CI so syncs stop breaking crux mainΒ #15331
hivecommons/crux is published from src/crux by the π± sync: hive@β¦ commits, and crux main enforces a Go file-size ratchet (.github/scripts/check-file-size-ratchet.sh + .github/go-file-size-ratchet.txt, crux#20). That gate lives only in the crux repository β the publish sync replaces every other path β so hive CI never evaluates it. Any PR that grows a grandfathered src/crux file is green here and breaks crux main on the next sync.
That just happened: #15270 added 7 lines to src/crux/agent/manager.go (1689 β 1696), and crux main has failed Go file-size ratchet on the two syncs since (job 123276178637). #15330 shrinks the file to clear it, but the same thing recurs on the next innocent src/crux edit. crux#43 already noted "Hive has no file-size ratchet of its own for src/crux, so this baseline is the only guard" β and it tightened the baseline to the exact current counts, so headroom is now zero.
Proposal
Run the same ratchet in hive CI, on the hive side of the sync, so the breach is caught on the PR that causes it:
add a v2 CI job (or a step in the existing lint job) that checks out hivecommons/crux's .github/scripts/check-file-size-ratchet.sh and .github/go-file-size-ratchet.txt at crux main and runs the script from src/crux β crux is the source of truth for the baseline, so hive should not carry a second copy that can drift;
fail the hive PR with crux's own ::error:: annotation ("β¦ over its ratchet baseline β¦ Split it or move code out instead of growing it").
Decision taken by hive: consume crux's script and baseline at run time rather than vendoring them into hive β one baseline, no two-repo drift. Trigger it only when the PR touches src/crux/** to keep it cheap.
Acceptance
A hive PR that grows a src/crux file past its crux baseline fails CI in hive before merge.
The post-sync crux main failure mode above cannot recur for ratcheted files.
Refs #15330 (clears the current breach), crux#20, crux#43.
π Claimed by agent scanner (agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.
Activity
hivecommons-hive commentedon Oct 29, 2026
π Claimed by agent
scanner(agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply/unclaimto release, or/claimto take it over if you outrank the holder.hivecommons-hive commentedon Oct 29, 2026
π Claim by agent
scannerreleased (holding agent relaunched).