From 0143a0514f39ef37e23002b7a0ce368538ed63ea Mon Sep 17 00:00:00 2001 From: Josh Sokol Date: Sun, 15 Nov 2026 12:39:00 -0600 Subject: [PATCH] validate_feed: on the test channel, skip superseded releases whose bundle is gone The test channel serves only the build under test, so a superseded release that still publishes its bundle_sha256 is absent there, which made every PR into the testing branch fail. Only the current release must be present on the test channel, and any bundle that is served must still match. The prod channel check is unchanged. Co-Authored-By: Claude Sonnet 5.5 --- scripts/validate_feed.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/validate_feed.py b/scripts/validate_feed.py index c34e544..06eac72 100755 --- a/scripts/validate_feed.py +++ b/scripts/validate_feed.py @@ -186,6 +186,15 @@ def main() -> int: want = rel[v]["sha256"] url = BUNDLE_URL[channel].format(v=v) blob, why = fetch(url) + if blob is None and channel == "test" and v != current: + # The testing channel serves only the build it is currently testing + # (bundles-test is pruned to the current bundle), so a superseded + # release that still carries its hash is expected to be absent + # there. Its bundle is checked on the prod channel, which keeps + # every release. A bundle that IS served must still match, and the + # current release must always be present. + note(f"SKIP {v} bundle is not on the test channel ({why}); the test channel serves only the current release") + continue if blob is None: err(f"{v} publishes a bundle_sha256 but its bundle is not fetchable " f"on the {channel} channel ({why}): {url}")