-
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
src: replace splitstring with built-in #54990
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #54990 +/- ##
=======================================
Coverage 88.07% 88.08%
=======================================
Files 652 652
Lines 183653 183705 +52
Branches 35856 35865 +9
=======================================
+ Hits 161753 161809 +56
+ Misses 15146 15142 -4
Partials 6754 6754
|
43335d5
to
d9790fe
Compare
cc @nodejs/cpp-reviewers |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
cc @nodejs/platform-smartos it seems smartos doesn't implement C++20 correctly. |
@anonrig The log indicates that GCC 10 is used (which is the default in SmartOS as far as I can tell). However, Node requires g++ 12.2.0 or clang++ 8.0.0 or better. And, indeed, look carefully at the build log...
It is surprising that this PR hits this issue. |
SmartOS is in the process of being migrated to newer SmartOS as part of the migration of non-ARM servers from Equinix Metal: nodejs/build#3731 nodejs/build#3806 tracks gcc 12 deployment -- SmartOS is the remaining platform and the expectation is that moving to SmartOS 23 should resolve that. |
@richardlau did the smartos migration complete? is there any blocker for this pull-request atm? |
@anonrig I'm not actively involved in the smartos migration, but I don't believe it's complete yet. |
This comment was marked as outdated.
This comment was marked as outdated.
@jasnell @nodejs/platform-macos @nodejs/build this is blocked by the OSX infrastructure. |
@nodejs/tsc ... just fyi on another CI infrastructure block |
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
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Commit Queue failed- Loading data for nodejs/node/pull/54990 ✔ Done loading data for nodejs/node/pull/54990 ----------------------------------- PR info ------------------------------------ Title src: replace splitstring with built-in (#54990) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch anonrig:replace-stringviewsplit -> nodejs:main Labels c++, lib / src, needs-ci, dont-land-on-v18.x, dont-land-on-v20.x Commits 1 - src: replace splitstring with built-in Committers 1 - Yagiz Nizipli <yagiz@cloudflare.com> PR-URL: https://github.com/nodejs/node/pull/54990 Reviewed-By: Daniel Lemire <daniel@lemire.me> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/54990 Reviewed-By: Daniel Lemire <daniel@lemire.me> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> -------------------------------------------------------------------------------- ℹ This PR was created on Wed, 18 Sep 2024 01:10:06 GMT ✔ Approvals: 5 ✔ - Daniel Lemire (@lemire): https://github.com/nodejs/node/pull/54990#pullrequestreview-2312621536 ✔ - Chengzhong Wu (@legendecas) (TSC): https://github.com/nodejs/node/pull/54990#pullrequestreview-2317889526 ✔ - Robert Nagy (@ronag) (TSC): https://github.com/nodejs/node/pull/54990#pullrequestreview-2317895154 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/54990#pullrequestreview-2319866121 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/54990#pullrequestreview-2572079210 ✘ Last GitHub CI failed ℹ Last Full PR CI on 2025-02-09T18:11:51Z: https://ci.nodejs.org/job/node-test-pull-request/65094/ - Querying data for job/node-test-pull-request/65094/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/13228903356 |
The GitHub UI is showing wrong labels. Jenkins CI passes. What is the proper action in this step? @nodejs/build |
The only way to remove this check would be to rebase. The job was removed as part of the macOS update to 13 |
Would it be appropriate to land this manually? |
That's what I would do |
Cc @nodejs/tsc due to the removed ci job, I have to land this manually (to avoid re-running the whole CI one more time). Please comment here if you disagree. I'll land this tomorrow if not. |
PR-URL: nodejs#54990 Reviewed-By: Daniel Lemire <daniel@lemire.me> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
6511d48
to
b0c6e10
Compare
Landed in b0c6e10 |
PR-URL: #54990 Reviewed-By: Daniel Lemire <daniel@lemire.me> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Replaces SplitString function with built-in implementation available for C++20