Skip to content

test,benchmark: use OpenSSL feature helpers - #65762

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
panva:crypto-openssl-feature-helpers
Sep 5, 2026
Merged

test,benchmark: use OpenSSL feature helpers#65762
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
panva:crypto-openssl-feature-helpers

Conversation

@panva

@panva panva commented Sep 3, 2026

Copy link
Copy Markdown
Member

Add isBoringSSL to the test crypto helpers and use it in tests and benchmarks. Replace hasOpenSSL3 call sites with hasOpenSSL(3).

I'm not removing the hasOpenSSL3 helper or blocking use of process.features.openssl_is_boringssl with a lint rule just yet, doing so would cause conflicts with other PRs that are in flight. I'll be on a lookout for a good opportunity to do so.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/config
  • @nodejs/performance

@nodejs-github-bot nodejs-github-bot added addons Issues and PRs related to native addons. benchmark Issues and PRs related to Node.js benchmarks and benchmarking infrastructure. crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure. labels Sep 3, 2026
@panva
panva force-pushed the crypto-openssl-feature-helpers branch from b8c7948 to eab15a4 Compare September 3, 2026 13:28
Add isBoringSSL to the test crypto helpers and use it in tests and
benchmarks. Replace hasOpenSSL3 call sites with hasOpenSSL(3).

Assisted-by: Codex
Signed-off-by: Filip Skokan <[email protected]>
@panva
panva force-pushed the crypto-openssl-feature-helpers branch from eab15a4 to 4df0bea Compare September 3, 2026 13:37
@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.95%. Comparing base (095fdd3) to head (4df0bea).
⚠️ Report is 29 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #65762      +/-   ##
==========================================
- Coverage   89.96%   89.95%   -0.01%     
==========================================
  Files         759      759              
  Lines      258637   258637              
  Branches    49007    49007              
==========================================
- Hits       232673   232651      -22     
- Misses      17016    17038      +22     
  Partials     8948     8948              

see 28 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@panva panva added author ready PRs with CI started, the required approvals, and no outstanding review comments. request-ci Add this label to start a Jenkins CI on a PR. labels Sep 4, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 4, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@panva panva added the commit-queue PRs queued for automated landing through the Commit Queue. label Sep 4, 2026
@nodejs-github-bot
nodejs-github-bot merged commit b0d56c7 into nodejs:main Sep 5, 2026
76 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in b0d56c7

@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Sep 5, 2026
@panva
panva deleted the crypto-openssl-feature-helpers branch September 5, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

addons Issues and PRs related to native addons. author ready PRs with CI started, the required approvals, and no outstanding review comments. benchmark Issues and PRs related to Node.js benchmarks and benchmarking infrastructure. crypto Issues and PRs related to the crypto subsystem. needs-ci PRs that need a full CI run. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants