Add React Compiler report script

Reports which components and hooks React Compiler skipped optimizing, using
the Babel plugin's `logger` option and grouping the diagnostics by the
compiler's own ErrorCategory. Runs in the Lint workflow, where it writes the
report to the job summary. Always exits 0 - a metric, not a gate.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Tomek Zawadzki
2026-08-25 15:16:05 +02:00
parent f87fdd2ea2
commit c2e4317590
6 changed files with 229 additions and 2 deletions
+1
View File
@@ -29,6 +29,7 @@ jobs:
'typecheck:ios',
'typecheck:android',
'typecheck:web',
'react-compiler:report',
]
steps:
- name: ⬇️ Check out Git repository