Skip to content

ci(roadmap): run a plan check on each Service plan pull request - #3733

Merged
dan-petty merged 4 commits into
mainfrom
ci/3103-plan-check-job
Nov 6, 2026
Merged

dan-petty merged 4 commits into
mainfrom
ci/3103-plan-check-job

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The job Plan Check in pr-title.yml runs devops roadmap plan-check on each plan pull request of the Service bot. It needs the title check, runs after a failed one, and holds read permissions only. A plan can merge in minutes and no CI job looked at it. The job is advisory: the independent review runs outside this repository, so the service-vetted gate is dropped. A person makes the job a required check (ADR 0014). The workflow now sets UV_MANAGED_PYTHON, as every workflow that runs uv must.

Closes #3103

Change: openspec/changes/archive/2026-11-06-3103-plan-check-job/

@dan-petty dan-petty added type/infra Type infra: the build, CI, images or cluster scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Review finding on tasks.md: confirmed and fixed. The task groups had no kind, and the commands used the form ; verification:. Each group now has a kind in its title, (other), and each task has a nested Verification: line. uv run devops openspec check passes. The plan reader of the stage job needs a Reads:/Changes: line that the archived human plans do not hold, so I did not add one.

Bot login: the pull request API for #3261 (a real plan pull request) gives the user devops-cli-service[bot], type Bot.

Full uv run devops ci (run under the shared lock): 3 failed, 19461 passed, 1 error.

  • tests/commands/test_ci.py::test_github_workflows_name_their_runner_and_use_managed_python was mine: pr-title.yml now runs uv and needs UV_MANAGED_PYTHON. I fixed it. The file now passes (124 tests), and so does tests/invariants/test_workflow_contracts.py (108 tests).
  • Known host failures that fail on origin/main too: tests/commands/test_devcontainer_install_tools_dry_run.py and tests/ai/test_tool_executor_contract.py (fix(ci): host state fails four tests and one case #3585).
  • The test check took 7m 22s, over the 5m budget (fix(ci): the pytest step of devops ci exceeds the 5-minute budget #3593). I did not fix it here.
  • I did not run the full CI again after the fix. GitHub CI is the second run.

Not done: no service-vetted status was posted. A person must make Plan Check a required check in the ruleset of main (ADR 0014). The advice: make it required after the plan reader gives no false alarm.

The job Plan Check in pr-title.yml runs devops roadmap plan-check on a plan pull request of the Service bot. It needs the title check, runs after a failed one, and holds read permissions only. It is advisory: the independent review runs outside the repository.

Refs #3103
@dan-petty
dan-petty force-pushed the ci/3103-plan-check-job branch from 4709eeb to dd1204a Compare November 6, 2026 05:08
@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 05:14
@dan-petty
dan-petty merged commit be31875 into main Nov 6, 2026
23 checks passed
@dan-petty
dan-petty deleted the ci/3103-plan-check-job branch November 6, 2026 05:14
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/infra Type infra: the build, CI, images or cluster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(roadmap): run plan-check on each plan pull request of the Service

1 participant