Skip to content

Conflict discovery fails without retry on GitHub GraphQL 502 #372

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv-dev/actions/runs/29929945390
Failed job: https://github.com/astral-sh/uv-dev/actions/runs/29929945390/job/88956708287

Workflow: Rebase conflicted pull requests
Job: Identify conflicted pull requests
Platform: Ubuntu (ubuntu-slim)
Attempt: 1

Decisive error:

HTTP 502: 502 Bad Gateway (https://api.github.com/graphql)
Process completed with exit code 1.

This was a push to main. The rebase matrix job was skipped only because conflict discovery failed, so it is not an independent failure.

The checked-in scripts/find-conflicted-pull-requests.sh retries when GitHub returns UNKNOWN mergeability, but set -e causes the script to exit immediately when gh pr list encounters a retryable API or transport failure. The 502 points to GitHub infrastructure, although its underlying cause is not confirmed. Bounded retries for transient GraphQL failures would keep this default-branch automation from failing on a single gateway error.

Related issue #367 covers an intermittent 403 during the later branch-push stage and does not track this failure.

Activity

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

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

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv-dev/actions/runs/33200980196 is another #372 sample: the conflict-discovery request returned HTTP 503 rather than 502 after UNKNOWN mergeability fell from 443 pull requests on attempt 1 to 180 on attempt 2.

  4. 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/36655445000

    Run https://github.com/astral-sh/uv-dev/actions/runs/36655445000 is another #372 sample. On attempt 1 of a main-branch push, the Identify conflicted pull requests job failed at the initial gh pr list request with the same GraphQL HTTP 502; this occurrence used the github-ubuntu-24.04-x86_64-2 runner. Job: https://github.com/astral-sh/uv-dev/actions/runs/36655445000/job/109698678417

  5. 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/38592227085

    Another occurrence of #372 returned GraphQL HTTP 504, extending the previously recorded 502 and 503 responses. Attempt 1 failed during initial conflict discovery on github-ubuntu-24.04-x86_64-2, before any mergeability-wait messages. Job: https://github.com/astral-sh/uv-dev/actions/runs/38592227085/job/115949777432

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

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

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

    @astral-automations-bot
    Author

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

    This occurrence failed on the fifth mergeability poll, after UNKNOWN counts of 1000, 520, 95, and 95. That timing matters for #2113: its shared five-attempt budget would also propagate an API error on this final poll. Attempt 1 job: https://github.com/astral-sh/uv-dev/actions/runs/39800591136/job/119899837034

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