Skip to content

fix(roadmap): refine reads a dependency named by title - #4877

Merged
dan-petty merged 2 commits into
mainfrom
fix/4803-refine-title-dependencies
Nov 12, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4803-refine-title-dependencies

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The Dependencies section of an issue body can name an issue by its quoted title. Refine and the stage job read only #N words there. So refine recorded no dependency for such an item, and the stage job could take it before its dependencies merged.

title_dependencies matches each quoted Conventional Commit title in that section to the one open Item with that exact title, else to the one closed Item with it. A list item that names #N is read by its number. Refine adds each match to the dependencies of the proposal, so an open match blocks the item. The stage job leaves out an item with an open match. A title that names no Item, or two Items, fails the refine round with the job check dependencies, and the error asks for #<number>.

Closes #4803

Change: openspec/changes/archive/2026-11-12-4803-refine-reads-a-dependency-that-the/

The Dependencies section of a body can name an issue by its quoted
title. Refine and the stage job read only #N words, so refine recorded
no dependency for such an item, and the stage job could take it before
its dependencies merged.

title_dependencies matches each quoted Conventional Commit title to the
one open Item with that exact title, else to the one closed Item. Refine
adds each match to the proposal, and the stage job leaves out an item
with an open match. A title that names no single Item fails the refine
round with the job check dependencies, which asks for #<number>.
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 12, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Effect on the census of open issues

The census of 2026-11-11 holds 439 open issues. I ran title_dependencies and body_dependencies of this branch over each body.

Measure Before After
Open issues that name a dependency by a quoted title 26 26
Of them, issues where refine and stage found no dependency (no #N) 20 0
Quoted titles that resolve to one issue 0 of 57 57 of 57 (44 open, 13 closed)
Titles that fail the refine round (dependencies) n/a 0
Open dependencies that refine and stage see 0 44, in 23 issues
Ready items that stage can take before an open dependency merges 2 (#4574, #4545) 0

Fail-to-pass

uv run devops ci fail-to-pass --base origin/main:

5 failed on base (5 failed and 80 passed in tests/roadmap/refine/test_roadmap_refine_blocked.py, tests/roadmap/refine/test_roadmap_refine_job_failure.py, tests/roadmap/stage/test_roadmap_stage_selection.py; 0 errored).
  • test_an_issue_that_the_body_names_by_its_quoted_title_is_a_dependency[open] and [closed]
  • test_a_dependency_title_that_names_no_single_issue_is_a_job_failure_that_asks_for_the_number[no-issue] and [two-open-issues]
  • test_an_item_that_names_an_open_issue_by_its_quoted_title_is_left_out

Local checks: the refine and stage suites (2822 passed, 1 skipped), ruff, mypy, devops openspec check and devops ci docs.

Steps for a person

  1. The plan asks to write the 4 dependencies of feat(roadmap): run the reconcile sweep on a cluster schedule #4574 as #N now. The auto mode check refused this GitHub write, so I did not do it. To do it, change the 4 lines of the Dependencies section of feat(roadmap): run the reconcile sweep on a cluster schedule #4574 to - #4565 "<title>"., - #4568 "<title>"., - #4573 "<title>". and - #4567 "<title>".. The body edit makes refine read the item again, and its refine block then lists the 4 dependencies (criterion 3 of fix(roadmap): refine reads a dependency that the body names by title #4803).
  2. fix(monitoring): drop per-pod labels from gateway spend series #4545 has the same form, with the open dependencies feat(roadmap): run each stage item in its own Job #4559 and feat(ai): label gateway spend by repository #4578. After the deploy, the stage job leaves it out with no body edit.
  3. This change needs no ConfigMap or Secret change. The next roadmap Service image after the merge carries it.

@dan-petty
dan-petty marked this pull request as ready for review November 12, 2026 01:03
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: 786b733931b3b1426abe83f73a94442c52ddef14

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
CodeQL success run
Plan Check skipped run
Dependency Freshness skipped run
Test Job Duration skipped run
Service Image success run
Rule Pack Tests success run
Changed-Test Independence success run
Tests & Coverage (shard 1 of 4) success run
Third-Party Image Scan success run
Image Pins success run
Docs Site Build success run
MCP Server Image success run
Tests & Coverage (shard 2 of 4) success run
Analyze (actions) success run
Runner Image success run
Tests & Coverage (shard 4 of 4) success run
Design Tokens success run
Tests & Coverage (shard 3 of 4) success run
DevContainer Image success run
Analyze (python) success run
Static Analysis success run
Fail-to-Pass Check success run
Semantic PR title success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/43130155420/job/130892020116

Skipped check: Plan Check
Skipped check: Dependency Freshness
Skipped check: Test Job Duration

@dan-petty
dan-petty merged commit 2829f9c into main Nov 12, 2026
27 checks passed
@dan-petty
dan-petty deleted the fix/4803-refine-title-dependencies branch November 12, 2026 01:07
dan-petty pushed a commit that referenced this pull request Nov 12, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.115.0](v0.114.1...v0.115.0)
(2026-11-12)


### Features

* **design:** add the design tokens and their build
([#4811](#4811))
([db4b19a](db4b19a))
* **roadmap:** find symbol definitions with tree-sitter
([#4820](#4820))
([3b3fddc](3b3fddc))


### Bug Fixes

* **ai:** the gateway group that answered decides the local label
([#4907](#4907))
([0da637f](0da637f))
* **ci:** replay a changed gate check in fail-to-pass
([#4898](#4898))
([59bfc57](59bfc57))
* **config:** read each config file as YAML 1.2
([#4858](#4858))
([c3130a3](c3130a3))
* **roadmap:** loosen the caps that turn a stage refusal into a loss
([#4869](#4869))
([4492fc3](4492fc3))
* **roadmap:** refine reads a dependency named by title
([#4877](#4877))
([2829f9c](2829f9c))
* **roadmap:** refine sends a judge refusal to an agent round
([#4874](#4874))
([e4fc6a9](e4fc6a9))
* **tests:** refuse test writes under the real home
([#4857](#4857))
([0f6ac1b](0f6ac1b))
* **tests:** the plain-Python helper test keeps PYTHONPATH
([#4914](#4914))
([99c109d](99c109d))


### Performance Improvements

* **ci:** direct pytest runs wait for a gate slot
([#4901](#4901))
([e80db62](e80db62))
* **roadmap:** status lane reads the snapshot, skips idle stops
([#4887](#4887))
([f285cf8](f285cf8))

---
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/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): refine reads a dependency that the body names by title

1 participant