Fix AI code review: bump claude-code-action past Bun crash#32
Merged
Conversation
The pinned claude-code-action@v1.0.107 (April 25) hits a Bun runtime bug that aborts the action with exit code 1 before any API call is made, so no review is posted even though the step shows green. The error in the job log is: Internal error: directory mismatch for directory ".../tsconfig.json", fd 4. You don't need to do anything, but this indicates a bug. That message is misleading — it is the crash, not a benign warning. Root cause is a `--tsconfig-override` flag passed to `bun run` (bun#25730). Anthropic dropped that flag in claude-code-action v1.0.143 (PR #1315). This bumps the pin to the current latest, v1.0.146, which includes the fix. Every caller repo uses @trunk of this reusable workflow, so this unblocks AI review across all of them in one change. Refs: - anthropics/claude-code-action#1205 - anthropics/claude-code-action#1315 - oven-sh/bun#25730
PanosSynetos
left a comment
There was a problem hiding this comment.
Thanks @lancewillett for the quick fix. I cannot actually test this, without merging first. So, I'll wait for @mahangu
Could we also make the action fail rather than be green?
mahangu
approved these changes
Jun 22, 2026
mahangu
left a comment
Member
There was a problem hiding this comment.
Thanks, Lance! This is easily revertible so I think we can merge this. There is no other way to test it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Automated Claude code reviews stopped posting across repos that use this reusable workflow. The action run shows green, but no review comment appears. The job log contains:
Despite the "you don't need to do anything" text, that message is the crash, not a benign warning. It is a Bun runtime bug (oven-sh/bun#25730) triggered by a
--tsconfig-overrideflag the action passed tobun run. Bun aborts with exit code 1 before any API call is made, so the model never runs and no review is posted. The step can still report success. Reported in claude-code-action#1205, #1266, #1295.Root cause
This workflow pinned
anthropics/claude-code-action@567fe954= v1.0.107 (April 25), which predates the fix. The model in use (claude-opus-4-6) is current and not a factor.Fix
Anthropic dropped the
--tsconfig-overrideflag in v1.0.143 (PR #1315). This bumps the pin to the current latest, v1.0.146, which includes the fix:Every caller repo references
@trunkof this reusable workflow, so this single change unblocks AI review everywhere.Verification
--tsconfig-override) is in v1.0.143 and carried forward through v1.0.146.0cb4f3e5e764d2e00407d29b6bf0aa9df0976d88verified as the commit for tag v1.0.146.🤖 Generated with Claude Code