Repository navigation
Correctly document agent options - #383
Merged
Merged
Conversation
Contributor
Author
|
Yuk. Tests fail on Node 20 (now EOL) - Nano still works on Node 20 but the Undici@8/MockAgent goop doesn't work on Node 20. It works on Node 26 (which went into LTS yesterday). So I could change the test matrix to use 22/24/26? |
glynnbird
force-pushed
the
grb-agentOptions-issue-379
branch
from
October 29, 2026 10:55
8e23625 to
ed07fe1
Compare
…nt and jump to Undici@8 - dependency bump and switch to Undici@8 - modify the README to correctly document how to configure a custom agent - install the currently installed Undici when running tests - modify tests to show correct agentOptions use - change Node testing matrix to 22/24/26 - the supported versions
glynnbird
force-pushed
the
grb-agentOptions-issue-379
branch
from
October 29, 2026 15:39
ed07fe1 to
951d69a
Compare
klaemo
reviewed
Nov 2, 2026
klaemo
left a comment
Contributor
There was a problem hiding this comment.
Thanks for picking this up so quickly! Left a few thoughts :)
Co-authored-by: Clemens Stolle <klaemo@fastmail.fm>
Co-authored-by: Clemens Stolle <klaemo@fastmail.fm>
janl
approved these changes
Nov 3, 2026
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
As raised in issue #379, the README doesn't accurately reflect how to configure a custom agent. This PR:
installfunction intest/mock.js)agentOptionsparameter to use a custom agentGitHub issue number
Fixes issue #379
Checklist