Skip to content

test: Updated undici.Agent versioned test to skip using custom dispatcher on versions <5.2.0 as it was not supported#4029

Merged
bizob2828 merged 1 commit into
newrelic:mainfrom
bizob2828:undici-agent-followup
May 26, 2026
Merged

test: Updated undici.Agent versioned test to skip using custom dispatcher on versions <5.2.0 as it was not supported#4029
bizob2828 merged 1 commit into
newrelic:mainfrom
bizob2828:undici-agent-followup

Conversation

@bizob2828
Copy link
Copy Markdown
Member

@bizob2828 bizob2828 commented May 26, 2026

Description

In #4026 I added a test to verify that self signed certs with undici.Agent work. However, I didnt' test on all supported versions of undici.
It doesn't support a custom dispatcher to fetch until 5.2.0, see. This PR adds a skip for versions <5.2.0 for this test.

…cher on versions <5.2.0 as it was not supported
@bizob2828 bizob2828 added the dev:tests Indicates only changes to tests label May 26, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.33%. Comparing base (9bf79ab) to head (fbf322b).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4029      +/-   ##
==========================================
- Coverage   97.39%   97.33%   -0.07%     
==========================================
  Files         510      510              
  Lines       61425    61425              
  Branches        1        1              
==========================================
- Hits        59824    59785      -39     
- Misses       1601     1640      +39     
Flag Coverage Δ
integration-tests-cjs-22.x 73.53% <ø> (ø)
integration-tests-cjs-24.x 74.14% <ø> (ø)
integration-tests-esm-22.x 53.98% <ø> (ø)
integration-tests-esm-24.x 55.15% <ø> (ø)
unit-tests-22.x 89.05% <ø> (ø)
unit-tests-24.x 89.05% <ø> (ø)
versioned-tests-22.x 80.51% <ø> (-0.08%) ⬇️
versioned-tests-24.x 79.92% <ø> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@bizob2828 bizob2828 merged commit 08cd079 into newrelic:main May 26, 2026
44 of 47 checks passed
@bizob2828 bizob2828 deleted the undici-agent-followup branch May 26, 2026 18:44
@github-project-automation github-project-automation Bot moved this from Needs PR Review to Done: Issues recently completed in Node.js Engineering Board May 26, 2026
This was referenced Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev:tests Indicates only changes to tests

Projects

Status: Done: Issues recently completed

Development

Successfully merging this pull request may close these issues.

3 participants