Skip to content

fix(roadmap): an open tracker holds back no item #6450

Closed

Description

@dan-petty

Problem Description

Refine, stage and implement count an open tracker as an open dependency. A tracker is an item with sub-issues or the label type/epic. It closes only after its sub-issues, and no job closes it. So an item that waits on its own parent tracker waits with no end. An item that waits on another tracker waits for that whole plan and for a person to close it.

Refine records (checked 2026-11-19): 172 open items have refine.blocked_by, and 22 of them name an open tracker. 3 name their own parent:

Item Parent refine.blocked_by
#4671 #4624 (16 sub-issues) 4624, round of 2026-11-14T22:49Z
#4600 #4517 (45 sub-issues) 4517,4598
#5230 #5223 (5 sub-issues) 5223,5229

Other examples:

The stage job does the same. 13 Ready items name their own parent tracker in the Dependencies section, so the stage job never takes them:

Parent tracker Ready items Text in the Dependencies section
#4893 #4909, #4911 "Child 5 of #4893.", "Child 6 of #4893."
#4989 #4993, #5001, #5003, #5004, #5005, #5010, #5011 "Source: #4989"
#5014 #5026, #5028 "Part of #5014 (track the Service step jobs)."
#5311 #5316, #5318 "Part of #5311."

devops roadmap explain 5026 gives "Stage job: no. The item depends on the open issue #5014." #5026 is also a merge-first item of #4574.

These 13 items are also cases of the bug "read only blockers in a Dependencies section", because each mention is a parent link and not a blocker. A fix of either bug releases them. The refine records above (#4671, #4600, #5230, #4733) come from the proposal of refine, so only this bug covers them.

Cause, at origin/main 0d90de5:

  • _open_dependencies (src/devops_cli/roadmap/refine/refine.py:1498-1501) keeps each dependency for which _is_open is true. It does not look at Item.is_tracker.
  • validate_proposal (refine.py:1418-1424) keeps each dependency of the proposal that is a known issue, also the parent of the item.
  • open_issue_dependencies (src/devops_cli/roadmap/dependencies.py:17-27) gives the same rule to stage (stage.py:771-774) and implement (implement.py:379-382).
  • Item.is_tracker (src/devops_cli/roadmap/stores/store.py:630-633) exists. fix(roadmap): Share one tracker rule with refine #5963 (closes fix(roadmap): refine leaves out a tracker, as stage does #3703, 2026-11-16) uses it only to leave a tracker out of a refine round (refine.py:2177, :2763).

Reproduction Steps

  1. Read the job record of feat(ai): give every agent brain tools through MCP, CLI and skill #4671: refine.blocked_by is 4624, and refine.next_step is blocked.
  2. Read the parent of feat(ai): give every agent brain tools through MCP, CLI and skill #4671 with devops gh api repos/<owner>/<repo>/issues/4671/parent --jq .number. It is 4624.
  3. Read the acceptance of feat(roadmap): track the project brain #4624: each child merges or closes first.
  4. Run devops roadmap explain 5026. The stage job leaves the Ready item out for its parent feat(roadmap): track the Service step jobs #5014.

Expected vs Actual Behavior

  • Expected: the parent tracker of an item, or a tracker above it, is never a blocker of the item. A dependency on another tracker waits on the open sub-issues of that tracker, or refine asks for the numbers of the sub-issues that the item needs.
  • Actual: the item waits for the tracker to close. The tracker waits for the item. The item never becomes Ready, or a Ready item never becomes Staged.

Environment Diagnostics

  • DevOps CLI Version: 0.180.0 (origin/main 0d90de5).
  • Execution Environment: roadmap Service rounds of 2026-11-11 to 2026-11-16. Read on 2026-11-19 through the GitHub REST API (issues, issues/<n>/parent).

Logs, Traces, or Terminal Output

$ devops roadmap explain 5026
Refine job: no. The item is Ready. A round takes a Ready item only when no round refined it, or when it holds a covering tool that no round asked about.
Stage job: no. The item depends on the open issue #5014.
Implement job: no. The item depends on the open issue #5014.
$ devops roadmap explain 4993
Stage job: no. The item depends on the open issue #4989.

Pre-Submission Checklist

Existing Tool Considered

The GitHub REST endpoints issues/<n>/parent and issues/<n>/sub_issues give the tree. The store already reads the sub-issue count (Item.sub_issues). No tool decides the blockers of a roadmap item. The change is a rule in the shared dependency check: about 40,000 tokens and 1 hour.

Acceptance Criteria

  • Test first: an item whose proposal names its open parent tracker is not blocked on it, and refine sets it Ready when nothing else holds it. The test fails on the base.
  • A test: the stage and implement check do not leave an item out for its open parent tracker.
  • A test: a dependency on another open tracker waits on the open sub-issues of that tracker, not on the tracker.
  • One function decides an open blocker for refine, stage and implement, so the three jobs agree.
  • Live proof: after the release, devops roadmap explain 5026 gives no tracker as the reason, and the next refine round of feat(ai): give every agent brain tools through MCP, CLI and skill #4671 records no 4624.

Dependencies

None.

Proposed design

Problem statement

Refine, stage and implement count an open tracker as an open dependency. A child item waits on its own parent tracker, and the tracker closes only after the child. The item never becomes Ready or Staged. One shared rule must ignore the parent and ancestor trackers and must expand another tracker to its open sub-issues.

Acceptance criteria

Requirement: Parent tracker is not a blocker

Refine MUST NOT record the open parent tracker of an item as an open blocker.

Scenario: Refine proposal names the parent tracker

  • WHEN A refine proposal for an item names its open parent tracker and no other open dependency.
  • THEN The shared open-blocker check returns an empty tuple, and the refine next step is ready.

Requirement: Ancestor tracker is not a blocker

The shared open-blocker check MUST NOT treat a tracker above the parent of the item as a blocker.

Scenario: Ancestor tracker in the parent chain

  • WHEN The parent chain of an item holds an open tracker above its parent, and the proposal names that tracker.
  • THEN The shared open-blocker check returns no number for that tracker.

Requirement: Stage and implement ignore the parent tracker

The stage and implement jobs MUST NOT leave an item out for its open parent tracker.

Scenario: Ready item names only its parent tracker

  • WHEN The Dependencies section of a Ready item names only its open parent tracker.
  • THEN The dependency reason is None, and the stage and implement selection keep the item.

Requirement: Another tracker waits on open sub-issues

The shared open-blocker check MUST replace a dependency on another open tracker with the open sub-issues of that tracker.

Scenario: Open tracker with open sub-issues

  • WHEN An item names an open tracker that is not in its parent chain, and that tracker has open sub-issues 101 and 102.
  • THEN The shared open-blocker check returns 101 and 102 and does not return the tracker number.

Requirement: Tracker with no open sub-issues holds nothing

The shared open-blocker check MUST add no blocker for an open tracker that has no open sub-issues.

Scenario: Open tracker with no open sub-issues

  • WHEN An item names an open tracker that has no open sub-issues and is not in its parent chain.
  • THEN The shared open-blocker check returns no number for that tracker.

Requirement: One function decides the blockers

Refine, stage and implement MUST use one shared function to decide an open blocker.

Scenario: The three jobs call the shared function

  • WHEN A test replaces the shared open-blocker function with a stub and runs the dependency check of refine, stage and implement.
  • THEN Each job uses the stub result, and no job has its own tracker rule.

Requirement: Live proof after release

The released command MUST show no tracker as the reason for item 5026, and the next refine round of item 4671 MUST record no 4624.

Scenario: Live check after release

  • WHEN The release that contains the change is deployed, and the next refine round of item 4671 runs.
  • THEN devops roadmap explain 5026 gives no tracker as the reason, and the refine record of item 4671 has no 4624 in refine.blocked_by.

Existing Tool Considered

No alternatives check has run. No open, maintained tool or library decides the blockers of a roadmap item. The GitHub REST endpoints issues/<n>/parent and issues/<n>/sub_issues give the tree, and the store already reads Item.sub_issues. The change builds a rule in the shared dependency check: about 40,000 tokens and 1 hour.

Key questions

  • Where does the shared open-blocker rule live?: The rule lives in src/devops_cli/roadmap/dependencies.py. The stage and implement jobs already call open_issue_dependencies there. Refine calls the same function. (best practice) [sources: src/devops_cli/roadmap/dependencies.py:17, src/devops_cli/roadmap/stage/stage.py:771, src/devops_cli/roadmap/implement/implement.py:379, src/devops_cli/roadmap/refine/refine.py:1498]
    • Chosen: src/devops_cli/roadmap/dependencies.py. One module already holds the dependency check for stage and implement. Refine can import it.
    • Rejected: A copy in each job. Three copies drift, and the issue reports that the three jobs disagree.
    • Rejected: src/devops_cli/roadmap/stores/store.py. The store reads items. It does not decide which open item holds a job back.
  • How does the rule identify the parent tracker and a tracker above it?: The rule reads the parent link from GitHub through the store. It walks up the parent chain while each parent is a tracker. It treats each tracker in that chain as not a blocker. It uses Item.is_tracker to identify a tracker. (best practice) [sources: src/devops_cli/roadmap/stores/store.py:630, src/devops_cli/roadmap/stores/github_store.py, src/devops_cli/roadmap/dependencies.py:17]
    • Chosen: Read the parent chain from the store. GitHub holds the parent link, and the store already reads GitHub issue data.
    • Rejected: Treat every tracker as not a blocker. This loses a real dependency on the sub-issues of another tracker.
    • Rejected: Ask a person for the parent number. GitHub supplies the parent link, so no person step is needed.
  • What does the rule do with a dependency on another open tracker?: The rule replaces the tracker with the open sub-issues of that tracker. If the tracker has no open sub-issues, the rule adds no blocker. If the store cannot read the sub-issues, refine asks for the numbers that the item needs. (best practice) [sources: src/devops_cli/roadmap/dependencies.py:17, src/devops_cli/roadmap/stores/store.py:630, src/devops_cli/roadmap/stores/github_store.py]
    • Chosen: Expand to open sub-issues. The item waits on the work that delivers the tracker, not on the tracker issue.
    • Rejected: Keep the tracker as a blocker. This is the reported bug: the tracker closes only after its sub-issues.
    • Rejected: Drop every tracker dependency. This loses a real dependency on the sub-issues of another tracker.
  • Which tracker definition does the rule use?: The rule uses Item.is_tracker. That method returns true when the item has sub-issues or the type/epic label. [sources: src/devops_cli/roadmap/stores/store.py:630]
  • Should the rule add a blocker for an open tracker with no open sub-issues?: No. A tracker closes only after its sub-issues, and no job closes it. An open tracker with no open sub-issues holds no work. The rule adds no blocker for it. (best practice) [sources: src/devops_cli/roadmap/stores/store.py:630, src/devops_cli/roadmap/refine/refine.py:1498]
    • Chosen: Add no blocker. The tracker has no open work, and no job closes the tracker.
    • Rejected: Keep the tracker as a blocker. This recreates the endless wait that the issue reports.
  • Does validate_proposal need to drop the parent tracker?: No. validate_proposal keeps a known issue in the proposal. The shared open-blocker check filters the parent and ancestor trackers when it decides a blocker. (best practice) [sources: src/devops_cli/roadmap/refine/refine.py:1418, src/devops_cli/roadmap/refine/refine.py:1498]
    • Chosen: Filter at the open-blocker check. The proposal can still name a related issue, and the blocker rule removes the tracker.
    • Rejected: Change validate_proposal. It would hide a known issue from the proposal and does not fix stage or implement.
  • What test shows that refine, stage and implement agree?: A test replaces the shared open-blocker function with a stub. It runs the dependency check of refine, stage and implement. Each job uses the stub result. (best practice) [sources: tests/roadmap/refine/test_roadmap_refine_blocked.py, tests/roadmap/stage/test_roadmap_stage_selection.py, tests/roadmap/implement/test_roadmap_implement_submit.py]
    • Chosen: Patch the shared function in one test. The test shows one rule serves all three jobs.
    • Rejected: Test each job with its own tracker rule. This does not show that the three jobs agree.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

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

    @dan-petty
    OwnerAuthor
    • Priority: P1-High. The defect blocks 22 or more open items and 13 Ready items from progressing, creating deadlocks that no job resolves.
    • Related: fix(roadmap): name a dependency cycle instead of waiting #6449, which asks for a different change. Both deal with dependency blocking in refine/stage/implement, but #6449 detects and names cycles while the candidate excludes trackers from being valid blockers.
  3. added
    value/high
    priority/p1-high
    on Nov 19, 2026
  4. devops-cli-service commented on Nov 19, 2026

    @devops-cli-service
    Contributor

    Next step: the alternatives check records a verdict. See the section Proposed design of the body.

  5. added
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 20, 2026
  6. added
    status/in-review
    and removed
    status/in-progress
    on Nov 20, 2026
  7. removed
    status/in-review
    owner/agent
    on Nov 20, 2026
  8. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    Contributor
  9. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-20 20:21 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/mediumpriority/p1-highscope/roadmapsource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions