Skip to content

Security review fails after Codex reaches TPM rate limit #382

Closed

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv/actions/runs/30010950776
Job: https://github.com/astral-sh/uv/actions/runs/30010950776/job/89218858095

The CI workflow's review / security review job failed on Ubuntu, attempt 1, after repeated reconnects:

ERROR: Reconnecting... 5/5
ERROR: stream disconnected before completion: Rate limit reached ... on tokens per min (TPM)
Error: codex exited with code 1

The review consumed 83,342 tokens before terminating. This is infrastructure behavior in the Codex security-review integration and is unrelated to the pull request's uv behavior. The workflow should tolerate a short-lived TPM limit, reduce review load, or otherwise recover without failing the job.

A second independent CI failure in the same run occurred in build-docker / build dhi.io/python:3.11,python3.11-dhi when docker/login-action received read: connection reset by peer from https://dhi.io/v2/; later output was cleanup only.

Related: #357 tracks an earlier artifact-manifest contract error where a later TPM limit was only follow-on, not this direct rate-limit failure. #380 tracks a different registry timeout in the FreeBSD GHCR image-pull path.

Activity

  1. added
    internal:ci-flake
    on Jul 23, 2026
  2. astral-automations-bot commented on Jul 24, 2026

    @astral-automations-bot
    Author

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

    Another sample from review / security review: this occurrence consumed 90,817 tokens and also encountered the artifact-manifest errors tracked by #357 before the final TPM-limit disconnect.

  3. astral-automations-bot commented on Jul 26, 2026

    @astral-automations-bot
    Author

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

    Another sample occurred in https://github.com/astral-sh/uv/actions/runs/30212819498/job/89821903700 after 62,986 tokens, lower than the previously recorded 83,342- and 90,817-token samples, and without the artifact-manifest error tracked by #357.

  4. astral-automations-bot commented on Jul 26, 2026

    @astral-automations-bot
    Author
  5. astral-automations-bot commented on Jul 26, 2026

    @astral-automations-bot
    Author
  6. astral-automations-bot commented on Jul 30, 2026

    @astral-automations-bot
    Author
  7. astral-automations-bot commented on Aug 3, 2026

    @astral-automations-bot
    Author
  8. astral-automations-bot commented on Aug 5, 2026

    @astral-automations-bot
    Author

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

    Another sample for #382: CI run https://github.com/astral-sh/uv/actions/runs/31011592049 failed in review / security review on Ubuntu, attempt 1, after 28,971 tokens with “Selected model is at capacity,” rather than the previously recorded TPM-limit disconnect.

  9. astral-automations-bot commented on Aug 5, 2026

    @astral-automations-bot
    Author

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

    Another sample occurred in https://github.com/astral-sh/uv/actions/runs/31022370569/job/92362382570 after 159,692 tokens, substantially above the previously recorded 28,971–90,817-token samples. The direct TPM-limit disconnect exhausted five reconnects before Codex exited with code 1.

  10. astral-automations-bot commented on Aug 5, 2026

    @astral-automations-bot
    Author

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

    Another sample occurred in https://github.com/astral-sh/uv/actions/runs/31022813527/job/92363799069 while reviewing astral-sh#20966. It consumed 104,663 tokens—above the tracker’s previous documented high of 90,817—while covering changes in five workflow files, then exhausted five reconnects on the same TPM-limit disconnect.

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

    @astral-automations-bot
    Author
  12. astral-automations-bot commented on Aug 5, 2026

    @astral-automations-bot
    Author

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

    Another sample occurred in the Rebase conflicted pull requests workflow on Depot Ubuntu, attempt 1, while rebasing astral-sh#19692. Codex completed a clean seven-commit rebase and used 30,623 tokens before “Selected model is at capacity”; verification and push were then skipped.

  13. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  14. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  15. astral-automations-bot commented on Aug 10, 2026

    @astral-automations-bot
    Author
  16. 48 remaining items

  17. astral-automations-bot commented on Aug 20, 2026

    @astral-automations-bot
    Author
  18. astral-automations-bot commented on Aug 21, 2026

    @astral-automations-bot
    Author

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

    Another sample occurred in https://github.com/astral-sh/uv/actions/runs/32514878573/job/96874391277 after 94,204 tokens. Before the terminal TPM-limit disconnect, the review also encountered the read-only Cargo-cache limitation tracked by #829 while attempting targeted tests.

  19. astral-automations-bot commented on Aug 21, 2026

    @astral-automations-bot
    Author
  20. astral-automations-bot commented on Aug 24, 2026

    @astral-automations-bot
    Author
  21. astral-automations-bot commented on Aug 24, 2026

    @astral-automations-bot
    Author

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

    Another sample occurred in https://github.com/astral-sh/uv-dev/actions/runs/32752868503/job/97513845274 during the Rebase conflicted pull requests workflow on Depot Ubuntu 24.04, attempt 1, while rebasing #818. Codex reached the TPM limit after 72,198 tokens, so verification and push were skipped.

  22. astral-automations-bot commented on Aug 27, 2026

    @astral-automations-bot
    Author

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

    Another sample occurred in https://github.com/astral-sh/uv/actions/runs/33090649757/job/98582437625 after 271,470 tokens, above the tracker’s previous documented 236,528-token high; it exhausted all five reconnects on the same TPM-limit disconnect.

  23. astral-automations-bot commented on Aug 27, 2026

    @astral-automations-bot
    Author
  24. astral-automations-bot commented on Aug 27, 2026

    @astral-automations-bot
    Author

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

    Another sample occurred in https://github.com/astral-sh/uv/actions/runs/33096108474/job/98601692141 after 620,519 tokens, substantially above the previously documented 271,470-token high, before exhausting five reconnects on the same TPM-limit disconnect.

  25. astral-automations-bot commented on Aug 27, 2026

    @astral-automations-bot
    Author
  26. astral-automations-bot commented on Aug 28, 2026

    @astral-automations-bot
    Author
  27. astral-automations-bot commented on Aug 31, 2026

    @astral-automations-bot
    Author
  28. astral-automations-bot commented on Sep 1, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv/actions/runs/33548676035 extends the dhi.io login sample to the Python 3.14 Alpine matrix job: a standard Docker Hub image job failed during its unconditional dhi.io authentication, whereas the existing sample affected a DHI Python 3.11 image job.

  29. ewdurbin commented on Sep 1, 2026

    @ewdurbin
    Collaborator

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

    Run https://github.com/astral-sh/uv/actions/runs/33548676035 extends the dhi.io login sample to the Python 3.14 Alpine matrix job: a standard Docker Hub image job failed during its unconditional dhi.io authentication, whereas the existing sample affected a DHI Python 3.11 image job.

    This is not related...

  30. ewdurbin commented on Sep 1, 2026

    @ewdurbin
    Collaborator

    rate limits were 10x'd

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