Skip to content

fix(roadmap): refine blocks an item with an open dependency - #3696

Merged
dan-petty merged 2 commits into
mainfrom
fix/3500-refine-holds-back-an-item-with
Nov 5, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3500-refine-holds-back-an-item-with

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Refine set an item to Ready while its proposal named an open issue as a dependency. The stage job then left the item out, and the Ready count was too high. check_ready and next_step_of now take the open dependencies as blockers. A proposal with an open dependency gets the next step blocked, and a Ready item goes back to New. A closed dependency holds nothing back. The existing return path refines the item again when its last blocker closes.

Closes #3500

Change: openspec/changes/archive/2026-11-05-3500-refine-holds-back-an-item-with/
Elapsed: 4.22s

Refine set an item to Ready while its proposal named an open issue as a
dependency. The stage job then left the item out, and the Ready count
was too high.

check_ready now takes the open dependencies as blockers and refuses a
proposal that has one. next_step_of takes the same blockers, so the
Status and the next step come from one read. refine_one_item reads the
dependencies once. A closed dependency holds nothing back, and the
existing return path refines the item again when its last blocker
closes.

Plan: openspec/changes/3500-refine-holds-back-an-item-with.
@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 5, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results for #3500.

fail-to-pass (uv run devops ci fail-to-pass --base origin/main): 8 failed on base, 192 passed, 0 errored, in tests/roadmap/test_roadmap_refine.py. The run exits 0. The tests that fail on base:

  • test_a_complete_proposal_with_an_open_dependency_blocks_its_item_and_sets_no_ready[new] and [ready] (the new test of this issue)
  • test_a_blocked_item_reaches_ready_in_the_round_after_its_last_blocker_closes (new)
  • test_check_ready_matrix (new blocker case)
  • test_an_item_refine_cannot_ready_gets_one_comment_and_a_record_of_its_next_step, test_each_item_refine_leaves_new_waits_on_its_next_step_with_no_model_call, test_the_report_groups_every_item_under_its_next_step and test_closing_the_item_that_blocks_an_item_makes_it_eligible_again (they use the _blocked_by helper, which no longer sets suspected_block)

test_a_complete_proposal_whose_dependency_is_closed_reaches_ready passes on base. It is the guard that a closed dependency stays free.

Narrow checks: uv run devops ci test tests/roadmap/test_roadmap_refine.py gives 200 passed. ruff check, ruff format --check and uv run devops openspec check pass.

Full uv run devops ci on the final code: 19108 tests passed. All other gates pass: docs, build, deps, constructs, devcontainer, openspec, git, test-tree, startup-imports, swallowed-failures, k8s. Four tests failed and one case errored. All four read host state of this devcontainer and do not touch refine:

  • tests/crypto/test_ssh.py::test_get_ssh_key_prefix_resolution
  • tests/telemetry/test_config_env_overrides.py::test_find_project_config_path_skips_directory (a stray /tmp/config.yaml on the host)
  • tests/commands/test_devcontainer_install_tools_dry_run.py::test_mark_only_commands_under_global_dry_run (every tool is installed on the host)
  • tests/ai/test_tool_executor_contract.py::test_the_direct_executor_refuses_a_network_profile_before_it_starts_the_tool[direct] (popeye is installed on the host)

Open issues #3585, #3590, #3593, #3594 and #3597 track the same four tests. The test phase took 6m 19s on this busy host, which #3593 also tracks. This change adds no fix for them. The checks of the pull request run on a clean GitHub runner.

Review findings: an independent review found three problems, and I checked each against the code and the test run. All three were real, and I fixed them in this change. I skipped none.

  • The proposal said one ADDED requirement, and the spec delta has two. The proposal now says two.
  • Two Feasibility claims were wrong. Two of the three new tests fail on base, not three. The dependency read now runs for every validated proposal, not only for a Ready one. refine_one_item reads it before check_ready. The proposal now says both.
  • Some new sentences had more than 25 words (ASD-STE100). I split them. A word count of the change folder and of the new paragraph in docs/roadmap/refine.md now finds no sentence over 25 words.

Open task for a person (in the archived tasks.md): after the release that holds this change, run devops roadmap refine --item <number> --confirm once for each Ready item whose Dependencies section names an open issue. The change adds no selection rule for them (see design, Decision 3).

@dan-petty
dan-petty marked this pull request as ready for review November 5, 2026 20:52
@dan-petty
dan-petty merged commit 89fbb08 into main Nov 5, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/3500-refine-holds-back-an-item-with branch November 5, 2026 23:27
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.64.0](v0.63.2...v0.64.0)
(2026-11-06)


### Features

* **roadmap:** let the step guard allow a recorded test removal
([#3715](#3715))
([f025406](f025406))
* **roadmap:** require the eval replay for a stage check change
([#3716](#3716))
([76e8301](76e8301))
* **roadmap:** restart a suspended job on a comment of a person
([#3699](#3699))
([be8d18a](be8d18a))
* **roadmap:** the verifier reads the repository and repairs a plan
twice ([#3710](#3710))
([c1191e2](c1191e2))
* **service:** chart the Service and filter the CLI dashboard by job
([#3704](#3704))
([fecc6fb](fecc6fb))


### Bug Fixes

* **deps:** upgrade oauthlib to fix GHSA-3jp2-3mrg-2vxc
([#3709](#3709))
([6a88012](6a88012)),
closes [#3705](#3705)
* **k8s:** hold the copy source until the destination ends
([#3712](#3712))
([c7c5556](c7c5556)),
closes [#3695](#3695)
* **k8s:** the gateway stops using the 16 GiB tier
([#3697](#3697))
([842effc](842effc))
* **roadmap:** keep angle-bracket text of a code span in refine
([#3711](#3711))
([396962e](396962e))
* **roadmap:** P1 items pass the planned limit
([#3698](#3698))
([63589f0](63589f0)),
closes [#3692](#3692)
* **roadmap:** refine blocks an item with an open dependency
([#3696](#3696))
([89fbb08](89fbb08))

---
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 holds back an item with an open dependency

1 participant