GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: keep idle validation on native timers by mcollina · Pull Request #5397 · nodejs/undici

Conversation

@mcollina

@mcollina mcollina commented Jun 8, 2026

Copy link
Copy Markdown
Member

Summary

  • use native timers for idle socket validation so fake timers do not block background cache revalidation

Tests

  • node --test test/interceptors/cache.js
  • node --test test/response-queue-poisoning.js test/issue-810.js
  • npm run lint -- --quiet

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mcollina
fix: keep idle validation on native timers
cc328ad
Signed-off-by: Matteo Collina <[email protected]>
@codecov-commenter

codecov-commenter commented Jun 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.25%. Comparing base (04ebc71) to head (4ebf1ca).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5397      +/-   ##
==========================================
- Coverage   93.26%   93.25%   -0.02%     
==========================================
  Files         110      110              
  Lines       36757    36826      +69     
==========================================
+ Hits        34283    34341      +58     
- Misses       2474     2485      +11     

☔ View full report in Codecov by Harness.
📢 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.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mcollina
test: wait for poisoned idle socket disconnect
4ebf1ca
Signed-off-by: Matteo Collina <[email protected]>
@mcollina
mcollina merged commit c9fbe9d into main Jun 8, 2026
66 of 67 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@mcollina
mcollina deleted the fix/main-ci-idle-validation branch June 8, 2026 16:57
@mcollina mcollina mentioned this pull request Jun 8, 2026
fix: keep idle validation on native timers #5402
Merged
mcollina added a commit that referenced this pull request Jun 8, 2026
@mcollina
fix: keep idle validation on native timers (#5397)
8e4046e
* fix: keep idle validation on native timers

Signed-off-by: Matteo Collina <[email protected]>

* test: wait for poisoned idle socket disconnect

Signed-off-by: Matteo Collina <[email protected]>

---------

Signed-off-by: Matteo Collina <[email protected]>
(cherry picked from commit c9fbe9d)
@mcollina mcollina mentioned this pull request Jun 9, 2026
fix: keep idle validation on global timers #5407
Merged
@github-actions github-actions Bot mentioned this pull request Jun 15, 2026
[Release] v8.5.0 #5429
Merged
@carlotestor carlotestor mentioned this pull request Jul 2, 2026
Idle-socket validation adds ~1.3ms to every keep-alive request reuse (setTimeout(0) in scheduleIdleSocketValidation) #5493
Closed
@ronag ronag mentioned this pull request Aug 8, 2026
fix: port remaining applicable upstream fixes (timer guards, dead pool path) nxtedition/undici#68
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mcollina @codecov-commenter
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.