Skip to content

fix(roadmap): plan-check --repo reads target repo and title check - #7627

Merged
dan-petty merged 1 commit into
mainfrom
fix/7522-plan-check-repo-origin-and-title
Nov 28, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/7522-plan-check-repo-origin-and-title

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Makes devops roadmap plan-check --repo fetch commits from the target repository across repositories and recognize reusable workflow Semantic PR title check runs.

Closes #7522

Summary

  • Resolve the git fetch remote in src/devops_cli/roadmap/plan_check.py using get_repo_origin_name(source): keep origin when it matches --repo, and otherwise fetch commits from https://github.com/<repo>.git.
  • Skip origin/<base_ref> lookup in _base_revision when fetching from a cross-repository URL so source's origin/main cannot shadow the target repository's base_sha.
  • Accept caller-prefixed reusable workflow title checks ending with / Semantic PR title alongside exact Semantic PR title in both _check_problems and _title_check_pending.
  • Add unit and CLI regression tests covering cross-repo git fetch target, base revision isolation, and reusable workflow title checks.

Verification

  • uv run devops ci test tests/commands/test_roadmap_plan_check_cmd.py tests/roadmap/test_roadmap_plan_check.py tests/invariants/test_change_folders.py (89 passed)
  • uv run devops ci fail-to-pass --base origin/main (3 new/changed tests fail on origin/main and pass on head)
  • uv run devops ci --check --no-cache --skip test,outdated (27/27 checks passed)

Change: openspec/changes/archive/2026-11-28-7522-plan-check-repo-origin-and-title/

@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 28, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 28, 2026 19:53
@dan-petty
dan-petty merged commit 7df067e into main Nov 28, 2026
27 checks passed
@dan-petty
dan-petty deleted the fix/7522-plan-check-repo-origin-and-title branch November 28, 2026 19:53
dan-petty-release Bot added a commit that referenced this pull request Nov 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.240.0](v0.239.0...v0.240.0)
(2026-11-28)


### Features

* **gh:** delegate gh issue view, list, status and create to gh
([#7626](#7626))
([91b805b](91b805b)),
closes [#4848](#4848)
* **monitoring:** apply Grafana design colors and unit rules
([#7623](#7623))
([aa539b0](aa539b0))


### Bug Fixes

* **docs:** ignore placeholder arguments in README command examples
([#7625](#7625))
([6c14c10](6c14c10))
* **roadmap:** plan-check --repo reads target repo and title check
([#7627](#7627))
([7df067e](7df067e))
* **security:** judge KSV-0001 in kubernetes_adversary.yaml
([#7624](#7624))
([b898729](b898729))

---
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): plan-check --repo reads the wrong origin and title check

1 participant