Repository navigation
feat(roadmap): name each repository's resources from one RepoRef - #4612
Conversation
Add RepoRef in src/devops_cli/github/repo_ref.py. It parses owner/name one time and builds the label values, unit and ad hoc names, lock names, valkey-roadmap keys and their two SCAN MATCH patterns, the metric repo value, the OpenTelemetry VCS span attributes and the clone path parts of a repository. service.repos refuses an entry that is not owner/name and two spellings of one repository. ADR 0022 records the rules. Closes #4533
|
Results of the local checks (branch at e8b2cf5 on
Live check (read only, counts only): ConfigMap Live steps for a person: none. The live ConfigMap passes the new check of ADR number: the record of the move (#4527) is in work at the same time and takes 0021, the next free number. This record takes 0022 so the two do not collide. The pull request that merges second adds the link between the two records. Out of scope, filed: #4610. A value that a settings validator refuses in the config file ends the command with a traceback. The same value in an environment variable gives one clean line. |
Review findings after mergeThis pull request merged at 2026-11-11T12:31:09Z, before the findings were fixed. Thus no change goes into this branch. Each finding goes to an issue.
Evidence for finding 1:
#4617 holds the fix: a link to the ADR 0021 file in the Status section of ADR 0022, and a link to the ADR 0022 file in place of the "Until that record merges" sentences of ADR 0021. |
Each part of the roadmap Service made the names of a repository in its own way, and
service.reposhad no check. The move of the Service work to Jobs, Workflows and Valkey (#4517) adds many names and keys for each repository, so one rule comes first.RepoRef(src/devops_cli/github/repo_ref.py) parsesowner/nameone time and builds the label values, unit and ad hoc names, lock names,valkey-roadmapkeys and their twoSCAN MATCHpatterns, the metricrepovalue, the VCS span attributes and the clone path parts.service.reposrefuses an entry that is notowner/nameand two spellings of one repository.is_name_segmentandis_repository_namemove into the module.Closes #4533
Change:
openspec/changes/archive/2026-11-11-4533-name-each-repository-s-resources-from/