Skip to content

Security review TPM-limit failures recur after capacity increase #1356

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv/actions/runs/34534439877
Job: https://github.com/astral-sh/uv/actions/runs/34534439877/job/103062840722

Workflow: CI
Job: review / security review
Platform: Depot Ubuntu 24.04 (depot-ubuntu-24.04-16)
Attempt: 1

The review setup completed, but Codex exhausted its reconnect attempts after reaching the model's tokens-per-minute limit:

ERROR: Reconnecting... 5/5
ERROR: rate limit exceeded: Rate limit reached ... on tokens per min (TPM)
Error: codex exited with code 1

This was the run's only independent failure. The skipped review reporting jobs were follow-on effects. The triggering astral-sh#21584 renames a Rust trait and does not modify the security-review workflow, so the failure is unrelated to the proposed product change.

#382 tracked the identical signature and was closed after rate limits were increased tenfold. This recurrence shows that the capacity increase did not eliminate the failure. The workflow should investigate additional bounded retry or backoff, reduced review load, or another way to avoid making temporary TPM saturation terminal.

Activity

  1. added
    internal:ci-flake
    on Sep 10, 2026
  2. astral-automations-bot commented on Sep 10, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/34534439877

    Attempt 2 of the same run also failed in review / security review after 109,575 tokens, but its terminal error was “Selected model is at capacity” rather than attempt 1’s TPM-limit message; the final five reconnects were exhausted.

  3. astral-automations-bot commented on Sep 10, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/34536751329

    Another sample occurred in https://github.com/astral-sh/uv/actions/runs/34536751329: security review exhausted five reconnects after 37,440 tokens. The run also had independent macOS PyPI connection-refused and Depot status-stream reset failures; the latter is a different transport variant of #1358.

  4. astral-automations-bot commented on Sep 10, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/34536751298

    Run https://github.com/astral-sh/uv/actions/runs/34536751298 reproduced the TPM-limit failure after 42,819 tokens. It also independently reproduced #1358 with RPC Unavailable caused by a peer TCP reset, rather than the issue's existing keepalive-ACK timeout sample.

  5. astral-automations-bot commented on Sep 11, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/34544692235

    This sample extends the failure to Pull request labels / labels on astral-sh/uv-dev main: Determine pull request labels failed after only 14,871 tokens with a direct capacity rejection and no logged reconnect sequence.

  6. astral-automations-bot commented on Sep 11, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/34545800291

    The security-review failure occurred after 108,883 tokens when a 117,175-token request exhausted five reconnects; the same run also independently reproduced the exact Depot keepalive timeout tracked by #1358.

  7. astral-automations-bot commented on Sep 11, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/34583260235

    Run https://github.com/astral-sh/uv/actions/runs/34583260235 adds a sample from astral-sh#21606, which explicitly selected gpt-5.6-sol. The review failed after 82,327 tokens with a direct capacity rejection and no logged reconnect sequence.

  8. astral-automations-bot commented on Sep 14, 2026

    @astral-automations-bot
    Author
  9. astral-automations-bot commented on Sep 21, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/35611799328

    Another sample occurred in https://github.com/astral-sh/uv/actions/runs/35611799328 in Rebase conflicted pull requests while rebasing astral-sh#21314 on Depot Ubuntu. Codex had begun resolving rebase conflicts and used 19,885 tokens before a direct “Selected model is at capacity” rejection; no reconnect sequence was logged, and verification and push were skipped.

  10. astral-automations-bot commented on Sep 22, 2026

    @astral-automations-bot
    Author
  11. astral-automations-bot commented on Sep 25, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/36157835002

    This sample extends the tracked direct capacity rejection to gpt-6-astra in CI’s review / security review job after 52,727 tokens, with no logged reconnect sequence.

  12. astral-automations-bot commented on Sep 25, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/36157731947

    Run https://github.com/astral-sh/uv/actions/runs/36157731947 adds a gpt-6-astra sample from review / security review: it failed with a direct capacity rejection after 30,924 tokens and logged no reconnect sequence.

  13. astral-automations-bot commented on Sep 25, 2026

    @astral-automations-bot
    Author
  14. astral-automations-bot commented on Sep 30, 2026

    @astral-automations-bot
    Author
  15. astral-automations-bot commented on Oct 8, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv-dev/actions/runs/37810551401

    Attempt 1 extends the TPM-limit failure to review-code-quality / code quality review on Depot Ubuntu 24.04 using gpt-6-astra: five reconnects were exhausted after 162,156 tokens. Job: https://github.com/astral-sh/uv-dev/actions/runs/37810551401/job/113426471699. The run also independently reproduced #1783: ARM64 Rust-cache took 7m44s despite a successful cache hit, leaving compilation unfinished at the 10-minute cutoff.

  16. 11 remaining items

  17. astral-automations-bot commented on Oct 9, 2026

    @astral-automations-bot
    Author
  18. astral-automations-bot commented on Oct 10, 2026

    @astral-automations-bot
    Author
  19. astral-automations-bot commented on Oct 15, 2026

    @astral-automations-bot
    Author
  20. astral-automations-bot commented on Oct 15, 2026

    @astral-automations-bot
    Author
  21. astral-automations-bot commented on Oct 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/40008338268

    Attempt 1 failed immediately at gpt-6-astra startup, before any logged review work or reconnect sequence. The capacity rejection was followed by the action wrapper error “/usr/bin/sudo exited with code 1”. Job: https://github.com/astral-sh/uv/actions/runs/40008338268/job/120602735541.

  22. astral-automations-bot commented on Oct 23, 2026

    @astral-automations-bot
    Author
  23. astral-automations-bot commented on Oct 26, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/40352672677

    Attempt 1 affected both review-code-quality / code quality review and review / security review in the same run: gpt-6-astra rejected both with the capacity error within two seconds, after 100,956 and 73,501 tokens respectively. Neither logged reconnect attempts; simultaneous failures do not establish that the jobs caused the capacity shortage.

  24. astral-automations-bot commented on Nov 3, 2026

    @astral-automations-bot
    Author
  25. astral-automations-bot commented on Nov 3, 2026

    @astral-automations-bot
    Author
  26. astral-automations-bot commented on Nov 20, 2026

    @astral-automations-bot
    Author
  27. astral-automations-bot commented on Nov 20, 2026

    @astral-automations-bot
    Author
  28. astral-automations-bot commented on Nov 20, 2026

    @astral-automations-bot
    Author
  29. astral-automations-bot commented on Nov 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/45212305762

    Attempt 1 adds a gpt-6.2-astra sample in CI / review | security / security review on Depot Ubuntu 24.04: five reconnects were exhausted after 80,549 tokens. The terminal TPM rejection suggested retrying in 145ms, then the action wrapper reported '/usr/bin/sudo exited with code 1'. Job: https://github.com/astral-sh/uv/actions/runs/45212305762/job/137824512830.

  30. astral-automations-bot commented on Nov 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/45212310886

    Attempt 1 adds a sample using gpt-6.2-astra with Codex 0.171.0 in review | security / security review on Depot Ubuntu 24.04. After five reconnects, a 110,826-token request exceeded the shared 3,600,000 TPM limit; the terminal response suggested retrying in 958 ms. Job: https://github.com/astral-sh/uv/actions/runs/45212310886/job/137824679711

  31. astral-automations-bot commented on Nov 23, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/45212306155

    Attempt 1 adds a gpt-6.2-astra occurrence in CI / review | code quality / code quality review on Depot Ubuntu 24.04. After 76,536 tokens, five reconnects were exhausted; the terminal TPM rejection suggested retrying in 1.157 seconds. Job: https://github.com/astral-sh/uv/actions/runs/45212306155/job/137824520329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal:ci-flake

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions