claude-review action fails with Bun internal error (directory mismatch for tsconfig.json)
The claude-review GitHub Action fails consistently with:
Internal error: directory mismatch for directory .../tsconfig.json
that aborts the run with exit code 1.This traces to oven-sh/bun#25730, a known internal Bun bug. What's notable: the action's own bundled script already contains a comment explicitly avoiding the known trigger ('Do NOT pass --tsconfig-override here. It triggers a Bun runtime bug... See oven-sh/bun#25730') and the observed bun invocation does not pass that flag — yet the error still occurs. This suggests a related but distinct code path inside the action's own Bun runtime is hitting the same underlying bug.
Reproduced consistently across three separate PRs in our repo (hccgrphffn-ux/minerva-cloud, PRs #14, #16, #17), unrelated to PR content each time — same failure regardless of what changed. Does not block merging (not currently a required status check), but the review action itself never produces a usable result.
Source: anthropics/claude-code-action