Skip to content

fix(roadmap): name the head of an ahead stage clone - #5689

Merged
dan-petty merged 1 commit into
mainfrom
fix/3592-the-stage-clone-that-is-ahead-of
Nov 14, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/3592-the-stage-clone-that-is-ahead-of

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The stage job moves its clone to the staged commit with git merge --ff-only. Git reports a clone that is ahead of the staged commit as up to date and keeps its HEAD. _move_clone compares HEAD with the staged commit and stops, so no plan reads a commit it did not name, but the message names only the staged commit and no test pins the check.

The stop now names the short hash and the subject of the commit that the clone kept. A new test moves a clone that is ahead and one that is behind: the ahead clone stops with its own HEAD named, and the behind clone reaches the staged commit.

Closes #3592

Change: openspec/changes/archive/2026-11-14-3592-name-the-head-of-an-ahead/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 14, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 14, 2026 15:11
@dan-petty
dan-petty merged commit edd62cd into main Nov 14, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/3592-the-stage-clone-that-is-ahead-of branch November 14, 2026 15:11
dan-petty pushed a commit that referenced this pull request Nov 14, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.138.1](v0.138.0...v0.138.1)
(2026-11-14)


### Bug Fixes

* **openspec:** resolve requirement overlap in inputs delta
([#5693](#5693))
([3274403](3274403))
* **roadmap:** name the head of an ahead stage clone
([#5689](#5689))
([edd62cd](edd62cd))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the stage clone that is ahead of origin keeps its HEAD

1 participant