You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-04-07] React Compiler compliance check blocked in AI code reviewer #85070
The Expensify App repo uses claude-code-action to run automated code reviews on every PR via .github/workflows/claude-review.yml. The reviewer agent operates in a restricted sandbox where only explicitly whitelisted Bash commands are permitted through the allowedTools parameter - currently limited to gh pr diff and gh pr view. Separately, a coding standards rule (CLEAN-REACT-PATTERNS-0) instructs the reviewer to verify whether a file compiles with React Compiler before flagging manual memoization as redundant.
Problem
When the reviewer agent tries to verify React Compiler compliance per the rule's instructions, it cannot execute the npx react-compiler-healthcheck command due to the allowedTools whitelist, which prevents it from distinguishing files that compile (where manual memoization is redundant) from files that don't (where manual memoization may be necessary).
Solution
Replace the npx react-compiler-healthcheck instruction with npm run react-compiler-compliance-check check <filepath> - an existing repo script that wraps the same healthcheck. Add Bash(npm run react-compiler-compliance-check:*) to the allowedTools in both claude-review.yml and review-code-pr.md. Update the rule's verification command accordingly.
changed the title [-]React Compiler compliance check blocked in AI code reviewer[/-][+][Due for payment 2026-03-30] React Compiler compliance check blocked in AI code reviewer[/+]on Mar 23, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.41-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
changed the title [-]React Compiler compliance check blocked in AI code reviewer[/-][+][Due for payment 2026-04-07] React Compiler compliance check blocked in AI code reviewer[/+]on Mar 31, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.50-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.
Activity
kacper-mikolajczak commentedon Mar 12, 2026
CC @adhorodyski @mountiny
kacper-mikolajczak commentedon Mar 18, 2026
Next step: Observe how reviewer picks up the script
[-]React Compiler compliance check blocked in AI code reviewer[/-][+][Due for payment 2026-03-30] React Compiler compliance check blocked in AI code reviewer[/+]melvin-bot commentedon Mar 23, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Mar 23, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.41-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-03-30. 🎊
For reference, here are some details about the assignees on this issue:
7 remaining items
Julesssss commentedon Mar 26, 2026
No payment required. PR merged
[-]React Compiler compliance check blocked in AI code reviewer[/-][+][Due for payment 2026-04-07] React Compiler compliance check blocked in AI code reviewer[/+]melvin-bot commentedon Mar 31, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Mar 31, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.50-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-04-07. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Apr 7, 2026
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.
mountiny commentedon Apr 10, 2026
I think we can close this