Skip to content

test,benchmark: use OpenSSL feature helpers - #65762

Open
panva wants to merge 1 commit into
nodejs:mainfrom
panva:crypto-openssl-feature-helpers
Open

test,benchmark: use OpenSSL feature helpers#65762
panva wants to merge 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 <panva.ip@gmail.com>
@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 2 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.

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. 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.

3 participants