Repository navigation
feat(repos): onboard a repository in one command - #6806
Merged
Merged
Conversation
Owner
Author
|
Builder notes for the owner review. These points are not part of the squash commit. Deviations from the design of #6773
Person steps
Read path proof (GET only)
|
dan-petty
force-pushed
the
feat/6773-repos-onboard
branch
from
November 22, 2026 23:10
0cd12f7 to
d20029d
Compare
Contributor
|
Pull request #6806 has merge conflicts with |
dan-petty
marked this pull request as ready for review
November 22, 2026 23:18
- Commit docs/repos/onboard.md: the root rule /repos/ of .gitignore no longer ignores docs/repos/, and the docs site nav lists the page. - Row 11 uses the head that the checks ran on. A head that moved makes the row waiting, and the next run checks the new head. - A GraphQL route names its mutations. The writer refuses a document with another top field (graphql-core parses it). - For a repository that does not exist, row 0 checks the token scopes before row 1 creates it. - A private repository on the Free plan gets no release flow, also with --release-flow (D2). - Row 2 sends a commit title with its commit message, as GitHub requires. - A missing copier program gives a person step with its install. - The dry run lists the reads of .github/labels.yml and of the parent commit. - Rename the owner RAG_PASS to RAG_INGEST, and update the config tests for the release App settings.
dan-petty
enabled auto-merge (squash)
November 22, 2026 23:20
dan-petty
force-pushed
the
feat/6773-repos-onboard
branch
from
November 22, 2026 23:23
d20029d to
70c56d2
Compare
dan-petty
pushed a commit
that referenced
this pull request
Nov 22, 2026
🤖 I have created a release *beep* *boop* --- ## [0.196.0](v0.195.4...v0.196.0) (2026-11-22) ### Features * **repos:** onboard a repository in one command ([#6806](#6806)) ([0197537](0197537)), closes [#6773](#6773) * **roadmap:** Run several implement Jobs on disjoint files ([#6807](#6807)) ([0ce63b3](0ce63b3)) * **roadmap:** the Service removes the labels of a closed issue ([#6802](#6802)) ([f3a1e9a](f3a1e9a)), closes [#4660](#4660) --- 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>
This was referenced Nov 23, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 23, 2026
The error catalog `docs/ERRORS.md` did not list the four errors of `devops repos onboard` (#6806). The generator imported only the modules of `devops_cli.exceptions` and of `CONST_DOMAIN_EXCEPTION_MODULES`, a hand list. No check failed, and the catalog test passed or failed with the shard layout. #6810 added the two modules to the list, but the next module can miss it again. The generator now imports the module of each `.py` file of the package, so `__subclasses__` gives every error class that a module defines. The hand list goes. The generator does not use `pkgutil.walk_packages`, because it skips `devops_cli/docker/`, a directory with no `__init__.py`. `DocGenerator.catalog_module_names` gives the names. A new test runs the import step and expects the module of each file to be loaded. `devops docs generate` and the catalog tests each take about 2 s more. The generated docs do not change. Closes #6815 Change: `openspec/changes/archive/2026-11-23-6815-error-catalog-onboard-errors/`
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
devops repos onboard <owner>/<name>onboards a repository in one command (ADR 0035) and replacesdevops roadmap onboard. Rows 0 to 15 each read with GET, compare with the baseline, and write only the differences through one route table.--planreads only,--dry-runsends nothing,--confirmwrites, and--all --planchecks each repository ofservice.repos. The baseline is the Copier template ofgithub.template_repositoryat--template-ref,_commitof.copier-answers.ymlor the latest release. A route-ownership test holds each write to its owner, and each GraphQL route names its mutations. Row 11 merges the template pull request only at the head that its checks ran on. The release key comes by reference and reaches no output. The output ends with the person steps. New settings:github.template_repository,github.release_app_client_id,github.release_app_private_key. The how-to isdocs/repos/onboard.md.Closes #6773
Change:
openspec/changes/archive/2026-11-22-6773-repos-onboard/