Skip to content

validate_feed: skip superseded releases missing from the test channel - #149

Merged
jsokol merged 1 commit into
updates-test.simplerisk.comfrom
fix-validate-test-channel
Nov 15, 2026
Merged

jsokol merged 1 commit into
updates-test.simplerisk.comfrom
fix-validate-test-channel

Conversation

@jsokol

@jsokol jsokol commented Nov 15, 2026

Copy link
Copy Markdown
Member

Problem

Validate feed against its channel fails on every PR into the testing branch. On the test channel it requires every release that publishes a bundle_sha256 to be fetchable from bundles-test.simplerisk.com, but that host serves only the build currently under test. Superseded releases that still carry their hash (20261020-001, 20260917-001) return 404, so the check fails for reasons unrelated to the PR (it blocked the VM hashes PR #148).

Change

scripts/validate_feed.py: on the test channel, a release other than the current one whose bundle is absent is reported as SKIP instead of an error.

Unchanged:

  • The current release must be present and its sha256 and md5 must match.
  • Any bundle that is served must match its hash, on both channels.
  • The prod channel check is untouched and still requires every claimant.

Checked

Ran against the live feed from this branch:

  • test: PASSED (current verified, two superseded skipped)
  • prod: PASSED (all three claimants verified)

The same change is opened against both channel branches, since each branch carries its own copy of the script.

🤖 Generated with Claude Code

…ndle 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 <noreply@anthropic.com>
@jsokol
jsokol marked this pull request as ready for review November 15, 2026 18:40
@jsokol
jsokol merged commit 500f389 into updates-test.simplerisk.com Nov 15, 2026
1 check passed
@jsokol
jsokol deleted the fix-validate-test-channel branch November 15, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant