FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

src: change SetEncodedValue to return Maybe<void> by tniessen · Pull Request #54443 · nodejs/node · GitHub

/ node Public

src: change SetEncodedValue to return Maybe<void> - #54443

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
tniessen:crypto-maybe-void-setencodedvalue
Aug 26, 2024
Merged

src: change SetEncodedValue to return Maybe<void>#54443
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
tniessen:crypto-maybe-void-setencodedvalue

Conversation

Copy link
Copy Markdown
Member

With recent versions of V8, it is not necessary to use Maybe<bool> anymore. This changes SetEncodedValue() to return Maybe<void> instead.

With recent versions of V8, it is not necessary to use Maybe<bool>
anymore. This changes SetEncodedValue to return Maybe<void> instead.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto

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 Aug 18, 2024

codecov Bot commented Aug 19, 2024
edited
Loading

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 87.27%. Comparing base (e4f61de) to head (d2071da).
Report is 373 commits behind head on main.

Files with missing lines Patch % Lines
src/crypto/crypto_util.cc 25.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #54443      +/-   ##
==========================================
- Coverage   87.33%   87.27%   -0.06%     
==========================================
  Files         648      648              
  Lines      182321   182317       -4     
  Branches    34971    34961      -10     
==========================================
- Hits       159222   159114     -108     
- Misses      16374    16470      +96     
- Partials     6725     6733       +8     
Files with missing lines Coverage Δ
src/crypto/crypto_ec.cc 66.66% <100.00%> (+0.05%) ⬆️
src/crypto/crypto_util.h 81.89% <ø> (ø)
src/crypto/crypto_util.cc 68.02% <25.00%> (-0.69%) ⬇️

... and 25 files with indirect coverage changes

marco-ippolito commented Aug 19, 2024
edited
Loading

Copy link
Copy Markdown
Member

@tniessen this PR relies on the v8 version on 22 so its a not land on v20 correct?
I encountered some issues with Maybe<void> while preparing v20.17.0

lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 19, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 19, 2024

This comment was marked as outdated.

Copy link
Copy Markdown
Member Author

this PR relies on the v8 version on 22 so its a not land on v20 correct? I encountered some issues with Maybe<void> while preparing v20.17.0

@marco-ippolito I am not sure. According to v8docs, Maybe<void> should exist in all active release lines, but if you are encountering issues, I might be missing something.

Copy link
Copy Markdown
Member

this commit cd39578 I had to remove since it was not compiling on v20.x-staging.

Copy link
Copy Markdown
Collaborator

mertcanaltin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

tniessen added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Aug 20, 2024
tniessen added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 26, 2024
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 26, 2024
nodejs-github-bot merged commit c6a72f2 into nodejs:main Aug 26, 2024

Copy link
Copy Markdown
Collaborator

Landed in c6a72f2

RafaelGSS pushed a commit that referenced this pull request Aug 30, 2024
With recent versions of V8, it is not necessary to use Maybe<bool>
anymore. This changes SetEncodedValue to return Maybe<void> instead.

PR-URL: #54443
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
RafaelGSS mentioned this pull request Aug 30, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. 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.

7 participants


Back | FazBrowse Home | New Git URL