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 — [Closed] Reject focused Playwright tests on CI by chengchuu · Pull Request #3 · chengchuu/react

Conversation

@chengchuu

@chengchuu chengchuu commented Oct 5, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Owner

Summary

Change the Flight fixture’s forbidOnly from !isCI to isCI to reject .only on CI and allow focused debugging locally. This prevents CI from passing while accidentally excluding other tests and matches the existing comment.

The inverted condition dates to #28350.

How did you test this change?

  • Temporarily added test.only() and confirmed CI=true yarn test rejects it with exit code 1.
  • Removed .only and ran the full Flight fixture suite from the repository root:
yarn && yarn build && cd fixtures/flight && yarn && yarn playwright install chromium && CI=true yarn test

Sorry, something went wrong.

Uh oh!

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

All reactions
acdlite and others added 2 commits October 2, 2026 13:37
@acdlite
Fix: Infinite loop caused by uDV + error recovery (react#37739)
278794d
In react#36911, we stopped treating a recovery retry that suspends in the
shell as a successful recovery, because the tree it produces is
incomplete and must not be committed. That fix was correct, but there
was an oversight: the branch it skips is also the one that disables
error recovery for the lanes that errored. So nothing ever turns error
recovery off for those lanes, and the error boundary from the first
attempt never commits.

This causes an infinite render loop with useDeferredValue when the
initial value suspends in the shell (no Suspense boundary) and the final
value throws:

1. The deferred render shows the final value, which throws. An error
boundary catches it.
2. Before committing the boundary, React retries all pending lanes
synchronously. The retry includes the original update, so
useDeferredValue shows the initial value, which suspends in the shell.
The retry also spawns a new deferred lane.
3. The retry is incomplete, so it isn't treated as recovered, and error
recovery stays enabled. The new deferred lane throws again, and so on.

Before react#36911, this happened to terminate after a few iterations, once
the deferred lanes wrapped around to one whose recovery was disabled.

The fix: when the retry suspends in the shell, disable error recovery
for the lanes that errored, plus any deferred lane spawned by the retry.
The retry couldn't finish, so it can't tell us whether the error was
caused by a data race. The next attempt commits the error boundary. The
root still stays suspended in the meantime, so the incomplete tree is
never committed.
@chengchuu
fix: enable forbidOnly in CI environment
d3a3e15
@github-actions

github-actions Bot commented Oct 5, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Comparing: 7c6ac13...5199792

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 7.35 kB 7.35 kB +0.05% 1.96 kB 1.96 kB
oss-stable/react-dom/cjs/react-dom-client.production.js +0.03% 625.86 kB 626.06 kB +0.03% 110.60 kB 110.63 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 7.36 kB 7.36 kB +0.05% 1.96 kB 1.96 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js +0.03% 697.07 kB 697.27 kB +0.02% 122.05 kB 122.07 kB
facebook-www/ReactDOM-prod.classic.js +0.03% 715.84 kB 716.04 kB +0.02% 125.27 kB 125.29 kB
facebook-www/ReactDOM-prod.modern.js +0.03% 706.15 kB 706.36 kB +0.02% 123.70 kB 123.73 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by sizebot against 5199792

All reactions

Sorry, something went wrong.

Uh oh!

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

@chengchuu
Merge branch 'main' into fix/flight-forbid-only
5199792
@chengchuu chengchuu changed the title [Flight fixture] Reject focused Playwright tests on CI [Closed] Reject focused Playwright tests on CI Oct 5, 2026
@chengchuu chengchuu closed this Oct 5, 2026
@chengchuu
chengchuu deleted the fix/flight-forbid-only branch October 11, 2026 07:01
@chengchuu chengchuu added the bug Something isn't working label Nov 6, 2026
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

bug Something isn't working

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

@chengchuu @acdlite
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 01402792 — 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.