Skip to content

Conversation

@henryqdineen
Copy link
Contributor

Summary

I noticed a regression in react-compiler-healthcheck where v1.0.0 will not report any errors.

> npx [email protected]
Successfully compiled 197 out of 197 components.
StrictMode usage not found.
Found no usage of incompatible libraries.

> npx [email protected]
Successfully compiled 190 out of 213 components.
StrictMode usage not found.
Found no usage of incompatible libraries.

When investigating the issue I noticed a couple TypeScript errors in the source. I believe isActionableDiagnostic() was falling through to the default case and throwing an error that was being swallowed. In this PR I fixed the TypeScript issue and updated isActionableDiagnostic() implementation.

How did you test this change?

I ran locally in one of our repos.

@meta-cla meta-cla bot added the CLA Signed label Nov 5, 2025
@henryqdineen henryqdineen changed the title [healthcheck] fix error false negatives [compiler healthcheck] fix error false negatives Nov 15, 2025
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.

1 participant