Skip to content
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: fix cb/sync writev empty array behavior #41932

Closed
wants to merge 2 commits into from

Conversation

@benjamingr
Copy link
Member

@benjamingr benjamingr commented Feb 11, 2022

This change aligns the cb/sync behavior of writev with the promises one at #41919

I suspect the old behavior was a bug since it wasn't tested or documented so I am treating this as a bug fix rather than a behavior change but I am open to changing that if people feel differently.

Refs: #41910

cc @aduh95 @ronag @JungMinu

lib/fs.js Outdated Show resolved Hide resolved
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Feb 11, 2022

aduh95
aduh95 approved these changes Feb 11, 2022
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Feb 11, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Feb 11, 2022

ronag
ronag approved these changes Feb 12, 2022
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Feb 13, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Feb 13, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Feb 13, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Feb 13, 2022

@benjamingr
Copy link
Member Author

@benjamingr benjamingr commented Feb 14, 2022

Not sure what's up with CI I'll try a new run

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Feb 14, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Feb 14, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Feb 14, 2022

Commit Queue failed
- Loading data for nodejs/node/pull/41932
✔  Done loading data for nodejs/node/pull/41932
----------------------------------- PR info ------------------------------------
Title      fs: fix cb/sync writev empty array behavior (#41932)
Author     Benjamin Gruenbaum  (@benjamingr)
Branch     benjamingr:fix-writeev-sync-cb -> nodejs:master
Labels     fs, needs-ci
Commits    2
 - fs: fix cb/sync writev empty array behavior
 - fixup! ensure cb behavior
Committers 1
 - Benjamin Gruenbaum 
PR-URL: https://github.com/nodejs/node/pull/41932
Refs: https://github.com/nodejs/node/issues/41910
Reviewed-By: Antoine du Hamel 
Reviewed-By: Robert Nagy 
Reviewed-By: James M Snell 
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/41932
Refs: https://github.com/nodejs/node/issues/41910
Reviewed-By: Antoine du Hamel 
Reviewed-By: Robert Nagy 
Reviewed-By: James M Snell 
--------------------------------------------------------------------------------
   ℹ  This PR was created on Fri, 11 Feb 2022 10:33:55 GMT
   ✔  Approvals: 3
   ✔  - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/41932#pullrequestreview-880033400
   ✔  - Robert Nagy (@ronag) (TSC): https://github.com/nodejs/node/pull/41932#pullrequestreview-880871265
   ✔  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/41932#pullrequestreview-880871990
   ✖  GitHub CI is still running
   ℹ  Last Full PR CI on 2022-02-14T12:05:58Z: https://ci.nodejs.org/job/node-test-pull-request/42549/
- Querying data for job/node-test-pull-request/42549/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/1842083455

@benjamingr
Copy link
Member Author

@benjamingr benjamingr commented Feb 14, 2022

Not sure why pending is showing

@benjamingr
Copy link
Member Author

@benjamingr benjamingr commented Feb 14, 2022

@nodejs/build this is showing "passed" on Jenkins but GitHub is not updated.

I'll land manually but pinging in case you want to investigate.

@benjamingr
Copy link
Member Author

@benjamingr benjamingr commented Feb 14, 2022

Landed in aff8b87 🎉

@benjamingr benjamingr closed this Feb 14, 2022
benjamingr added a commit that referenced this issue Feb 14, 2022
PR-URL: #41932
Refs: #41910
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
bengl added a commit to bengl/node that referenced this issue Feb 21, 2022
PR-URL: nodejs#41932
Refs: nodejs#41910
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
bengl added a commit to bengl/node that referenced this issue Feb 21, 2022
PR-URL: nodejs#41932
Refs: nodejs#41910
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@bengl bengl mentioned this pull request Feb 21, 2022
bengl added a commit that referenced this issue Feb 21, 2022
PR-URL: #41932
Refs: #41910
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
bengl added a commit that referenced this issue Feb 22, 2022
PR-URL: #41932
Refs: #41910
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants