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 project dashboard counts items by release tag, not by milestone #2702
The panel "Items by Milestone" of the Project & Engineering Velocity dashboard (k8s/monitoring/dashboards/project-metrics.json) groups devops_cli_project_items by the milestone label. A milestone is a planning bucket, not a release. release-please makes each release from main and tags it v*, so the milestone does not tell which release shipped an item.
The release data exists in git. The squash commit of each pull request has the footer Closes #<issue>, and release-please copies it into the release commit of the tag. In a full clone of this repository, a walk of the 92 v* tag ranges finds 566 closed issues. For each tag, the issues that the release commit lists are a subset of the issues that the walk finds.
Scope & Deliverables
Deliverable:devops_cli_project_items has the label release in place of milestone. The value is the first v* tag whose commits close the issue with a closing keyword (close, fix, resolve and their forms). It is empty for an item that no release closes: an open item, or a closed item that is not released.
Deliverable: The panel "Items by Release" groups the gauge by release and state, and shows an empty release as unreleased. The row is "Release & Taxonomy Tracking".
Deliverable: The spec project-metrics-dashboard, the instrument description and docs/TELEMETRY.md name the new label.
Constraint: The release data comes from the local clone (git tag, git log), as the release cadence metrics do. No new GitHub call.
Constraint: Only the items gauge and its panels change. The milestone table of devops gh metrics stays.
Strategic Alignment
Milestone: none (backlog).
Design: reuses the tag walk of get_release_cadence_metrics in src/devops_cli/github/metrics.py.
Activity