Skip to content

Conversation

@amerharb
Copy link
Collaborator

Description

@WULCAN find this interesting case in node where fs/promises writeFile that can effected us that we might write files but git commit and push the older version of these files related to a new flush option in writeFile: nodejs/node#50009

Changes

write files with flush option true as fs(path, body, { flush: true });

This change required upgrade to at least Node 21 so I updated to Node 22

Copy link
Collaborator

@WULCAN WULCAN left a comment

Choose a reason for hiding this comment

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

Thank you, there's just one more place that needs to change to update Node.

@WULCAN WULCAN merged commit 4528dc0 into main Apr 12, 2025
1 check passed
@WULCAN WULCAN deleted the undocumented/250315-use-flush-option branch April 12, 2025 12:24
@amerharb amerharb linked an issue Apr 12, 2025 that may be closed by this pull request
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.

Writes are not flushed before subsequent read

3 participants