anthropics / anthropics/claude-code-action

Permission failures result in constant retries that eat up tokens

Open
#797 0 comments 0 reactions 0 assignees View on GitHub
area:permissions bug p1 provider:1p
Dominant language
TypeScript
Stars
8.9k
Forks
2.1k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

**Describe the bug**
It seems when the SDK is trying to do something and it fails, it just keeps retrying forever and keeps eating tokens until it times out after 45 minutes.

**To Reproduce**
You can see the action logs here:

https://github.com/vexxhost/atmosphere/actions/runs/20788838033

**Expected behavior**

Exit and leave early, don't loop forever.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Workflow yml file**

https://github.com/vexxhost/atmosphere/pull/3396
https://github.com/vexxhost/atmosphere/actions/runs/20788838033

**API Provider**

[X] Anthropic First-Party API (default)
[ ] AWS Bedrock
[ ] GCP Vertex

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.