Repository navigation
Conversation
…path Registry was keyed per PR x shard, so every new PR and merge-queue ref cold-fetched all crates from crates.io; pin_build_base re-fetched a base the checkout could already hold. Seed a cold registry from a host-local seed (published by green shards); pin reads a local base first and checkout depth is 2 in the guard jobs. brownout_test.sh is RED without the fix. Pmat-Ticket: PMAT-5751 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
§13.11 rung 1 — quorum shadow verdict Shadow mode: this records a verdict and merges nothing. A refusal |
This branch has not been deployed
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.
Fixes #5751. During a WAN brownout, merge jobs failed on crates.io timeouts and on
pin_build_base"cannot fetch the build base". This PR removes both network dependencies from the common merge path.Root cause. The cargo registry mounted into each job is keyed per PR × shard (
cargo-ci/registry/<PR_OR_REF>-sN). Every new PR and every merge-queue ref therefore starts with an empty registry and downloads its full dependency set from crates.io before it compiles. Separately,pin_build_base.shalways re-fetched the build base from github.com, even though the base is the merge commit's first parent. The existing P6 retry only retries, which does not survive a brownout lasting minutes.Changes:
scripts/ci/seed_registry.sh:/mnt/nvme-raid0/cargo-ci/registry/_seed. This step never fails the job.ci/sections.yml:fetch-depth: 2on the two guard-job checkouts.pin_build_base.sh: uses the base commit locally whencat-filefinds it. Otherwise it falls back to the unchanged P6 fetch.Tests.
scripts/tests/brownout_test.shhas 6 red results before the fix and 7 ok, 0 red after.pin_build_base.sh --self-testgives 30 ok.fetch_p6.sh --check-wiringpasses. bashrs lint reports 0 errors.Caveats:
_seed. paiml/infra PMAT-1880 adds an explicit guard and a log line, so a later, wider enumerator still cannot reach it.🤖 Generated with Claude Code