Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions scripts/validate_feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down
Loading