Skip to content

fix(ci): Identify a base gate run by its recorded worktree - #6309

Merged
dan-petty merged 2 commits into
mainfrom
fix/5361-a-fail-to-pass-test-reads-a-head-run-as-a-base-run
Nov 18, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/5361-a-fail-to-pass-test-reads-a-head-run-as-a-base-run

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The fail-to-pass fake read a gate row as a base run when its working folder was named tree, so a checkout root named tree got the base answer for the head run and the replay proved nothing. The fake now records the base worktree that git worktree add made and identifies a base run by that path or a folder inside it, not by the folder name; a folder named tree that no add recorded is a head run. The replay test now passes in a checkout of any folder name.

Closes #5361

Change: openspec/changes/archive/2026-11-18-5361-a-fail-to-pass-test-reads-a-head-run-as-a-base-run/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners labels Nov 18, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 18, 2026 16:20
@dan-petty
dan-petty merged commit 959c74a into main Nov 18, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/5361-a-fail-to-pass-test-reads-a-head-run-as-a-base-run branch November 18, 2026 16:48
dan-petty pushed a commit that referenced this pull request Nov 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.177.1](v0.177.0...v0.177.1)
(2026-11-18)


### Bug Fixes

* **ci:** Identify a base gate run by its recorded worktree
([#6309](#6309))
([959c74a](959c74a))
* **ci:** retry the Trivy download of the image scan steps
([#6311](#6311))
([81ff182](81ff182))
* **openspec:** Read the openspec version before regenerate writes
([#6312](#6312))
([6d8025f](6d8025f))

---
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/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners 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(ci): a fail-to-pass test reads a head run as a base run

1 participant