Repository navigation
Enable fetch WPT subtests that now pass - #8743
Conversation
There was a problem hiding this comment.
Superseded by the review of
845b4f9d.
This review, of 3f2ccb7d
💬 Approved with comments — This only changes test expectations. One WARNING: two abort subtests that flaked before are re-enabled based on Linux runs alone, while CI also runs them on macOS, Windows and ARM.
Findings: 1 warning (1 is an inline comment on the diff)
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
🔧 Fix with your agent
Paste the following into your coding agent to investigate and fix these issues.
Fix the following code review issues found in pull request #8743.
Before making changes, review each issue and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g., the fix would require disproportionate changes
for minimal ROI, or the finding is factually incorrect), explain why
- If you need to clarify something before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order
## WARNING (1)
### [Code Quality] Two 'Underlying connection closed' abort subtests that flaked before are re-enabled based on Linux runs alone, while CI also runs on macOS, Windows and ARM; the new macOS-only comment is unsupported.
- **File:** src/wpt/fetch/api-test.ts:18
📋 Code Quality: ⚠️ 1 warning
Two abort subtests that flaked before are re-enabled based on Linux runs alone, while CI also runs on macOS, Windows and ARM.
Recommendation: 📝 Minor Comments
- [WARNING] Two 'Underlying connection closed' abort subtests that flaked before are re-enabled based on Linux runs alone, while CI also runs on macOS, Windows and ARM; the new macOS-only comment is unsupported. (
src/wpt/fetch/api-test.ts:18)
View full review
- [WARNING]
src/wpt/fetch/api-test.ts:18(alsosrc/wpt/fetch/api-test-ts.ts:21): two subtests come back while a third from the same group stays disabled, and the reasons given don't separate them.- Re-enabled:
Stream errors once aborted, after reading. Underlying connection closed.andStream errors once aborted. Underlying connection closed.. - Their old comments said only "Flaky since …" and named no platform.
- The evidence for re-enabling them is 100 of 100 runs on Linux.
.github/workflows/test.yml:38-53also runs the test job on macOS, Windows and linux-arm. The pull request's own reason for keeping the third subtest disabled ("a Linux run says nothing about macOS") applies to these two as well.- If they still flake there, the required test checks fail at random on unrelated pull requests.
- Fix: confirm they pass on the other CI runners, or keep them disabled.
- The new wording
Flaky on macOS since 2026-08-07presents macOS-only flakiness as fact, but nothing in the repository supports it. Cite the source or keep the neutral wording.
- Re-enabled:
- Enabling
basic/response-null-body.any.jswith{}follows the convention of the other entries in the file.
✅ All other checks passed
📝 Documentation: ✅ LGTM
No documentation issues.
Reviewed commit: 3f2ccb7d
Two fetch/api expectations disable tests that pass today in both stream implementations. Two subtests in abort/general.any.js were disabled as flaky in 2025, and basic/response-null-body.any.js was disabled because its response was thought to break later tests. All 11 of its subtests pass, and nothing else in the run fails. In this patch they run again in api-test.ts and api-test-ts.ts. The third flaky abort/general subtest stays disabled: it was disabled for flaking only on macOS, and a Linux run says nothing about that.
3f2ccb7 to
845b4f9
Compare
There was a problem hiding this comment.
💬 Approved with comments — This only changes test expectations. One WARNING: two abort subtests that flaked before are re-enabled based on Linux runs alone, while CI also runs them on macOS, Windows and ARM.
Findings: 1 warning
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
🔧 Fix with your agent
Paste the following into your coding agent to investigate and fix these issues.
Fix the following code review issues found in pull request #8743.
Before making changes, review each issue and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g., the fix would require disproportionate changes
for minimal ROI, or the finding is factually incorrect), explain why
- If you need to clarify something before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order
## WARNING (1)
### [Code Quality] Two 'Underlying connection closed' abort subtests that flaked before are re-enabled based on Linux runs alone, while CI also runs on macOS, Windows and ARM; the new macOS-only comment is unsupported.
- **File:** src/wpt/fetch/api-test.ts:18
📋 Code Quality: ⚠️ 1 warning
Two abort subtests that flaked before are re-enabled based on Linux runs alone, while CI also runs on macOS, Windows and ARM.
Recommendation: 📝 Minor Comments
- [WARNING] Two 'Underlying connection closed' abort subtests that flaked before are re-enabled based on Linux runs alone, while CI also runs on macOS, Windows and ARM; the new macOS-only comment is unsupported. (
src/wpt/fetch/api-test.ts:18)
View full review
- [WARNING]
src/wpt/fetch/api-test.ts:18(alsosrc/wpt/fetch/api-test-ts.ts:21): two subtests come back while a third from the same group stays disabled, and the reasons given don't separate them.- Re-enabled:
Stream errors once aborted, after reading. Underlying connection closed.andStream errors once aborted. Underlying connection closed.. - Their old comments said only "Flaky since …" and named no platform.
- The evidence for re-enabling them is 100 of 100 runs on Linux.
.github/workflows/test.yml:38-53also runs the test job on macOS, Windows and linux-arm. The pull request's own reason for keeping the third subtest disabled ("a Linux run says nothing about macOS") applies to these two as well.- If they still flake there, the required test checks fail at random on unrelated pull requests.
- Fix: confirm they pass on the other CI runners, or keep them disabled.
- The new wording
Flaky on macOS since 2026-08-07presents macOS-only flakiness as fact, but nothing in the repository supports it. Cite the source or keep the neutral wording.
- Re-enabled:
- Enabling
basic/response-null-body.any.jswith{}follows the convention of the other entries in the file.
✅ All other checks passed
📝 Documentation: ✅ LGTM
No documentation issues.
Reviewed commit: 845b4f9d — same changes as 3f2ccb7d, so this is that commit's review (no new review was run; line numbers are as of 3f2ccb7d)
Two fetch/api expectations disable tests that pass today in both stream implementations. Two subtests in
abort/general.any.jswere disabled as flaky in 2025.basic/response-null-body.any.jswas disabled because its response was thought to break later tests. All 11 of its subtests pass, and nothing else in the run fails.In this patch they run again in
api-test.tsandapi-test-ts.ts. The third flakyabort/generalsubtest,Underlying connection is closed when aborting after receiving response, stays disabled. It was disabled for flaking only on macOS (f1b3bdc), and it isn't part of this change.//src/wpt:fetch/api@,//src/wpt:fetch/api@all-autogates,//src/wpt:fetch/api-ts@and//src/wpt:fetch/api-ts@all-autogateseach passed 100 of 100 runs with--runs_per_test=100on Linux x86-64. On macOS arm64, a local--runs_per_test=100run of the same four targets passed every run that got past startup: 189 runs, all of which passedabort/generalandresponse-null-body. The other runs never reached the tests, because the wptserve sidecar ran out of POSIX semaphores starting up in parallel. These targets don't run on Windows. Only test expectations change.