Skip to content

test(runtime-tags): let a stream's last calls reach the next serializer flush - #4493

Merged
DylanPiercey merged 1 commit into
mainfrom
dpiercey-ws-comp-time-ypmw2v-fix-serializer-stream-flush
Oct 21, 2026
Merged

DylanPiercey merged 1 commit into
mainfrom
dpiercey-ws-comp-time-ypmw2v-fix-serializer-stream-flush

Conversation

@DylanPiercey

Copy link
Copy Markdown
Contributor

Node 26.12.1 updated undici to 8.12, whose body streams now close a microtask after their last chunk (nodejs/undici#5926). The serializer tests for Request and Response bodies flush right after the chunk arrives, so _.a.r() landed in a later flush they never checked, and CI fails on Node 26.

A flush whose calls so far begin the expected ones now also takes the next async step's calls. Rendered output is unchanged: a render writes on the next tick, by which point both calls are queued on either Node version.

🤖 Generated with Claude Code

…er flush

Since Node 26.12.1 a Request or Response body's final read settles after
the serializer test helper flushes, so `_.a.r()` lands one flush later.
A flush whose calls so far begin the expected ones now takes the next async
work's calls too, as a render, which writes on the next tick, already does.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Oct 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cebc715

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@DylanPiercey
DylanPiercey merged commit 06a833a into main Oct 21, 2026
9 checks passed
@codecov

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.84%. Comparing base (4e6f856) to head (cebc715).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4493      +/-   ##
==========================================
- Coverage   94.84%   94.84%   -0.01%     
==========================================
  Files         419      419              
  Lines       20869    20868       -1     
  Branches     4157     4158       +1     
==========================================
- Hits        19794    19793       -1     
  Misses        617      617              
  Partials      458      458              

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant