From 58afd7761195390cf752c6594eb0398212d37d2a Mon Sep 17 00:00:00 2001 From: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Sun, 8 Nov 2026 05:55:28 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B1=20ci:=20read=20the=20crux=20file-s?= =?UTF-8?q?ize=20ratchet=20baseline=20from=20crux=20main=20instead=20of=20?= =?UTF-8?q?a=20stale=20pin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pinned crux commit 13372ca7 (2026-10-29) drifted from crux main's baselines; crux lowers baselines on every sync that shrinks a file. A PR within hive's stale headroom was green here and broke crux main for 4h on 2026-11-07 (crux#124). Crux is the source of truth for the baseline so hive should not carry a second copy that can drift. Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- .github/workflows/crux-file-size-ratchet.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/crux-file-size-ratchet.yml b/.github/workflows/crux-file-size-ratchet.yml index 444949a434..2a3e1f869b 100644 --- a/.github/workflows/crux-file-size-ratchet.yml +++ b/.github/workflows/crux-file-size-ratchet.yml @@ -3,8 +3,9 @@ name: crux file-size ratchet # src/crux is published to hivecommons/crux by the crux-sync workflow, and crux # main enforces a Go file-size ratchet that hive CI never ran, so a PR growing a # grandfathered src/crux file was green here and broke crux main on the next -# sync (#15331). Pin the script and baseline together to a reviewed crux commit; -# update the pin when adopting changes to the upstream ratchet. +# sync (#15331). The script and baseline are read from crux main at check time: +# crux lowers its baselines whenever a sync shrinks a file, so a pinned copy +# goes stale within days and lets growth through again (crux#124). on: pull_request: paths: @@ -30,11 +31,11 @@ jobs: persist-credentials: false sparse-checkout: src/crux - - name: Check out the ratchet script and baseline from a pinned crux commit + - name: Check out the ratchet script and baseline from crux main uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: hivecommons/crux - ref: 13372ca72d161cc05e9f795ae4a1b3b352e55a73 # crux main, 2026-10-29 + ref: main path: crux-ratchet persist-credentials: false fetch-depth: 1