Repository navigation
fix(docs): the error catalog lists the onboard errors - #6829
Conversation
Review of #6815: the error catalog lists the onboard errorsRecommendationopen-and-ready. No finding above nit stands. Head: Rebase on Lenses and checksFive lenses ran: fidelity (ok), tests (ok), correctness (ok), standards (concerns) and adversarial (concerns). Two fix rounds removed each concern. A recheck confirmed each fix.
Fail-to-pass1 test fails on the base and passes on the head: Standing findings (all nit)
Fixed findings
Design decisions
Not part of this change
After the review
|
🤖 I have created a release *beep* *boop* --- ## [0.198.0](v0.197.0...v0.198.0) (2026-11-23) ### Features * **ci:** refuse changes to environment paths after the switch ([#6823](#6823)) ([ad366bb](ad366bb)) * **roadmap:** Add requirement text to the stage context ([#6826](#6826)) ([615bbc4](615bbc4)) * **roadmap:** Require a rejected alternative with a fact ([#6836](#6836)) ([5467e22](5467e22)) * **roadmap:** The stage plan states constant claims ([#6837](#6837)) ([5ea6d02](5ea6d02)) ### Bug Fixes * **deps:** update ghcr.io/dan-petty/devtools Docker tag to v1.1.1 ([#6834](#6834)) ([ea1b00f](ea1b00f)) * **docs:** the error catalog lists the onboard errors ([#6829](#6829)) ([1846b2d](1846b2d)) * **roadmap:** name a spent provider key, not a refused key ([#6827](#6827)) ([3aedb2f](3aedb2f)) * **roadmap:** read a record below a block a person opens ([#6812](#6812)) ([54a36e9](54a36e9)) --- 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>
The error catalog
docs/ERRORS.mddid not list the four errors ofdevops repos onboard(#6806). The generator imported only the modules ofdevops_cli.exceptionsand ofCONST_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
.pyfile of the package, so__subclasses__gives every error class that a module defines. The hand list goes. The generator does not usepkgutil.walk_packages, because it skipsdevops_cli/docker/, a directory with no__init__.py.DocGenerator.catalog_module_namesgives the names. A new test runs the import step and expects the module of each file to be loaded.devops docs generateand 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/