diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 5795881..97bcbb1 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -47,6 +47,7 @@ jobs: id: claude-review uses: anthropics/claude-code-action@v1 with: + show_full_output: true anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} plugin_marketplaces: 'https://github.com/anthropics/claude-code.git' plugins: 'code-review@claude-code-plugins' @@ -56,4 +57,9 @@ jobs: # is unverified reasoning about code it never executed. # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md # or https://code.claude.com/docs/en/cli-reference for available options - claude_args: '--allowedTools "Bash(dotnet:*),Bash(gh pr edit:*),Bash(gh pr ready:*),Bash(gh pr view:*)"' + # --model pinned EXPLICITLY. Left to default, the CLI resolved to claude-opus-5[1m] + # -- the 1M-context variant, which this key cannot use -- and the first API call died + # in under half a second: is_error, zero cost, empty modelUsage, and the real error + # hidden by the default output redaction. show_full_output is on for the same reason: + # a failure that cannot be read from the log gets diagnosed by archaeology instead. + claude_args: '--model claude-opus-5 --allowedTools "Bash(dotnet:*),Bash(gh pr edit:*),Bash(gh pr ready:*),Bash(gh pr view:*)"' diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index a794ba1..ed444ef 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -34,6 +34,7 @@ jobs: id: claude uses: anthropics/claude-code-action@v1 with: + show_full_output: true anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} # This is an optional setting that allows Claude to read CI results on PRs @@ -52,4 +53,9 @@ jobs: # repository: no build, no tests, so nothing it reports can have been verified. # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md # or https://code.claude.com/docs/en/cli-reference for available options - claude_args: '--allowedTools "Bash(dotnet:*),Bash(gh pr edit:*),Bash(gh pr ready:*),Bash(gh pr view:*)"' + # --model pinned EXPLICITLY. Left to default, the CLI resolved to claude-opus-5[1m] + # -- the 1M-context variant, which this key cannot use -- and the first API call died + # in under half a second: is_error, zero cost, empty modelUsage, and the real error + # hidden by the default output redaction. show_full_output is on for the same reason: + # a failure that cannot be read from the log gets diagnosed by archaeology instead. + claude_args: '--model claude-opus-5 --allowedTools "Bash(dotnet:*),Bash(gh pr edit:*),Bash(gh pr ready:*),Bash(gh pr view:*)"'