Repository navigation
fix(roadmap): Read the plan head by SHA, not FETCH_HEAD - #5831
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 15, 2026 13:19
dan-petty
pushed a commit
that referenced
this pull request
Nov 15, 2026
🤖 I have created a release *beep* *boop* --- ## [0.153.0](v0.152.1...v0.153.0) (2026-11-15) ### Features * **monitoring:** Turn on the Loki pattern ingester ([#5833](#5833)) ([1189ce3](1189ce3)) * **roadmap:** Re-stage an item whose draft plan fails ([#5816](#5816)) ([631a0b3](631a0b3)) ### Bug Fixes * **github:** retry a connect failure on GitHub session GET ([#5832](#5832)) ([7fc5a87](7fc5a87)) * **roadmap:** Read the plan head by SHA, not FETCH_HEAD ([#5831](#5831)) ([2b46370](2b46370)) * **security:** configure read-only root file system for GFD ([#5807](#5807)) ([3c902d7](3c902d7)), closes [#5791](#5791) * **security:** Keep a lower-case name after a token keyword ([#5824](#5824)) ([c4b2fc9](c4b2fc9)) * **tests:** Name the ceiling file and the usual fix ([#5829](#5829)) ([cd0974c](cd0974c)) --- 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.
devops roadmap plan-check fetched refs/pull//head and then read FETCH_HEAD, which all worktrees of a checkout share. A fetch by another agent between the two commands made the check read another commit and report a false problem, such as the head holds no change folder. The check now fetches the head commit that the pull request names (facts.head_sha) and reads that commit. A new test moves the pull ref to another commit and shows that the check still reads the tree of the named head.
Closes #5255
Change:
openspec/changes/archive/2026-11-15-5255-plan-check-reads-the-head-sha/