You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(telemetry): the roadmap Service counts its GitHub writes, budget holds, Firecrawl searches and self-filtered webhooks, and caps its comments on one issue #2475
A go-live review of the roadmap Service (origin/main 960e357, 2026-10-28) found that its riskiest behavior has no metric and no cap:
GitHub writes have no count by method and repository: devops_cli_github_requests_total carries only resource (src/devops_cli/github/rate_limiter.py:1059; session_transport.py:154-176). A burst of comments or label writes, or a refine comment loop, shows only on GitHub.
No cap limits the bot's comments on one issue in a day (src/devops_cli/roadmap/refine.py:1499-1550).
The budget holds and job suspensions show only in logs (service.py:107-181; run.py:646-651), and Loki has no ruler (k8s/logging/loki-values.yaml:104-107).
The webhook self-filter shares the ignored outcome with other ignored deliveries (src/devops_cli/server/routes/webhooks.py:146-149, :209-227), so an echo loop with another bot is not visible.
Firecrawl searches have no metric, and a failed search (401, 402, 429) logs nothing (src/devops_cli/ai/common_tools.py:16-41; src/devops_cli/roadmap/refine_investigation.py:187-188).
Proposed Solution & Architectural Design
devops_cli_github_requests_total gets method, repo and row labels (bounded: the managed repositories, and the job rows metrics, intake and refine). row is not named job, which is the scrape label of Prometheus. The alert RoadmapServiceGitHubRequestsHigh tells the operator to find the repository that spent the budget, and these labels are how they find it (go-live comment of 2026-10-28).
Gauges or counters for the budget spent and its limit, holds, suspended jobs, Firecrawl searches by result, and a self outcome for the webhook self-filter.
A cap on the bot's comments on one issue in 24 hours, from a constant; a write the cap stops is logged and counted.
Go-live evidence, 2026-10-28, 19:45 to 20:45 UTC (first hour of roadmap-service at one replica):
RoadmapServiceGitHubRequestsHigh fired. Its action in k8s/README.md is "find the repository in the Service log", but the Service logs no line for each job, and devops_cli_github_requests_total carries only resource. So the operator cannot find which repository or job spent the budget. Add a bounded label for the job row (metrics, intake, refine) beside repo and method; do not name it job, which is Prometheus's scrape label.
Pod roadmap-service-9f4d8fd6d-2qwfd counted 98 ignoredissues deliveries in 23 minutes. They were the bot's own intake writes (labels and record blocks on dotfiles, dreamscaper, danielpetty.com and homelab, each issue written once), but ignored also counts duplicates, so this was found only by reading the issue events. The self outcome in this issue fixes that.
Activity
dan-petty commentedon Oct 28, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
The candidate adds new metrics, a comment cap, and alert rules to the roadmap Service.A go-live review found missing safety and visibility, but no active failure is reported.The cap prevents unbounded bot comments and the new metrics make failures visible to operators.It touches the rate limiter, refine, webhook route, Firecrawl tool, instruments, and alert rules, but each change is small.Both add monitoring for the roadmap Service, but #2472 alerts on existing series while the candidate adds new metrics, a comment cap, and alerts for those new series.dan-petty commentedon Oct 28, 2026
Go-live evidence, 2026-10-28, 19:45 to 20:45 UTC (first hour of
roadmap-serviceat one replica):RoadmapServiceGitHubRequestsHighfired. Its action in k8s/README.md is "find the repository in the Service log", but the Service logs no line for each job, anddevops_cli_github_requests_totalcarries onlyresource. So the operator cannot find which repository or job spent the budget. Add a bounded label for the job row (metrics,intake,refine) besiderepoandmethod; do not name itjob, which is Prometheus's scrape label.metricsrow runs for 7 repositories every 15 minutes and at each pod start, andRoadmapStore.items()readsissues?state=all(about 26 pages for this repository) in each run. The series must show whether 304 replies to the conditional GETs of feat(github): the GitHub session sends a repeated GET conditional on the ETag it kept #1692 count against the budget.roadmap-service-9f4d8fd6d-2qwfdcounted 98ignoredissuesdeliveries in 23 minutes. They were the bot's own intake writes (labels and record blocks on dotfiles, dreamscaper, danielpetty.com and homelab, each issue written once), butignoredalso counts duplicates, so this was found only by reading the issue events. Theselfoutcome in this issue fixes that.docs(openspec): reopen 2475-roadmap-service-write-telemetry for the r…
fix(roadmap): an item at refine's comment cap takes no place in the r…
docs(openspec): archive 2475-roadmap-service-write-telemetry
chore(main): release 0.12.0 (#2552)
fix(monitoring): RoadmapServiceGitHubWritesHigh counts a request with…