-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs: add flush option to createWriteStream() #50093
Conversation
This commit adds a 'flush' option to the createWriteStream() family of functions. Refs: nodejs#49886
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Commit Queue failednode:internal/modules/cjs/loader:1077 const err = new Error(message); ^
Node.js v18.18.0 https://github.com/nodejs/node/actions/runs/6480389717 |
Commit Queue failednode:internal/modules/cjs/loader:1077 const err = new Error(message); ^
Node.js v18.18.0 https://github.com/nodejs/node/actions/runs/6480615480 |
@nodejs/build could somebody take a look while the commit-queue automation is failing? |
This looks like ljharb/through#1 cc @ljharb . |
Fixed; published v2.3.11 of |
Commit Queue failed- Loading data for nodejs/node/pull/50093 ✔ Done loading data for nodejs/node/pull/50093 ----------------------------------- PR info ------------------------------------ Title fs: add flush option to createWriteStream() (#50093) Author Colin Ihrig (@cjihrig) Branch cjihrig:stream-flush -> nodejs:main Labels fs, author ready Commits 4 - fs: add flush option to createWriteStream() - nits - nit - linter Committers 1 - cjihrig PR-URL: https://github.com/nodejs/node/pull/50093 Refs: https://github.com/nodejs/node/issues/49886 Reviewed-By: Yagiz Nizipli Reviewed-By: Matteo Collina Reviewed-By: Marco Ippolito ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/50093 Refs: https://github.com/nodejs/node/issues/49886 Reviewed-By: Yagiz Nizipli Reviewed-By: Matteo Collina Reviewed-By: Marco Ippolito -------------------------------------------------------------------------------- ℹ This PR was created on Sun, 08 Oct 2023 22:01:09 GMT ✔ Approvals: 3 ✔ - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/50093#pullrequestreview-1663616804 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/50093#pullrequestreview-1663977809 ✔ - Marco Ippolito (@marco-ippolito): https://github.com/nodejs/node/pull/50093#pullrequestreview-1667059864 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2023-10-11T08:12:31Z: https://ci.nodejs.org/job/node-test-pull-request/54694/ - Querying data for job/node-test-pull-request/54694/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/main up to date... From https://github.com/nodejs/node * branch main -> FETCH_HEAD ed49722a8a..f23a9353ae main -> origin/main ✔ origin/main is now up-to-date main is out of sync with origin/main. Mismatched commits: - 503f0f348b deps: update corepack to 0.21.0 - f23a9353ae deps: update corepack to 0.21.0 -------------------------------------------------------------------------------- HEAD is now at f23a9353ae deps: update corepack to 0.21.0 ✔ Reset to origin/main - Downloading patch for 50093 From https://github.com/nodejs/node * branch refs/pull/50093/merge -> FETCH_HEAD ✔ Fetched commits as f23a9353ae83..ff247dfad516 -------------------------------------------------------------------------------- Auto-merging doc/api/fs.md Auto-merging lib/fs.js [main 0f635c4b76] fs: add flush option to createWriteStream() Author: cjihrig Date: Sun Oct 8 17:58:50 2023 -0400 5 files changed, 116 insertions(+), 4 deletions(-) create mode 100644 test/parallel/test-fs-write-stream-flush.js [main c547629ef9] nits Author: cjihrig Date: Sun Oct 8 18:48:51 2023 -0400 1 file changed, 6 insertions(+), 3 deletions(-) [main b3040a1c1d] nit Author: cjihrig Date: Sun Oct 8 19:03:00 2023 -0400 1 file changed, 1 deletion(-) [main 8fc285dc93] linter Author: cjihrig Date: Sun Oct 8 19:04:24 2023 -0400 1 file changed, 1 insertion(+), 1 deletion(-) ✔ Patches applied There are 4 commits in the PR. Attempting autorebase. Rebasing (2/8)https://github.com/nodejs/node/actions/runs/6485039679 |
Landed in 8a49735 |
This commit adds a 'flush' option to the createWriteStream() family of functions. Refs: nodejs#49886 PR-URL: nodejs#50093 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit adds a 'flush' option to the createWriteStream() family of functions. Refs: nodejs#49886 PR-URL: nodejs#50093 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit adds a
'flush'
option to thecreateWriteStream()
family of functions.Refs: #49886