Repository navigation
fix: handle archived Emulator beta superseded by stable - #91
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Fix the missing beta cross-check in schedule run #15 when a newer stable release supersedes an archived beta and the repository feed removes its dedicated beta package.
Evidence
Targeted official-source snapshot retrieved on 2026-10-03 at approximately 03:51 UTC:
These sources support beta supersession by stable. No generic archive-newer rollout-lag exception is introduced.
Change and boundaries
Report
beta-superseded-by-stableonly when the XML has no dedicated beta package and the latest archive stable release has already passed exact version, filename, and size cross-validation. The matched stable must be strictly newer than the archived beta and dated on or after it.The report warning explicitly states that the historical beta download metadata was not matched against XML. The existing Actions summary also displays this warning on no-change runs. Reject incomplete Emulator XML entries so malformed beta data cannot masquerade as an absent channel.
A present older beta, equal/older stable, later beta date, missing or unverified stable, wrong channel, filename/size mismatch, malformed XML, and invalid archive download metadata remain fail-closed. Existing exact matches,
repository-newerbehavior and staleness warnings remain intact. The workflow, published pages, download validation rules, and generated-update PR flow are unchanged.Validation
python3 -m unittest discover -s tests -v: 20 tests passed (original baseline: 13).matched; beta 37.2.11beta-superseded-by-stable.git diff --checkpassed.Scope is limited to the updater and regression tests; PR #89's full release-content audit was not repeated.