Skip to content

Run the readable-streams tee WPT against TS streams - #8742

Merged
littledivy merged 1 commit into
mainfrom
littledivy/2026-11-20-wpt-stale-streams-ts
Nov 21, 2026
Merged

littledivy merged 1 commit into
mainfrom
littledivy/2026-11-20-wpt-stale-streams-ts

Conversation

@littledivy

Copy link
Copy Markdown
Member

readable-streams/tee.any.js was disabled as a whole in the TS streams WPT config because two of its subtests hang. They compare the AggregateError cancel reason to an array inside the cancel callback, so the test promise never settles. That also hid the other 29 subtests.

In this patch only the two hanging subtests are disabled. Six more are expected to fail because of the shared-queue tee model. Five count pulls the way the spec's per-branch clone model does. The sixth expects a source error to drop chunks the other branch had already queued. The other 23 now run and pass. Only test config changes.

//src/wpt:streams-ts@ and //src/wpt:streams-ts@all-autogates each passed 100 of 100 runs with --runs_per_test=100.

@littledivy
littledivy requested review from a team as code owners November 20, 2026 15:17

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superseded by the review of 1e2ec535.

This review, of 2437b68c

✅ Approved — A config-only change that narrows a blanket WPT disable to the two hanging subtests and six explicit expected failures, following the existing config conventions; no issues found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code Quality: ✅ LGTM

The tee WPT entry now lists the two hanging subtests by name in disabledTests and the six divergent subtests in expectedFailures, the same pattern other entries in the file use. No issues found.


📝 Documentation: ✅ LGTM

The updated comment and the inline note about the hangs describe the current behaviour and do not tell the story of the change. No issues found.


Reviewed commit: 2437b68c

@littledivy
littledivy enabled auto-merge November 20, 2026 17:05
@littledivy
littledivy force-pushed the littledivy/2026-11-20-wpt-stale-streams-ts branch from 2437b68 to 1e2ec53 Compare November 20, 2026 17:09

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superseded by the review of 2957d793.

This review, of 1e2ec535

✅ Approved — A config-only change that narrows a blanket WPT disable to the two hanging subtests and six explicit expected failures, following the existing config conventions; no issues found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code Quality: ✅ LGTM

The tee WPT entry now lists the two hanging subtests by name in disabledTests and the six divergent subtests in expectedFailures, the same pattern other entries in the file use. No issues found.


📝 Documentation: ✅ LGTM

The updated comment and the inline note about the hangs describe the current behaviour and do not tell the story of the change. No issues found.


Reviewed commit: 1e2ec535 — same changes as 2437b68c, so this is that commit's review (no new review was run; line numbers are as of 2437b68c)

@codecov-commenter

codecov-commenter commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.31%. Comparing base (84c16be) to head (2957d79).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8742   +/-   ##
=======================================
  Coverage   67.31%   67.31%           
=======================================
  Files         838      838           
  Lines      213876   213876           
  Branches    32505    32505           
=======================================
+ Hits       143962   143963    +1     
  Misses      50815    50815           
+ Partials    19099    19098    -1     

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

`readable-streams/tee.any.js` was disabled as a whole in the TS streams config because two of its subtests hang: they compare the AggregateError cancel reason to an array inside the cancel callback, so the test promise never settles. That also hid the other 29 subtests.

In this patch only the two hanging subtests are disabled. Six more are expected to fail for the shared-queue tee model: five count pulls the way the spec's per-branch clone model does, and one expects a source error to drop chunks the other branch has already queued. The other 23 now run and pass.
@littledivy
littledivy force-pushed the littledivy/2026-11-20-wpt-stale-streams-ts branch from 1e2ec53 to 2957d79 Compare November 21, 2026 01:45

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved — A config-only change that narrows a blanket WPT disable to the two hanging subtests and six explicit expected failures, following the existing config conventions; no issues found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code Quality: ✅ LGTM

The tee WPT entry now lists the two hanging subtests by name in disabledTests and the six divergent subtests in expectedFailures, the same pattern other entries in the file use. No issues found.


📝 Documentation: ✅ LGTM

The updated comment and the inline note about the hangs describe the current behaviour and do not tell the story of the change. No issues found.


Reviewed commit: 2957d793 — same changes as 2437b68c, so this is that commit's review (no new review was run; line numbers are as of 2437b68c)

@littledivy
littledivy merged commit 52e8f37 into main Nov 21, 2026
23 checks passed
@littledivy
littledivy deleted the littledivy/2026-11-20-wpt-stale-streams-ts branch November 21, 2026 02:08
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.

3 participants