Repository navigation
ci(measure): the held-out fetchers resume a short transfer instead of restarting it (#1386) - #1391
Merged
Merged
Conversation
…short, through one shared helper, instead of restarting it (#1386)
This was referenced Nov 4, 2026
DrunkOnJava
enabled auto-merge (squash)
November 4, 2026 22:01
DrunkOnJava
added a commit
that referenced
this pull request
Nov 4, 2026
) (#1393) ## Summary Closes #1392. A Measure run asked for the held-out check could finish green with no held-out model measured. That happened in two ways: - a download failure, which was only a warning (run 41917795170); - a `models` input that excluded every held-out model (run 41919975103). Changes: - **Download failure:** a held-out file that still cannot be fetched after the resumed retries of #1391 is now an error with NOT MEASURED. - **New step, "The held-out check measured something":** it fails a shard asked for the held-out check that produced no `holdout-*` or `spent-*` result. The error names the cause and the `models` value to use. ## Testing Two dispatched runs on this branch: - `holdout=true models=zzz-no-model` must fail at the new step. - `holdout=true` with no `models` must stay green with the held-out models counted. Measured: run 41920834074 (`holdout=true models=zzz-no-model`) failed at the new step with "held-out and spent models measured: 0" and the error naming the models input. Run 41920848554 (`holdout=true models="holdout-* spent-*"`) passed it with the held-out models counted. The workflow parses, and actionlint reports nothing new. ## Related issues #1386, #1391
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs #1386. #1387 made
tools/fetch-reference-models.shresume a reference model the CDN returned short. The held-out fetchers (tools/ci/fetch-holdout-models.sh,tools/ci/fetch-holdout-archives.sh) still usedcurl --retry 3, which restarts from zero on every retry. Measure run 41917795170's held-out shard reported "held-out models NOT MEASURED: a file could not be downloaded", so #1382's holdout check measured nothing.Both now go through
tools/ci/fetch-resume.sh(fetch_resume URL OUT):curl -C -resumes a partial file.The pin checks (sha256 and byte count, exit 1 on a mismatch, 2 when a file cannot be fetched) are unchanged.
Testing
fetch_resumeresumed a 300,000-byte partial of Einhoven (media.githubusercontent.com) to 913,408 bytes, and the result matches its pinned sha256.bash -nandshellcheck -xare clean on all three scripts.