Skip to content

[ci] Reject focused Playwright tests in Flight fixture - #37757

Merged
eps1lon merged 1 commit into
react:mainfrom
chengchuu:fix/flight-forbid-only-on-ci
Oct 6, 2026
Merged

eps1lon merged 1 commit into
react:mainfrom
chengchuu:fix/flight-forbid-only-on-ci

Conversation

@chengchuu

Copy link
Copy Markdown
Contributor

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

Set forbidOnly to isCI so CI rejects accidentally committed .only tests
instead of silently excluding other tests. Allow focused debugging locally,
matching the existing configuration comment.
@meta-cla meta-cla Bot added the CLA Signed label Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Comparing: 278794d...b08fd79

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 = 1.96 kB 1.96 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 626.06 kB 626.06 kB = 110.63 kB 110.63 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 7.36 kB 7.36 kB = 1.96 kB 1.96 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 697.27 kB 697.27 kB = 122.07 kB 122.07 kB
facebook-www/ReactDOM-prod.classic.js = 716.04 kB 716.04 kB = 125.29 kB 125.29 kB
facebook-www/ReactDOM-prod.modern.js = 706.36 kB 706.36 kB = 123.73 kB 123.73 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by sizebot against b08fd79

@Ghanmidev2012

Copy link
Copy Markdown

react 3d add

@eps1lon eps1lon changed the title [Flight fixture] Reject focused Playwright tests on CI [ci] Reject focused Playwright tests in Flight fixture Oct 6, 2026

@eps1lon eps1lon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you!

@eps1lon
eps1lon merged commit ac35e99 into react:main Oct 6, 2026
245 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants