feat(ci): auto-publish mainnet fixture patch releases from the nightly fill - #3385
Open
spencer-tb wants to merge 1 commit into
Open
feat(ci): auto-publish mainnet fixture patch releases from the nightly fill#3385spencer-tb wants to merge 1 commit into
spencer-tb wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## forks/amsterdam #3385 +/- ##
================================================
Coverage 93.53% 93.53%
================================================
Files 624 624
Lines 37074 37074
Branches 3394 3394
================================================
Hits 34679 34679
Misses 1645 1645
Partials 750 750
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
spencer-tb
force-pushed
the
draft-mainnet-release-cron
branch
3 times, most recently
from
August 22, 2026 16:09
696b49b to
26e3c45
Compare
spencer-tb
marked this pull request as ready for review
August 22, 2026 16:20
spencer-tb
force-pushed
the
draft-mainnet-release-cron
branch
4 times, most recently
from
August 22, 2026 22:22
59eba93 to
414df23
Compare
spencer-tb
force-pushed
the
draft-mainnet-release-cron
branch
from
August 24, 2026 08:53
414df23 to
f90f146
Compare
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.
Description
Automates fortnightly mainnet fixture patch releases from the existing nightly fill while keeping every mainnet-fork (
X) and consensus-revision (Y) release manual.The release policy is explicit:
XvX.0.0releaseYvX.Y.0releaseZMaintainers select the active
X.Yseries in.github/configs/mainnet_fixture_version.yaml. A consensus-changing PR incrementsconsensus_revision; a new-mainnet-fork PR incrementsforkand resets the revision to zero. The scheduled workflow never chooses anXorYbump: while the configured series is ahead of the latest published release it publishes nothing and points to the exact manualvX.Y.0release required.When the configured and published series match, nightly fixture changes accumulate. The first eligible nightly at least 14 days after the latest published
tests@release publishes the nextZpatch from that run's own artifact. An unchanged fixture root produces no release. A manual major or minor release starts a fresh 14-day patch window.Content and integrity gates
Every combined fill records two small assets alongside
fixtures.tar.gz:index_root.txtprovides the cheap content-equality check;fixtures_index.json.gzsupports per-fixture validation and added/removed/changed counts.The scheduled job publishes only a validated patch. It produces no release when the previous or current index is missing, corrupt or ambiguous;
(json_path, id)identities are duplicated; a mass disappearance suggests a partial fill; the fork set changes unexpectedly; release-note commit enumeration is incomplete; or a newer manual draft is pending.Manual mainnet release creation and scheduled patch publication share a concurrency lock, preventing both paths from selecting or creating the same next
tests@version simultaneously.Releases predating the standalone index asset bootstrap from the leading metadata members of
fixtures.tar.gz; the streaming reader allows files such asfixtures.inibeforeindex.jsonand stops before downloading the fixture body.Manual releases and cached artifacts
Manual
testsreleases are validated against the configured series. A new-series release must be exactly the configuredvX.Y.0.Cached releases remain fast, but a cached new-series release may reuse only a nightly whose target commit already contains that exact series marker. This prevents a just-merged consensus or fork release from accidentally attaching fixtures built before the change. If no matching nightly exists, the workflow requires a fresh fill or an explicitly selected newer nightly.
The
A-testslabel never gates publication; it only selects PRs for the generated release notes.Verification
91 passedin.github/scripts/tests/test_release_scripts.pyjust staticRelated Issues or PRs
N/A.
Checklist
Cute Animal Picture