Repository navigation
Description
Split from #3942.
After #3942 is live, the project must record the effect of the shared issue-events read on GitHub request use. The issue body asks for the value of sum(increase(devops_cli_github_requests_total{job=***roadmap-service***, row=***other***, status!=***304***}[1h])) to be lower than 236. This part waits for the deployment of #3942 and one hour of live traffic. An offline test cannot check it. Acceptance criteria: run the query above after #3942 is live for one hour; the value is lower than 236; comment the value on #3942.
Proposed design
Problem statement
The row other of devops_cli_github_requests_total held 236 counted GitHub requests in one hour before #3942. #3942 shares the issue-events read and must cut this count. The project must measure the row for one hour after #3942 is deployed. The project must compare the value with 236 and post the value on #3942. The value depends on live traffic, so no offline test can check it.
Acceptance criteria
Requirement: Pending a person after the merge
The project MUST measure sum(increase(devops_cli_github_requests_total{job="roadmap-service", row="other", status!="304"}[1h])) one hour after #3942 is deployed.
Scenario: The value of the row stays below 236
- WHEN A person runs the query in Grafana Explore one hour after fix(service): each lane polls the issue events again #3942 is deployed.
- THEN Grafana Explore shows one value, and that value is lower than 236.
Requirement: Record the value on #3942
The project MUST post a comment on #3942 with devops gh issue comment 3942 that holds the query, the value and the time of the query.
Scenario: The comment holds the record
- WHEN A person runs
devops gh issue view 3942 --commentsafter the comment is posted. - THEN The output shows the query, the value and the time of the query, and the value is lower than 236.
Existing Tool Considered
No alternatives check has run on this issue. Grafana Explore covers the live query over Prometheus, and devops gh issue comment covers the record. Grafana Explore lacks an offline test; the value depends on live traffic. devops gh lacks the metric query. The change builds no code, so its cost is one query and one comment, and about one hour of elapsed time after #3942 is deployed.
Key questions
- Which open tools run the query and post the record?: Use Grafana Explore for the query and
devops gh issue commentfor the record. The project forbids baregh. The change builds no code. (best practice) [sources: docs/CLUSTER.md, AGENTS.md]- Chosen: Grafana Explore and
devops gh issue comment. docs/CLUSTER.md names Grafana Explore for the query. AGENTS.md rule 7 requiresdevops ghand forbids baregh. The change builds no code. - Rejected:
promtool query instant. The repository documents no Prometheus URL or promtool command for this check. - Rejected: curl to the Prometheus HTTP API. It needs a second command to parse the JSON, and the repository documents no Prometheus URL.
- Rejected: A new devops-cli command. It builds and keeps code for one live measurement. No offline test can check that code without Prometheus data.
- Chosen: Grafana Explore and
- Does
devops_cli_github_requests_totalkeep the labels that the query filters on?: Yes. Each GitHub request counts undermethod,status,repoandrow. GitHub does not count an answer with status 304 against its rate limit, sostatus!="304"gives the counted cost. [sources: docs/CLUSTER.md] - What must land before the check can run?: fix(service): each lane polls the issue events again #3942 must be deployed, because it holds the shared issue-events read that the check measures. One hour of live traffic must pass after the deployment. [sources: docs/CLUSTER.md]
- Can an offline test check the value?: No. The value depends on the live traffic of one hour after fix(service): each lane polls the issue events again #3942 is deployed. The repository holds no fixture of that traffic, so the project runs the query as a live check. [sources: docs/CLUSTER.md]
Fit
Fits in one pull request.
Suspected block
The deployment of #3942 and one hour of live traffic after it.
Activity
devops-cli-service commentedon Nov 8, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
choreprefix of the title gives the type.(service)scope of the title gives the scope.The item is a deferred measurement that waits on a deployment and one hour of live traffic.The measurement shows that the fix reduces GitHub request use, but it changes no product behaviour.One Prometheus query and one comment give the result.Both items concern the shared issue-events poll, but #3942 changes the poll and the candidate measures the live request drop after deployment.[-]chore(service): record the request-count drop after the shared issue-events poll[/-][+]chore(service): Record request-count drop after shared poll[/+]devops-cli-service commentedon Nov 8, 2026
The job shortened the title of this item. The summary had 64 characters, and the limit is 60. The type and the scope stay.
chore(service): record the request-count drop after the shared issue-events pollchore(service): Record request-count drop after shared polldevops-cli-service commentedon Nov 9, 2026
Refine cannot set this item to Ready at 6121d09 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
dan-petty commentedon Nov 15, 2026
Returned: the item is a live measurement, not a code change. It needs #3942 deployed and one hour of production traffic, then the PromQL query
sum(increase(devops_cli_github_requests_total{job="roadmap-service", row="other", status!="304"}[1h]))and a comment of the value on #3942. No offline test can run it, and this workstation holds no Prometheus with that data. Revisit after the rollout.devops-cli-service commentedon Nov 19, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 23, 2026
Owner question: See Suspected block and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 24, 2026
Owner question: See Suspected block and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 24, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence