Description
The claude.yml PR security-audit job has failed on every recent PR (#507, #508, #516, #517) — Claude Code installs fine, then the run step exits 1 within ~2-4s with no error output. The bot's own comment says "Claude encountered an error after 2s".
Type
Details
Failure is pre-diff: it dies identically on unrelated changes (docs, pins, entrypoint fix), right after settings setup, before any tool call. claude_code_oauth_token is passed and ANTHROPIC_API_KEY is empty in the step env — smells like an expired/revoked CLAUDE_CODE_OAUTH_TOKEN secret. Non-gating today, but a permanently red check trains everyone to ignore it.
Related Files
- .github/workflows/claude.yml
Test Plan
Description
The claude.yml PR security-audit job has failed on every recent PR (#507, #508, #516, #517) — Claude Code installs fine, then the run step exits 1 within ~2-4s with no error output. The bot's own comment says "Claude encountered an error after 2s".
Type
Details
Failure is pre-diff: it dies identically on unrelated changes (docs, pins, entrypoint fix), right after settings setup, before any tool call.
claude_code_oauth_tokenis passed andANTHROPIC_API_KEYis empty in the step env — smells like an expired/revokedCLAUDE_CODE_OAUTH_TOKENsecret. Non-gating today, but a permanently red check trains everyone to ignore it.Related Files
Test Plan