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
fix(runner): preserve original HTTP status code in credential retry error message
The _retry_with_fresh_bot_token helper was hardcoding HTTP 401 in the
PermissionError message regardless of the actual response code. This broke
test_raises_permission_error_on_403_without_caller_token which expects
"authentication failed with HTTP 403".
Now the original status code is passed through and the retry error message
reflects the actual HTTP code from both the initial and retry attempts.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments