Uh oh!
There was an error while loading. Please reload this page.
fs: improve error perf of sync chmod+fchmod - #49859
Conversation
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Sep 25, 2023
nodejs-github-bot
commented
Sep 25, 2023
Trott
commented
Sep 25, 2023
@nodejs/fs @nodejs/cpp-reviewers |
anonrig
commented
Sep 27, 2023
@CanadaHonk can you resolve the conflicts? |
RaisinTen
left a comment
There was a problem hiding this comment.
LGTM but merge commits aren't supported by our tooling. Could you please rebase instead?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
CanadaHonk
commented
Sep 27, 2023
I think it's fine with commit-queue-squash? |
This comment was marked as outdated.
This comment was marked as outdated.
RaisinTen
commented
Sep 27, 2023
The problem is that the Jenkins CI will fail because of the merge commit as it does right now |
CanadaHonk
commented
Sep 27, 2023
Yep sorry, should be good now. |
nodejs-github-bot
commented
Sep 27, 2023
joyeecheung
commented
Sep 27, 2023
My point is that we do not need to copy & repeat code from the original implementation for the improvement. The improvement comes from essentially very simple changes - instead of using the |
Qard
left a comment
There was a problem hiding this comment.
I'm with Joyee in thinking the duplication is not great. Can we break out the common parts to another help, maybe? Or maybe we could make an alternate SyncCall(...) that does the direct throw rather than doing the ctx thing?
I'd really like to see us unifying how we're doing our libuv calls, especially to enable implementing native promise versions of things in the future rather than going through callbacks. We get a lot of benefits from using native promises rather than wrapping callback code, like async_hooks becomes unnecessary as PromiseHook already catches the barrier correctly, and we can get async stack traces out of it too.
#49913 has landed. Can you move the JS code back to |
nodejs-github-bot
commented
Oct 11, 2023
nodejs-github-bot
commented
Oct 11, 2023
anonrig
commented
Oct 12, 2023
Landed in 6bd77db...d398529 |
PR-URL: #49859 Refs: nodejs/performance#106 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: #49859 Refs: nodejs/performance#106 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Trott
commented
Oct 15, 2023
It appears that this was manually landed despite a failing Jenkins CI. Was that intentional? |
anonrig
commented
Oct 15, 2023
Yes, because the failing test was fixed in main branch. It was caused by test runner concurrency cli flag. |
For what it's worth, I had a feeling that this PR and #49864 had been merged without passing CI, but I couldn't verify at the time because CI was locked down for security releases. To be clear, manually merging PRs without a passing CI run is not acceptable for any collaborator. There may be rare exceptions with explicit TSC/releasers approval, but that is definitely not the case here. This is a clear violation of the collaborator guidelines, and silently doing so without even leaving an explaining comment only makes it worse. |
anonrig
commented
Oct 15, 2023
PR-URL: #49859 Refs: nodejs/performance#106 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: #49859 Refs: nodejs/performance#106 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Results from i7 Windows laptop:
Ref: nodejs/performance#106