Skip to content

fix: check the close of files fsx publishes - #92

Merged
HaoZeke merged 1 commit into
developfrom
fix/fsx-close-check
Nov 25, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/fsx-close-check

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

replaceContents closes the file once, before the rename that
publishes it. moveAcross does the same for each regular file it
copies. A failed close returns its errno and removes the temporary
path. The destination stays as it was. A close that a signal
interrupts is not retried and is not an error, which is how
sys.result treats it. The close goes through fsx.publish_ops so a
test can inject a failure.

replaceContents closes the file once, before the rename that
publishes it. moveAcross does the same for each regular file it
copies. A failed close returns its errno and removes the temporary
path. The destination stays as it was. A close that a signal
interrupts is not retried and is not an error, which is how
sys.result treats it. The close goes through fsx.publish_ops so a
test can inject a failure.
@HaoZeke
HaoZeke merged commit 76ef0ba into develop Nov 25, 2026
8 checks passed
@HaoZeke
HaoZeke deleted the fix/fsx-close-check branch November 25, 2026 23:51
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