Repository navigation
docs(openspec): plan #2919 stuck-item age metrics and alert - #3171
Conversation
|
Review of the plan for #2919. CI: all 18 checks green or skipped (head 9e42e3a). Premise: the gap is real (no age gauge exists on main), but the plan puts the work in the wrong place and has holes in the alert design.
Verified: Related issues: #2968 (inbox gauges and inbox panel; touches Verdict: hold until points 1 to 4 are fixed in the plan (module, request cost versus ADR 0016, item number in the alert, threshold task). Generated by Claude Code |
Move the age code to src/devops_cli/github/metrics.py and the store, read the label events of one issue and keep the time until the label changes, send the issue number as the value of a gauge, add the threshold decision, the alert group with its promtool test, the panel, the criteria and real Feasibility. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
#3173) Plans #2950 The alternatives check ran 34 times in 14 days and searched about 4 times, and no metric showed it. This plan adds two gauges (open items with no check, age of the oldest check, both by repository) and one histogram (searches per written check, by verdict). The Service row records the gauges at the start of each round, also when it has nothing to write. An alert fires after 3 days with no Firecrawl search while items have no check. The expression of the issue never fires: its two sides have different labels. A promtool run with the real labels showed that, and showed the fixed rule. A row of three panels goes into the devops-cli dashboard, because no Roadmap dashboard exists. The plan names #3171, #3174 and #3243 as neighbours. Change: `openspec/changes/2950-alternatives-coverage-gauge-searches-per-check/` 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW --------- Co-authored-by: devops-cli-service[bot] <349441588+devops-cli-service[bot]@users.noreply.github.com> Co-authored-by: Claude <[email protected]>
|
The plan is fixed (head db6a3d2, main merged). What changed for each point of the review:
Open points for the owner: the 24-hour threshold, and that #2950 and #3240 name a "Roadmap dashboard" file that does not exist (this plan uses Generated by Claude Code |
Plans #2919
The plan adds three gauges to the metrics row of the Service: the age of the oldest item in each state, the issue number of that item, and the age of the oldest claim. The age is the clock minus the time of the label event. The store reads the events of one issue, and the row reads them again only when the label changes: 78 requests at a start, and about 9 an hour after it. One alert,
RoadmapServiceItemStuck, fires for an item that stays in blocked, or in ready with a plan, for more than a day. Its message names the item, and a promtool test pins it. A panel joins the items row of the project dashboard. The item number is the value of a gauge and not a label, so no label holds an issue number. The change has a spec delta because the metrics, the alert and the panel are observable.Change:
openspec/changes/2919-stuck-item-age-metrics-and-one/🤖 Generated with Claude Code
https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW