Repository navigation
Description
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
devops roadmap reprioritizereads dependencies only through GitHub's blocked-by links (dependencies_endpointinsrc/devops_cli/roadmap/github_store.py:1235, read atsrc/devops_cli/roadmap/reprioritize.py:1143).- Only intake (
src/devops_cli/roadmap/intake.py:1379) and migrate (src/devops_cli/roadmap/migrate.py:430) write Priority. Reprioritize never raises one. - On 2026-10-17, feat(k8s): alert when pod logs stop reaching loki #890, refactor(github): pull request, repository and ssh key calls move from pygithub onto the github session #891, refactor(ai): delete the pass-through package facades and the two stagepipeline protocols nothing implements #1002, fix(review): a group-analysis reply cut at its token cap is rejected, not shown as a checked explanation #876 and feat(k8s): the argo workflows controller runs in its own namespace under argo cd and deploy-stack, and a --version workflow measures start-up and api-server load for the go/no-go on moving the roadmap jobs onto it #1535 (P0) had no blocked-by links, though their bodies name open dependencies (feat(k8s): the alloy collectors, grafana and pyroscope are scraped through chart integrations, and a dropped sample or log entry alerts #1131, refactor(github): the github session owns transport, ledger, error classes and link pagination #983, refactor(ai): one agent runtime behind one construction point, with no silent fallback #1005).
- v0.2.37's start therefore topped the release up with feat(k8s): alert when pod logs stop reaching loki #890, refactor(github): pull request, repository and ssh key calls move from pygithub onto the github session #891 and refactor(ai): delete the pass-through package facades and the two stagepipeline protocols nothing implements #1002, whose dependencies are open and in no release.
Remedy
- 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 thepriority/*label, with a comment naming the dependents. A planned release then takes the raised blocker ahead of what it blocks.
- 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.
- 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.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 18, 2026
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.
The candidate proposes a new feature to improve roadmap prioritization and dependency handling.The feature implements a rule that affects the priority of issues blocking P0 or multiple P1 issues, which is critical for release planning.This change directly impacts how roadmap items are prioritized and scheduled in releases, affecting project delivery.The implementation requires changes across multiple components including reprioritization logic, dependency parsing, and test coverage.dan-petty commentedon Oct 18, 2026
Status set to Ready at 25e2cda (see proposed design in issue body).
dan-petty commentedon Oct 23, 2026
Not planned: it extends reprioritize, which #1952 deletes with the planner. A person applies the blocker priority rule on the board.