-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
assert,util: change WeakMap and WeakSet comparison handling #53495
Conversation
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.
Thank you for picking this up!
Time has passed and I agree by now that this behavior is better.
+1 with my suggestions
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
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 % comments
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, thanks for the fast following up on the suggestions!
@synapse just a small nit that does not have to be followed up upon: We have a commit message rule about adding the subsystem to each commit. In this specific case it could e.g., look like: |
Commit Queue failed- Loading data for nodejs/node/pull/53495 ✔ Done loading data for nodejs/node/pull/53495 ----------------------------------- PR info ------------------------------------ Title assert,util: change WeakMap and WeakSet comparison handling (#53495) Author Cristian Barlutiu (@synapse, first-time contributor) Branch synapse:weak-handle -> nodejs:main Labels assert, util, semver-major, author ready, commit-queue-rebase Commits 1 - assert,util: change WeakMap and WeakSet comparison handling Committers 1 - Cristian Barlutiu PR-URL: https://github.com/nodejs/node/pull/53495 Reviewed-By: Matteo Collina Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell Reviewed-By: Benjamin Gruenbaum Reviewed-By: Moshe Atlow Reviewed-By: Luigi Pinca Reviewed-By: Minwoo Jung ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/53495 Reviewed-By: Matteo Collina Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell Reviewed-By: Benjamin Gruenbaum Reviewed-By: Moshe Atlow Reviewed-By: Luigi Pinca Reviewed-By: Minwoo Jung -------------------------------------------------------------------------------- ℹ This PR was created on Tue, 18 Jun 2024 06:26:58 GMT ✔ Approvals: 7 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/53495#pullrequestreview-2125017937 ✔ - Ruben Bridgewater (@BridgeAR) (TSC): https://github.com/nodejs/node/pull/53495#pullrequestreview-2125500391 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/53495#pullrequestreview-2127119543 ✔ - Benjamin Gruenbaum (@benjamingr) (TSC): https://github.com/nodejs/node/pull/53495#pullrequestreview-2129045696 ✔ - Moshe Atlow (@MoLow) (TSC): https://github.com/nodejs/node/pull/53495#pullrequestreview-2129451730 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/53495#pullrequestreview-2133314585 ✔ - Minwoo Jung (@JungMinu): https://github.com/nodejs/node/pull/53495#pullrequestreview-2133810643 ✘ Last GitHub CI failed ℹ Last Full PR CI on 2024-06-25T13:43:09Z: https://ci.nodejs.org/job/node-test-pull-request/59964/ - Querying data for job/node-test-pull-request/59964/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/9682614533 |
Does anyone know why fedora always fails? I will start the CI again. |
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
Landed in 9cd9aa8...764b13d |
PR-URL: #53495 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Fixes #18227
As discussed in the task I've added :
WeakSet
orWeakMap
and compare their instanceWeak*
instances comparison