Skip to content

Pull request promotion fails when GitHub OIDC token request flakes #514

Open

Description

@astral-automations-bot

Failed run: https://github.com/astral-sh/uv-dev/actions/runs/30821666541
Failed job: https://github.com/astral-sh/uv-dev/actions/runs/30821666541/job/91712841026

Workflow: Promote pull request
Job: Promote pull request #509
Step: Get promotion token
Platform: Ubuntu (ubuntu-slim)
Attempt: 1
Event/branch: workflow_dispatch on main

Decisive error:

OIDC token request failed

This was the only independent failure. The promotion and source-pull-request closure steps were skipped as consequences.

The pinned ost-simple-sts action emits this error while requesting the GitHub Actions OIDC token, before it contacts the credential-broker exchange endpoint. The workflow grants id-token: write, and the checked-in broker policy contains a matching workflow_dispatch grant for promote-pull-request.yml and the requested repositories and permissions. This rules out the known missing-policy failure mode, although the log does not expose the upstream response or prove its transient cause.

The run targeted #509, whose proposed change only adds an integration test and does not modify the promotion workflow or broker policy. The OIDC request path has no retry, so a transient request failure aborts promotion and is actionable for CI mitigation.

Related: #499 tracks a later-stage broker exchange rejection in another workflow, and astral-sh#20866 fixed an invalid broker policy; neither covers failure to obtain the GitHub OIDC token.

Activity

  1. added
    internal:ci-flake
    on Aug 3, 2026
  2. astral-automations-bot commented on Aug 27, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv-dev/actions/runs/33104919773 adds a CI build-docker sample: the python:3.9-trixie job received HTTP 503 with a connection timeout while Depot's action obtained the GitHub OIDC token, then failed for lack of a temporary API token. The other 25 Docker image jobs succeeded. The simultaneous auth snapshot failure is separately tracked by #895 and fixed by astral-sh#21326.

  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-dev/actions/runs/34441207968

    Another sample: https://github.com/astral-sh/uv-dev/actions/runs/34441207968 failed in Pull request labels, apply / Get repository label token on ubuntu-slim, extending the tracked flake beyond promotion workflows.

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

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv-dev/actions/runs/35009046449 adds an Import CodSpeed profiles sample: import / Get public benchmark artifact token failed with the same statusless OIDC request error on GitHub Ubuntu 24.04 x86_64 after two successful importer token exchanges roughly 20 minutes earlier.

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

    @astral-automations-bot
    Author
  6. astral-automations-bot commented on Sep 22, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv/actions/runs/35779698749 adds a test uv publish sample on github-ubuntu-24.04-x86_64-4: during attestation setup, sigstore credential detection received HTTP 504 with "upstream request timeout" from GitHub's OIDC endpoint on attempt 1.

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

    @astral-automations-bot
    Author

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

    Another Import CodSpeed profiles sample: https://github.com/astral-sh/uv-dev/actions/runs/36774383072 failed on attempt 1 in Get public benchmark artifact token with an explicit HTTP 503 from the GitHub OIDC token request; the prior same-workflow sample did not include a status code.

  8. astral-automations-bot commented on Oct 7, 2026

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv-dev/actions/runs/37679575282, attempt 1, adds an explicit 'OIDC token request failed (503)' sample in Pull request labels / apply / Get repository label token on github-ubuntu-24.04-x86_64-2. The previous label-workflow sample used ubuntu-slim; this occurrence confirms the failure also affects the Ubuntu 24.04 runner.

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

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

    @astral-automations-bot
    Author

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

    Attempt 1 of https://github.com/astral-sh/uv-dev/actions/runs/38607032739 adds a preparation-stage sample: Get promotion token failed while preparing #2363 on github-ubuntu-24.04-x86_64-2 with 'OIDC token request failed (503)', before promotion planning. The original promotion report used ubuntu-slim and lacked an HTTP status.

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

    @astral-automations-bot
    Author
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