Skip to content

feat: add react-compiler-check package#8132

Merged
joshblack merged 5 commits into
mainfrom
feat/add-react-compiler-check-package
Jul 8, 2026
Merged

feat: add react-compiler-check package#8132
joshblack merged 5 commits into
mainfrom
feat/add-react-compiler-check-package

Conversation

@joshblack

@joshblack joshblack commented Jul 7, 2026

Copy link
Copy Markdown
Member

Add a package to check if a file is being compiled successfully by React Compiler. This helps to make sure components build correctly and are optimized by the compiler before being merged.

This change is accompanied by a corresponding lint rule, npm run lint:react-compiler, that runs in CI to make sure that as we migrate we don't regress / drop support for React Compiler in a component or file

Changelog

New

  • Add private @primer/react-compiler-check package
  • Add new lint command, npm run lint:react-compiler, to packages/react

Changed

  • Update migration report to use the new package
  • Update ci.yml lint job to include the react compiler check

Removed

Rollout strategy

  • None; if selected, include a brief description as to why

This is a change to the internal structure and CI of the project

@changeset-bot

changeset-bot Bot commented Jul 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d1e2f8b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added staff Author is a staff member integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, this pull request contains changes to the source code that github/github-ui depends on. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. If this doesn't work, you can also use the original workflow here. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

To publish a canary release for integration testing, apply the Canary Release label to this PR.

@joshblack joshblack added skip changeset This change does not need a changelog integration-tests: skipped manually Changes in this PR do not require an integration test labels Jul 7, 2026
@github-actions github-actions Bot requested a deployment to storybook-preview-8132 July 7, 2026 15:20 Abandoned
@joshblack joshblack marked this pull request as ready for review July 7, 2026 15:33
@joshblack joshblack requested a review from a team as a code owner July 7, 2026 15:33
@github-actions github-actions Bot temporarily deployed to storybook-preview-8132 July 7, 2026 15:43 Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@joshblack joshblack added this pull request to the merge queue Jul 8, 2026
Merged via the queue into main with commit bfc68d8 Jul 8, 2026
54 checks passed
@joshblack joshblack deleted the feat/add-react-compiler-check-package branch July 8, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm integration-tests: skipped manually Changes in this PR do not require an integration test skip changeset This change does not need a changelog staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants