Repository navigation
test: cover external manifest copy failure recovery - #8454
Merged
Merged
Conversation
Xuanwo
marked this pull request as ready for review
August 10, 2026 16:57
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
There was a problem hiding this comment.
✅ Gate recommendation: approve.
This directly covers the previously untested failure boundary where the external store has committed the staging location but the staging-to-canonical copy fails. The test verifies that staging remains authoritative, a later resolver publishes the canonical path, and cleanup occurs only after finalization.
wkalt
approved these changes
Aug 11, 2026
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.
Follow-up to #7722.
The existing
ExternalManifestCommitHandlerregression covers a lost response from the external manifest store, but not the distinct sequence where the external store records the staging path and the subsequent object-store copy fails. Without this coverage, future cleanup changes could delete the winning staging manifest and prevent later readers from finalizing the commit.This adds a one-shot pre-copy failure and verifies that the staging manifest remains authoritative until
resolve_version_locationcompletes finalization, publishes the canonical path, and removes staging.