Skip to content

feat(roadmap): reprioritize raises each blocker's priority from what it blocks, and stated dependencies become blocked-by links #1625

Closed as not planned

Description

@dan-petty

Friction

The owner's rule (2026-10-17): "any issue blocking a p0 or multiple p1 issues should be a p0, any issue blocking a p1 or multiple p2s should be a p1". No roadmap job applies it. Blockers keep their own lower priority, so the release plan schedules work behind its own prerequisites. The jobs also can't see most dependencies, because those live only as "Depends on #N" text in issue bodies.

Evidence

Remedy

  1. Reprioritize applies the rule to every open item, transitively, until nothing changes, using the blocked-by links:
    • a blocker of a P0, or of two or more P1 items, is P0;
    • a blocker of a P1, or of two or more P2 items, is P1;
    • closed dependents, and dependents closed as not planned, don't count;
    • a priority is never lowered.
      Each raise writes the board Priority and the priority/* label, with a comment naming the dependents. A planned release then takes the raised blocker ahead of what it blocks.
  2. Intake and refine record each dependency a body states ("Depends on #N", "after #N", "blocked by #N") as a blocked-by link. They parse the body's issue references and do not guess. A reference that isn't an issue of the repository is reported, not linked.
  3. Tests, against the in-memory store (src/devops_cli/roadmap/memory_store.py):
    • a blocker of one P0 becomes P0;
    • a blocker of two P1s becomes P0;
    • a blocker of one P1 becomes P1;
    • a blocker of two P2s becomes P1;
    • a blocker of one P2 is unchanged;
    • a chain raises transitively;
    • a closed dependent doesn't count;
    • a P0 is never lowered;
    • a body's "Depends on #N" becomes a blocked-by link.

Priority under the rule itself: P1. It blocks no issue yet, but every release plan depends on it.

Proposed design

Problem statement

The roadmap's reprioritization job does not raise blockers' priorities according to a defined rule, and does not recognize dependencies stated in issue bodies. This leads to release planning scheduling work behind its own prerequisites instead of prioritizing them.

Acceptance criteria

  • Criterion 1: A blocker of a P0 or multiple P1 issues is raised to P0 priority.
    Verification: Run tests against the in-memory store that verify a blocker of one P0 becomes P0.
  • Criterion 2: A blocker of a P1 or multiple P2 issues is raised to P1 priority.
    Verification: Run tests against the in-memory store that verify a blocker of one P1 becomes P1.
  • Criterion 3: Dependencies stated in issue bodies are converted into blocked-by links.
    Verification: Intake and refine record each dependency a body states as a blocked-by link, parsing the body's issue references.
  • Criterion 4: Closed dependents do not count toward raising priorities.
    Verification: Run tests against the in-memory store that verify a closed dependent doesn't count towards priority raising.
  • Criterion 5: Priorities are never lowered during reprioritization.
    Verification: Run tests against the in-memory store that verify a P0 is never lowered.

Key questions

  • Does the reprioritize job currently read dependencies only through GitHub's blocked-by links?: Yes, according to the evidence section, the 'devops roadmap reprioritize' reads dependencies only through GitHub's blocked-by links. [sources: src/devops_cli/roadmap/github_store.py:1235]
  • Which jobs write Priority?: Only intake and migrate write Priority, according to the evidence section. [sources: src/devops_cli/roadmap/intake.py:1379, src/devops_cli/roadmap/migrate.py:430]
  • How does the reprioritize job currently handle priority raising?: The reprioritize job does not apply the owner's rule to raise priorities; it only reads blocked-by links without transitive application. [sources: src/devops_cli/roadmap/reprioritize.py]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/feature
    on Oct 18, 2026
  2. dan-petty commented on Oct 18, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.

    • Type: type/feature. The candidate proposes a new feature to improve roadmap prioritization and dependency handling.
    • Priority: P1-High. The feature implements a rule that affects the priority of issues blocking P0 or multiple P1 issues, which is critical for release planning.
    • Value: High. This change directly impacts how roadmap items are prioritized and scheduled in releases, affecting project delivery.
    • Effort: High. The implementation requires changes across multiple components including reprioritization logic, dependency parsing, and test coverage.
  3. dan-petty commented on Oct 18, 2026

    @dan-petty
    OwnerAuthor

    Status set to Ready at 25e2cda (see proposed design in issue body).

  4. dan-petty commented on Oct 23, 2026

    @dan-petty
    OwnerAuthor

    Not planned: it extends reprioritize, which #1952 deletes with the planner. A person applies the blocker priority rule on the board.

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

    source/agenttype/feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions