Skip to content

fix(infra): Resolve a relative repos base dir from the main worktree - #5801

Merged
dan-petty merged 1 commit into
mainfrom
fix/5195-resolve-the-infra-base-dir-from-the-main-worktree
Nov 15, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/5195-resolve-the-infra-base-dir-from-the-main-worktree

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

devops infra onboard, status and plan found a checkout at <repos.base_dir>//, and a relative repos.base_dir resolved against the working folder. In a linked worktree of devops-cli the command looked under the worktree and stopped, although the clone is at the main checkout. default_checkout now resolves a relative base dir under main_worktree_root(), as a data path does, and an absolute base dir stays as given. A new test pins the worktree resolution.

Closes #5195

Change: openspec/changes/archive/2026-11-15-5195-resolve-the-infra-base-dir-from-the-main-worktree/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/infra Docker container images, DevContainers, and infrastructure tooling labels Nov 15, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 15, 2026 08:07
@dan-petty
dan-petty merged commit 6bd905a into main Nov 15, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/5195-resolve-the-infra-base-dir-from-the-main-worktree branch November 15, 2026 12:17
dan-petty pushed a commit that referenced this pull request Nov 15, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.152.0](v0.151.0...v0.152.0)
(2026-11-15)


### Features

* **cli:** fail a hidden title that ships runtime code
([#5808](#5808))
([22b36c6](22b36c6))
* **docs:** Check the ASD-STE100 rules with Vale
([#5796](#5796))
([79920b1](79920b1)),
closes [#5157](#5157)
* **roadmap:** scaffold makes, resumes or adopts the item branch
([#5795](#5795))
([c377e5a](c377e5a)),
closes [#5499](#5499)


### Bug Fixes

* **ai:** retry a reset in the answer read of a pydantic-ai agent run
([#5811](#5811))
([43022d0](43022d0))
* **ai:** Set the Jev window from the model data
([#5804](#5804))
([5ba1a5c](5ba1a5c))
* **infra:** Resolve a relative repos base dir from the main worktree
([#5801](#5801))
([6bd905a](6bd905a))
* **monitoring:** Start Grafana without the renderer token
([#5803](#5803))
([dcb6840](dcb6840))
* **pr:** Check the scope in a pr create dry run
([#5797](#5797))
([3d5a4d5](3d5a4d5))
* **security:** Judge KSV-0121 with a dated ignore entry
([#5800](#5800))
([7981f47](7981f47)),
closes [#5793](#5793)
* **telemetry:** Send the group body histogram point
([#5798](#5798))
([515689d](515689d))

---
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/infra Docker container images, DevContainers, and infrastructure tooling 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(infra): find the checkout of an infra repo from a worktree

1 participant