-
Notifications
You must be signed in to change notification settings - Fork 30.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
timers: set several methods EOL #56966
Conversation
12fe2b9
to
3be2f72
Compare
4d86d75
to
b565091
Compare
b565091
to
e359ae6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #56966 +/- ##
=======================================
Coverage 89.13% 89.14%
=======================================
Files 665 665
Lines 193165 193144 -21
Branches 37191 37187 -4
=======================================
- Hits 172181 172174 -7
+ Misses 13729 13726 -3
+ Partials 7255 7244 -11
|
@RafaelGSS would you mind running the citgm for this pull-request? I am not sure what to write to git ref label on jenkins ui for this branch (since this is a branch in a fork) |
This comment was marked as outdated.
This comment was marked as outdated.
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.
the file name seems wrong now?
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.
I think it's ok since unenroll is the function that these functions are calling. They're un-enrolling the timers.
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.
Blocking because the description and the deprecation type needs to be updated (I'm in favor of this change)
@marco-ippolito Appreciate a re-review if you don't mind. |
Co-authored-by: Marco Ippolito <[email protected]>
Co-authored-by: Marco Ippolito <[email protected]>
Co-authored-by: Marco Ippolito <[email protected]>
Co-authored-by: Marco Ippolito <[email protected]>
Commit Queue failed- Loading data for nodejs/node/pull/56966 ✔ Done loading data for nodejs/node/pull/56966 ----------------------------------- PR info ------------------------------------ Title timers: set several methods EOL (#56966) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch anonrig:yagiz/eol-timers-fns -> nodejs:main Labels timers, semver-major, deprecations, needs-ci Commits 6 - timers: set several methods EOL - fixup! timers: set several methods EOL - Update doc/api/deprecations.md - Update doc/api/deprecations.md - Update doc/api/deprecations.md - Update doc/api/deprecations.md Committers 2 - Yagiz Nizipli <[email protected]> - GitHub <[email protected]> PR-URL: https://github.com/nodejs/node/pull/56966 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/56966 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> -------------------------------------------------------------------------------- ℹ This PR was created on Sat, 08 Feb 2025 19:54:12 GMT ✔ Approvals: 5 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/56966#pullrequestreview-2604018082 ✔ - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/56966#pullrequestreview-2604053067 ✔ - Rafael Gonzaga (@RafaelGSS) (TSC): https://github.com/nodejs/node/pull/56966#pullrequestreview-2604066665 ✔ - Chemi Atlow (@atlowChemi): https://github.com/nodejs/node/pull/56966#pullrequestreview-2604321043 ✔ - Marco Ippolito (@marco-ippolito) (TSC): https://github.com/nodejs/node/pull/56966#pullrequestreview-2604442341 ✔ Last GitHub CI successful ℹ Last CITGM CI on 2025-02-08T23:18:43Z: https://ci.nodejs.org/job/citgm-smoker/3547/ ℹ Last Full PR CI on 2025-02-09T19:39:54Z: https://ci.nodejs.org/job/node-test-pull-request/65097/ - Querying data for job/node-test-pull-request/65097/ ✔ 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 ✔ origin/main is now up-to-date - Downloading patch for 56966 From https://github.com/nodejs/node * branch refs/pull/56966/merge -> FETCH_HEAD ✔ Fetched commits as 3ea97d5c2513..f94223f1e5a1 -------------------------------------------------------------------------------- [main 2ebbf340e3] timers: set several methods EOL Author: Yagiz Nizipli <[email protected]> Date: Sat Feb 8 14:52:40 2025 -0500 10 files changed, 14 insertions(+), 254 deletions(-) delete mode 100644 test/parallel/test-timers-active.js delete mode 100644 test/parallel/test-timers-enroll-invalid-msecs.js delete mode 100644 test/parallel/test-timers-enroll-second-time.js delete mode 100644 test/parallel/test-timers-unref-active.js delete mode 100644 test/parallel/test-timers-unref-remove-other-unref-timers-only-one-fires.js delete mode 100644 test/parallel/test-timers-unref-remove-other-unref-timers.js [main 75817d3c9b] fixup! timers: set several methods EOL Author: Yagiz Nizipli <[email protected]> Date: Sun Feb 9 14:16:36 2025 -0500 1 file changed, 4 insertions(+), 4 deletions(-) [main 55ae74a2db] Update doc/api/deprecations.md Author: Yagiz Nizipli <[email protected]> Date: Sun Feb 9 14:34:20 2025 -0500 1 file changed, 1 insertion(+), 1 deletion(-) [main 419f84c3c3] Update doc/api/deprecations.md Author: Yagiz Nizipli <[email protected]> Date: Sun Feb 9 14:34:28 2025 -0500 1 file changed, 1 insertion(+), 1 deletion(-) [main 905f8b5875] Update doc/api/deprecations.md Author: Yagiz Nizipli <[email protected]> Date: Sun Feb 9 14:34:36 2025 -0500 1 file changed, 1 insertion(+), 1 deletion(-) [main f91c2cffb6] Update doc/api/deprecations.md Author: Yagiz Nizipli <[email protected]> Date: Sun Feb 9 14:34:43 2025 -0500 1 file changed, 1 insertion(+), 1 deletion(-) ✔ Patches applied There are 6 commits in the PR. Attempting autorebase. Rebasing (2/11) Rebasing (3/11) Executing: git node land --amend --yes --------------------------------- New Message ---------------------------------- timers: set several methods EOLhttps://github.com/nodejs/node/actions/runs/13249312889 |
Landed in 5d7091f |
Make _unrefActive, active, unenroll and enroll EOL. They have been runtime deprecated since v10 and v11, and not even mentioned on Node.js documentation page
cc @nodejs/tsc for visibility
Thanks to @RafaelGSS, here's the CITGM run: https://ci.nodejs.org/job/citgm-smoker/3547/