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

src: move more stuff over to use Maybe<void> #54831

Closed
wants to merge 1 commit into from

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Sep 7, 2024

Convert more things to use Maybe instead of Maybe

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Sep 7, 2024
Copy link

codecov bot commented Sep 7, 2024

Codecov Report

Attention: Patch coverage is 43.39623% with 30 lines in your changes missing coverage. Please review.

Project coverage is 88.24%. Comparing base (a1cd3c8) to head (d7f1948).
Report is 34 commits behind head on main.

Files with missing lines Patch % Lines
src/api/environment.cc 42.85% 11 Missing and 1 partial ⚠️
src/spawn_sync.cc 36.36% 6 Missing and 1 partial ⚠️
src/node_messaging.cc 40.00% 3 Missing and 3 partials ⚠️
src/cares_wrap.cc 0.00% 2 Missing and 2 partials ⚠️
src/node_env_var.cc 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #54831      +/-   ##
==========================================
+ Coverage   87.71%   88.24%   +0.53%     
==========================================
  Files         651      651              
  Lines      183877   183882       +5     
  Branches    35546    35859     +313     
==========================================
+ Hits       161280   162262     +982     
+ Misses      15843    14906     -937     
+ Partials     6754     6714      -40     
Files with missing lines Coverage Δ
src/api/hooks.cc 83.72% <100.00%> (ø)
src/base_object.cc 83.67% <100.00%> (ø)
src/base_object.h 88.88% <ø> (ø)
src/node_internals.h 83.01% <ø> (ø)
src/node_messaging.h 63.15% <ø> (ø)
src/spawn_sync.h 100.00% <ø> (ø)
src/util.h 90.16% <ø> (ø)
src/node_env_var.cc 84.81% <66.66%> (ø)
src/cares_wrap.cc 65.16% <0.00%> (ø)
src/node_messaging.cc 83.50% <40.00%> (-0.14%) ⬇️
... and 2 more

... and 86 files with indirect coverage changes

@targos targos added the semver-major PRs that contain breaking changes and should be released in the next major version. label Sep 7, 2024
@targos
Copy link
Member

targos commented Sep 7, 2024

I guess it must be semver-major as it changes the API

@jasnell jasnell added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2024
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

@jasnell
Copy link
Member Author

jasnell commented Sep 11, 2024

@nodejs/tsc ... this will need another TSC review due to being semver-major

@joyeecheung
Copy link
Member

Can we just split out the node.h changes to a different PR to reduce backporting conflicts?

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@jasnell
Copy link
Member Author

jasnell commented Sep 22, 2024

Can we just split out the node.h changes to a different PR to reduce backporting conflicts?

Done. PR should no longer be semver-major

@jasnell jasnell removed the semver-major PRs that contain breaking changes and should be released in the next major version. label Sep 22, 2024
@jasnell
Copy link
Member Author

jasnell commented Sep 22, 2024

hmm... some relevant test failures to investigate...

@jasnell jasnell marked this pull request as draft September 22, 2024 16:14
@jasnell jasnell marked this pull request as ready for review September 24, 2024 17:09
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Sep 24, 2024

jasnell added a commit that referenced this pull request Sep 26, 2024
PR-URL: #54831
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@jasnell
Copy link
Member Author

jasnell commented Sep 26, 2024

Landed in 812806a

@jasnell jasnell closed this Sep 26, 2024
targos pushed a commit that referenced this pull request Oct 4, 2024
PR-URL: #54831
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
targos pushed a commit that referenced this pull request Oct 4, 2024
PR-URL: #54831
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@aduh95 aduh95 mentioned this pull request Oct 9, 2024
louwers pushed a commit to louwers/node that referenced this pull request Nov 2, 2024
PR-URL: nodejs#54831
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants