Skip to content

test: cover external manifest copy failure recovery - #8454

Merged
Xuanwo merged 1 commit into
mainfrom
xuanwo/test-external-manifest-copy-failure
Aug 11, 2026
Merged

Xuanwo merged 1 commit into
mainfrom
xuanwo/test-external-manifest-copy-failure

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Aug 10, 2026

Copy link
Copy Markdown
Member

Follow-up to #7722.

The existing ExternalManifestCommitHandler regression 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_location completes finalization, publishes the canonical path, and removes staging.

@github-actions github-actions Bot added the chore label Aug 10, 2026
@Xuanwo
Xuanwo marked this pull request as ready for review August 10, 2026 16:57
@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@lance-gatekeeper lance-gatekeeper Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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.

@lance-gatekeeper lance-gatekeeper Bot added the K-approved Latest Gatekeeper recommendation permits acceptance. label Aug 10, 2026
@Xuanwo
Xuanwo merged commit ede0c33 into main Aug 11, 2026
41 checks passed
@Xuanwo
Xuanwo deleted the xuanwo/test-external-manifest-copy-failure branch August 11, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore K-approved Latest Gatekeeper recommendation permits acceptance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants