Skip to content

fix(roadmap): refine holds back an item with an open dependency #3500

Closed

Description

@dan-petty

Problem

Refine sets an item to Ready while its Dependencies section names an open issue. The stage job then leaves the item out. The issue itself gets no signal, and the Ready count overstates the queue. A reader of the labels sees work that no job can take.

No plan is wasted, because stage leaves the item out. devops roadmap explain and the Left out list give the reason.

  • src/devops_cli/roadmap/refine.py:1130 check_ready reads no dependency. refine.py:1864 computes is_ready from it.
  • refine.py:1164 in next_step_of returns READY before refine.py:1170 tests blockers. So dependencies alone does not block. The test helper _blocked_by (tests/roadmap/test_roadmap_refine.py:1914) must set suspected_block to reach BLOCKED.
  • stage.py:422 _dependency leaves such an item out.

9 of 28 Ready items at the end of the window 2026-11-03T15:05Z to 2026-11-04T15:05Z hold an open dependency, with refine.next_step ready and refine.blocked_by null. A read at 2026-11-04T17:30Z shows the same state:

Expected

A proposal with an open dependency gets next step blocked, with the numbers in refine.blocked_by, and Status New. The item returns to Ready when its dependencies close. _still_waiting (refine.py:1599) already ends the wait when the blockers close, so the return path needs no new code.

Boundary: #3418 finds a dependency that the proposal does not name. This issue honors a dependency that the proposal names.

Acceptance criteria

  • A test: a complete proposal with one open dependency gives NextStep.BLOCKED and that number, and the item does not get Status Ready.
  • A test: the same proposal with a closed dependency gives NextStep.READY.
  • A test: a blocked item is refined again after its last blocker closes, and it reaches Ready.
  • _refinable (refine.py:1713) selects a Ready item only when it has no refine section or holds a covering tool that no round asked about, so a later round does not read these 9 items again. The change adds a selection rule for a Ready item with an open dependency, or one devops roadmap refine --item <n> run for each of the 9 items follows the merge.
  • After that step, each of the 9 items that still has an open dependency reads Status New, refine.next_step blocked, and refine.blocked_by set.

Existing tool considered

Existing project code: _is_open, _recorded_blockers and body_dependencies in refine.py. No new tool.

Related

Related: #3418, #3224

Activity

  1. added
    source/agent
    type/bug
    scope/roadmap
    status/new
    value/medium
    effort/low
    on Nov 4, 2026
  2. dan-petty commented on Nov 4, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/bug. The fix prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P2-Medium. Nine items carry a wrong Ready label, but no work is wasted because stage already leaves them out.
    • Value: Medium. Fixes a misleading Ready state that overstates the queue for readers and tooling.
    • Effort: Low. The fix localises to check_ready and next_step_of in refine.py and existing helpers _is_open and body_dependencies are already present.
    • Related: fix(roadmap): refine looks again when the cause of a wait ends #3483, which asks for a different change. Both concern the refine blocked/wait state; the candidate sets the block, #3483 clears it when the cause ends.
  3. added
    priority/p2-medium
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 4, 2026
  4. removed
    status/in-review
    on Nov 5, 2026
  5. devops-cli-service commented on Nov 6, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-06 02:22 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions