Repository navigation
fix(roadmap): the stage job plans on the commit it fetched from origin - #3607
Merged
Merged
Conversation
Owner
Author
Finish notes for #3301Local check:
Fail-to-pass:
Deviations:
Open items:
|
This was referenced Nov 5, 2026
Owner
Author
|
Check status at e40f40c:
|
dan-petty
force-pushed
the
fix/3301-stage-reads-the-base-commit
branch
from
November 5, 2026 12:57
e40f40c to
acb0c1f
Compare
dan-petty
marked this pull request as ready for review
November 5, 2026 13:04
dan-petty
marked this pull request as draft
November 5, 2026 13:14
dan-petty
force-pushed
the
fix/3301-stage-reads-the-base-commit
branch
from
November 5, 2026 13:45
acb0c1f to
a1b50ba
Compare
The stage job read the default branch of the local checkout. A local branch that was behind origin gave a plan a base that was out of date. The job now reads the commit that it fetched from origin, and it moves the clone to that commit. The ahead-clone case is refused. Closes #3301 Change: openspec/changes/archive/2026-11-05-3301-stage-reads-the-base-commit
dan-petty
force-pushed
the
fix/3301-stage-reads-the-base-commit
branch
from
November 5, 2026 14:07
a1b50ba to
7a8a884
Compare
dan-petty
marked this pull request as ready for review
November 5, 2026 14:17
dan-petty
pushed a commit
that referenced
this pull request
Nov 5, 2026
🤖 I have created a release *beep* *boop* --- ## [0.62.4](v0.62.3...v0.62.4) (2026-11-05) ### Bug Fixes * **roadmap:** the stage job plans on the commit it fetched from origin ([#3607](#3607)) ([db4e67e](db4e67e)) --- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The stage job read the HEAD of its clone to choose the commit of a plan. The clone can be older than origin/main. The premise probe then reported a file as absent when the file exists at the plan base. A plan that used that answer was wrong.
The stage job now takes the default branch of origin, as fetched, as the staged commit. It moves the clone to that commit with git merge --ff-only. A clone that cannot fast-forward to that commit fails the run, and no item is staged. A new branch starts at the staged commit. The probe, the branch and the toolbox now use one commit.
The plan report and the dry run name the staged commit.
Closes #3301
Change:
openspec/changes/archive/2026-11-05-3301-stage-reads-the-base-commit/