Skip to content

feat(roadmap): Add the OpenSpec row to the onboard command - #7407

Merged
dan-petty merged 2 commits into
mainfrom
feat/3770-onboard-sets-up-openspec-in-a
Nov 27, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/3770-onboard-sets-up-openspec-in-a

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

The item #3770 asks for an onboarding step that checks OpenSpec in the target repository and sets it up through one pull request. The stage job plans each item as an OpenSpec change and reads the rules of the config file, so a managed repository without that file learns of the missing setup one failed plan at a time. Since the infra move, the generic openspec/config.yaml is a file of the repository template of dan-petty/infra (templates/repository/openspec/config.yaml), and the template pull request of row 9 already adds each template file that a repository lacks. This change adds the OpenSpec row to devops repos onboard, so one run reports the state before a plan fails, and it proves that the one template pull request carries the OpenSpec files of the template.

Closes #3770

Change: openspec/changes/archive/2026-11-27-3770-onboard-sets-up-openspec-in-a/

@devops-cli-service devops-cli-service Bot added scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function labels Nov 27, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Step Status Attempts Tokens in/out Last failing command
group 1 done 2 3918750/26451 -
group 2 done 1 4688218/14299 -
group 3 done 1 2810147/6463 -
group 4 done 1 9801197/12679 -
group 5 done 1 5647408/4962 pytest on base: tests/commands/test_repos_onboard.py
group 6 done 1 4182743/7649 -
  • tools: run_command 139, edit_file 49, read_file 18, write_file 3, create_directory 2
  • scoped check pre-push: passed, 5 s
  • scoped check static: passed, 24 s
  • scoped check tests: passed, 43 s
  • scoped check strength: passed, 0 s
  • scoped check tests: the changed files select more than 30 test modules, so only the changed test modules ran. The required checks of CI run the others
  • group 2: skipped, group 2: kind other
  • group 3: skipped, group 3: kind other
  • group 6: skipped, group 6: kind other
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.github.onboard.test_onboard_openspec::test_openspec_row_reads_present, tests.github.onboard.test_onboard_openspec::test_openspec_row_reads_missing, tests.github.onboard.test_onboard_openspec::test_openspec_row_reads_invalid_for_another_schema, tests.github.onboard.test_onboard_openspec::test_openspec_row_reads_invalid_for_text_that_does_not_parse, tests.github.onboard.test_onboard_openspec::test_openspec_row_reads_invalid_with_no_specs_folder, tests.github.onboard.test_onboard_openspec::test_openspec_row_reads_waiting_on_the_template_head, tests.github.onboard.test_onboard_openspec::test_openspec_row_reads_waiting_when_the_template_head_adds_the_specs_folder, tests.github.onboard.test_onboard_openspec::test_openspec_row_reads_missing_when_the_template_head_lacks_the_specs_folder.
  • verify of group 2: uv run devops ci test tests/github/onboard/test_onboard_openspec.py exits 0.
\u2139 Quality gate root: /run/roadmap/work/model-clone
No coverage index found. Run `devops ci coverage --build-index` to build one.
  tests/github/onboard/test_onboard_openspec.py \u2192 tests/github/onboard/test_onboard_openspec.py
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.10, pytest-9.2.0, pluggy-1.7.0
rootdir: /run/roadmap/work/model-clone
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, platformdirs-4.14.8, time-machine-3.6.0, mock-3.17.0, anyio-4.16.0, asyncio-1.5.0, syrupy-7.0.3, timeout-2.4.0, hypothesis-6.170.17
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 11 items

tests/github/onboard/test_onboard_openspec.py ...........                                                                                                                                                                                          [100%]

=================================================================================================================== 11 passed in 5.00s ===================================================================================================================
  • verify of group 3: uv run devops ci test tests/github/onboard/test_onboard_openspec.py exits 0.
\u2139 Quality gate root: /run/roadmap/work/model-clone
No coverage index found. Run `devops ci coverage --build-index` to build one.
  tests/github/onboard/test_onboard_openspec.py \u2192 tests/github/onboard/test_onboard_openspec.py
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.10, pytest-9.2.0, pluggy-1.7.0
rootdir: /run/roadmap/work/model-clone
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, platformdirs-4.14.8, time-machine-3.6.0, mock-3.17.0, anyio-4.16.0, asyncio-1.5.0, syrupy-7.0.3, timeout-2.4.0, hypothesis-6.170.17
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 12 items

tests/github/onboard/test_onboard_openspec.py ............                                                                                                                                                                                         [100%]

=================================================================================================================== 12 passed in 7.41s ===================================================================================================================
  • fail-to-pass of group 4: fails on the base commit. Tests that fail on the base commit: tests.github.onboard.test_onboard_rows::test_a_second_confirmed_run_on_a_new_repository_writes_nothing, tests.github.onboard.test_onboard_rows::test_an_onboarded_repository_plans_no_change, tests.github.onboard.test_onboard_rows::test_a_plan_with_an_invalid_openspec_row_reports_drift.
  • fail-to-pass of group 5: fails on the base commit. Tests that fail on the base commit: tests.commands.test_repos_onboard::test_only_takes_the_openspec_row.
  • verify of group 6: uv run devops ci docs exits 0.
\u2139 Quality gate root: /run/roadmap/work/model-clone
\u2713 All documentation files are up to date.

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 27, 2026 13:41
@dan-petty
dan-petty merged commit 1d80f4d into main Nov 27, 2026
31 checks passed
@dan-petty
dan-petty deleted the feat/3770-onboard-sets-up-openspec-in-a branch November 27, 2026 14:55
dan-petty-release Bot added a commit that referenced this pull request Nov 27, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.226.0](v0.225.1...v0.226.0)
(2026-11-27)


### Features

* **roadmap:** Add the OpenSpec row to the onboard command
([#7407](#7407))
([1d80f4d](1d80f4d))


### Bug Fixes

* **deps:** update dan-petty/devtools Docker tag to v1.3.3
([#7420](#7420))
([d6fc228](d6fc228))
* **k8s:** copy volume move data pod to pod, not via API server
([#7417](#7417))
([3a448e3](3a448e3))
* **k8s:** run rag-ingest on Argo Workflows v4
([#7421](#7421))
([28036a8](28036a8))

---
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/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): onboard sets up openspec in a repository

1 participant