Skip to content

Task marked as Done (success) despite Claude API usage limit error #552

Description

@mustafagoksever

A Claude Code review task hit the API usage limit (Usage credits required for 1M context error from Claude API), but the task was still marked as Done (green/success) in the UI instead of showing the error.

The task should have been marked as failed or needs_attention with the error message visible, but it appeared as successfully completed despite the API limit error.

Steps to Reproduce

  1. Run a Claude Code review task
  2. Let it hit the Claude API usage credits limit
  3. Observe that the task UI shows "Done" (green) instead of an error state

Expected Behavior

Tasks that fail due to API usage limits should show as failed or needs_attention with the error surfaced to the user, not as successfully completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions