Skip to content

fix(archive): recheck cancellation after final disk sync - #1361

Merged
leemour merged 3 commits into
mainfrom
fix/native-partial-late-cancellation
Oct 16, 2026
Merged

leemour merged 3 commits into
mainfrom
fix/native-partial-late-cancellation

Conversation

@leemour

@leemour leemour commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

A recording writer could finish its last disk sync while the caller cancelled, then return a completion receipt. Recheck cancellation after both persistent and ephemeral durability boundaries and before setting completion. Two fault cases cancel inside the final sync and still require every opened handle to close.

Provider adoption also moves three native fault checks to the implementation's test harness: failed fresh-handle cleanup, oversized serialized metadata and same-content replacement between verification and writable open. Published dependencies do not inherit a consumer's Vitest filesystem mocks; Zoom retains observable host failures while Core now owns these exact handle/race assertions. All 29 native adapter cases pass. This completes the adapter before its first publication.

@leemour
leemour merged commit d24194d into main Oct 16, 2026
2 checks passed
@leemour
leemour deleted the fix/native-partial-late-cancellation branch October 16, 2026 17:04
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