Skip to content

fix: prevent premature stream closure in watch with undici 8.6.0#2933

Open
mstruebing wants to merge 1 commit into
dependabot/npm_and_yarn/main/undici-8.6.0from
fix-for-undici-8
Open

fix: prevent premature stream closure in watch with undici 8.6.0#2933
mstruebing wants to merge 1 commit into
dependabot/npm_and_yarn/main/undici-8.6.0from
fix-for-undici-8

Conversation

@mstruebing

Copy link
Copy Markdown
Member

Remove body-level close/finish event listeners that could trigger controller.abort() before readline finished processing buffered data. With undici >= 8.6.0, this premature abort causes remaining response chunks (e.g. DELETED events) to be dropped.

@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mstruebing

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 10, 2026
@linux-foundation-easycla

linux-foundation-easycla Bot commented Jul 10, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: mstruebing / name: Max Strübing (f226e3d)

@kubernetes-prow kubernetes-prow Bot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Jul 10, 2026
@kubernetes-prow kubernetes-prow Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 10, 2026
Remove body-level close/finish event listeners that could trigger
controller.abort() before readline finished processing buffered data.
With undici >= 8.6.0, this premature abort causes remaining response
chunks (e.g. DELETED events) to be dropped.
@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Jul 10, 2026
@mstruebing mstruebing requested a review from davidgamero July 10, 2026 14:14
@mstruebing

Copy link
Copy Markdown
Member Author

/ok-to-test

@kubernetes-prow kubernetes-prow Bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant