Repository navigation
Fix: verify rollbacks to published Elemod releases - #1991
Merged
Merged
Conversation
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.
The version check rejected recovery from an unpublished Elemod update even when production still served the older version. This stopped the Rytm recovery after #1966 and #1967 and held up the release of #1989.
A downgrade now requires the complete tracked module folder and release notes from the last successful production Pages commit, no extra untracked source, and the same verified package records that the live builder serves. The release commit must be in the base history. The check fetches production metadata only for a downgrade of a listed Elemod. The ordinary source, qualification, and version checks still run.
I ran the checker on the actual BD ANALOG 0.2.1 and QPER 0.2.2 recovery tree against production. Focused regressions cover modified and extra files, wrong or missing packages, differing hashes, and an unavailable or unsuccessful release. I also ran
npm run pr:ready.Guides: docs/MODULE_AUTHOR_UPDATES.md now describes the release files and network access required to verify a rollback.