Repository navigation
Description
Problem Description
The stage job of the Service gives no reason when it leaves out an item. A Ready item can wait for days, and the logs and metrics do not show why.
The cause (origin/main 0ac2f76):
stage_results(src/devops_cli/roadmap/stage/stage.py:2840) gives the resultskippedto every left-out item, and also to every returned and every rejected item.emit_stage_results(src/devops_cli/roadmap/stage/stage.py:2860) adds 1 todevops_cli_roadmap_stage_totalwith only the labelsresultandrepo. The metric has no reason label.- The Service logs no left-out reason. Loki holds 0 lines from the
devops_cli.roadmap.stage.stagelogger for the managed repositories in 48 hours.
The reasons exist in the code (StagePlan.left_out holds them, and devops roadmap explain prints them), but only a person who runs explain on a clone sees them.
Reproduction Steps
- Query Prometheus:
count_over_time(devops_cli_roadmap_stage_total{repo!="dan-petty/devops-cli"}[48h]). All samples haveresult="skipped". - Query Loki:
sum by (logger) (count_over_time({namespace="devops", container="service"} |~ "(dotfiles|dreamscaper|homelab|vibes)" | json [48h])). No line comes fromdevops_cli.roadmap.stage.stage. - Clone each repository and run
uv run devops roadmap explain <n>for each Ready item. Only then do the reasons show.
Expected vs Actual Behavior
Expected: each stage round logs the left-out reason of each item one time (or one time per change of the reason), and the metric carries a bounded reason label, for example title_type, held_by_branch, failed_lately, queue_full, returned and rejected. A person or an alert can then see why a repository is idle without a clone.
Actual: from 2026-11-08T23:45Z to 2026-11-10T23:45Z, the stage job left out every Ready item in 4 managed repositories in every round:
devops_cli_roadmap_stage_total{result="skipped"}: 72 rounds each for dotfiles, dreamscaper, homelab and vibes (144, 72, 144 and 72 item-rounds for vibes, dotfiles, homelab and dreamscaper).- 0 implement Jobs, 0 bot comments and 0 bot pull requests in these repositories.
- 5 items wait for 3 different reasons, all found only with
explain:- dotfiles Release v0.1.8 #1, homelab Release v0.1.8 #1 and homelab feat(release): v0.1.8 #2: the title has no Conventional Commit type (
security(...)). - vibes fix(sandbox): resolve cpu delta sampling, ssrf boundaries, and cgroup fallback #168 and docs(agent): require concise commit messages stating direct effect of change #169: held by a pushed plan branch, while the implement job refuses the old plan under newer plan reader rules (feat(roadmap): Stage items whose draft plan fails the check #3387).
- dreamscaper feat(release): v0.1.10 #11: effort High, outside the implement effort setting
[low, medium](by configuration).
- dotfiles Release v0.1.8 #1, homelab Release v0.1.8 #1 and homelab feat(release): v0.1.8 #2: the title has no Conventional Commit type (
- Still occurring: 9 rounds per repository in the last 6 hours of the window, and the last sample at about 03:16Z on 2026-11-11.
Environment Diagnostics
- DevOps CLI Version: 0.110.0 (the live roadmap-service pod)
- Python Version: 3.14
- OS & Architecture: Linux x86_64
- Execution Environment: Roadmap Service (the stage row for the managed repositories)
Logs, Traces, or Terminal Output
# Prometheus
count_over_time(devops_cli_roadmap_stage_total{repo!="dan-petty/devops-cli"}[48h])
# 72 samples per repository, all result="skipped"
# Loki
sum by (logger) (count_over_time({namespace="devops", container="service"} |~ "(dotfiles|dreamscaper|homelab|vibes)" | json [48h]))
# refine, run, stage_ready, status_sync, webhooks; no devops_cli.roadmap.stage.stageRelated: #3387 (re-stage a failing draft plan), #2911 (explain names the reasons), #3671 and #3672 (other stage_ready changes).
Pre-Submission Checklist
- I have verified that no sensitive credentials, private keys, or internal tokens are contained in this issue report.
- I have checked existing issues and pull requests to ensure this is not a duplicate.
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(roadmap)scope of the title gives the scope.Operators cannot diagnose idle pipelines for days, but the system still functions correctly.The regression commit 0ac2f76 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.It removes a blind spot that blocks diagnosis of stalled items across managed repositories.The reasons already exist in StagePlan.left_out; the work is wiring them into logs and adding one bounded label to the metric.Both items surface stage left-out reasons, but #2911 delivers them via the explain CLI command while the candidate asks for them in Service logs and a metric label.fix(roadmap): retitle corrects a title type that is not listed (#4532)
devops-cli-service commentedon Nov 11, 2026
Released in v0.112.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.112.0
devops-cli-service commentedon Nov 11, 2026
Live since 2026-11-11 14:13 UTC