Skip to content

Rebase automation leaves stale rebase metadata after using a linked worktree #481

Open

Description

@astral-automations-bot

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

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

Decisive error:

The rebase is still in progress; refusing to push.
Process completed with exit code 1.

The initial rebase could not update .codex/skills because .codex was mounted read-only. The automation restored the visible checkout, performed and completed the rebase in /tmp/uv-rebase-worktree, resolved the source conflict, passed the focused test and formatting check, and transplanted the rebased commit back to the primary checkout. However, the primary Git directory still contained rebase-merge or rebase-apply, so the workflow's verification guard rejected the result and skipped artifact upload and push.

This is unrelated to the changes in #175: it is an interaction between the workflow's protected .codex mount and its linked-worktree recovery path. The workflow should either support rebasing across protected paths without moving worktrees or ensure the original checkout's rebase state is safely cleaned after transferring a completed linked-worktree result.

The closest existing report is #419, but that tracks a different verification failure caused by an empty bundle range.

Activity

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

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

    #300 is a new affected pull request: its linked-worktree rebase and validation completed, but the primary checkout retained stale rebase metadata. This run also independently reproduced #419 for #590.

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

    @astral-automations-bot
    Author

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

    Run https://github.com/astral-sh/uv-dev/actions/runs/32291596356 adds #35 as another affected pull request: its linked-worktree rebase completed, but stale metadata in the primary checkout caused verification to reject the result.

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

    Run https://github.com/astral-sh/uv-dev/actions/runs/33121020520 adds #189 as another affected pull request. Its commit also became empty after astral-sh#21186, so after the stale-metadata problem is resolved this case reaches the empty-bundle condition tracked by #419.

  6. astral-automations-bot commented on Aug 29, 2026

    @astral-automations-bot
    Author
  7. astral-automations-bot commented on Sep 8, 2026

    @astral-automations-bot
    Author

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

    This sample adds #227 to #481: its linked-worktree rebase completed with no commits remaining, but stale primary-checkout metadata triggered verification. The same run independently reproduced #419 for #402.

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