Skip to content

Rebase workflow fails when all pull request commits become empty #419

Open

Description

@astral-automations-bot

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

Workflow: Rebase conflicted pull requests
Job: Rebase pull request astral-sh/uv-dev#256 / Rebase pull request astral-sh/uv-dev#256
Platform: Depot Ubuntu 24.04
Attempt: 1

Decisive error:

fatal: Refusing to create empty bundle.
Process completed with exit code 128.

The rebase completed with a clean worktree and no active rebase, but HEAD and refs/remotes/origin/main both resolved to 116ca06b34b1f4e08ebf5f5cffa82599cbc664f0. The rebase output reported that the PR commit was dropped because its changes were already upstream. The verification step then unconditionally ran:

git bundle create "$RUNNER_TEMP/rebased.bundle" "refs/remotes/origin/$BASE_REF..HEAD"

Git cannot create a bundle from that empty revision range. This is a deterministic workflow edge case rather than a source test failure in #256. The workflow should explicitly handle a rebase whose commits all become empty, for example by reporting the no-op outcome without attempting to create an empty bundle.

The same run had an independent HTTP 403 while pushing the successfully rebased #253 branch. That failure is already tracked by #367.

Activity

  1. added
    bug
    on Jul 27, 2026
  2. astral-automations-bot commented on Jul 30, 2026

    @astral-automations-bot
    Author

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

    Another sample affects #265 on Depot Ubuntu 24.04; as in the tracked occurrence, all PR commits became empty and the verification step failed while creating the bundle.

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

    @astral-automations-bot
    Author

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

    Another sample affects #590; its sole commit became empty because the fix and regression coverage had already landed via astral-sh#21045.

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

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

    @astral-automations-bot
    Author
  6. astral-automations-bot commented on Aug 11, 2026

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

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

    @astral-automations-bot
    Author
  9. astral-automations-bot commented on Aug 11, 2026

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

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

    @astral-automations-bot
    Author

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

    Another sample occurred in astral-sh/uv run https://github.com/astral-sh/uv/actions/runs/31786461253 on Depot Ubuntu 24.04, attempt 1. Both commits from astral-sh#21098 became empty after astral-sh#21097 landed the fix and broader regression coverage; verification then failed with the tracked empty-bundle error.

  12. 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/33103235920

    Run https://github.com/astral-sh/uv-dev/actions/runs/33103235920 adds another #419 sample: #189 became empty after astral-sh#21186 removed Pyx authentication. The same run independently reproduced the push-stage HTTP 403 tracked by #367 for #284.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    @astral-automations-bot
    Author
  30. astral-automations-bot commented on Oct 24, 2026

    @astral-automations-bot
    Author
  31. astral-automations-bot commented on Oct 25, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions