Add three additive metrics: large-prs, hotfix-count, weekend-merges#2
Merged
Add three additive metrics: large-prs, hotfix-count, weekend-merges#2
Conversation
Bash-based AWS bootstrap for the S3 variant: idempotent, OIDC-only, provisions bucket + CORS + bucket policy + OIDC provider + IAM role in one command. Replaces the manual IAM/policy-editing instructions currently buried in workflow YAML comments. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Widen .kpis grid to auto-fit minmax(180px, 1fr) so 6 tiles fit cleanly, add largePrsTier and hotfixTier helpers, plumb large-prs and hotfix-count through renderForRepo, and extend renderKPIs to render the two new tiles plus the existing four (deploy, lead, CFR, MTTR placeholder).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
large-prsmetric: weekly count of merged PRs withchanged_files >= 10. Surfaced as a "Large PRs / wk" KPI tile (<2elite,2-4medium,>4low).hotfix-countmetric: weekly count of merged PRs labelledhotfix(aggregate of the same sethotfixeslists). Surfaced as a "Hotfixes / wk" KPI tile (0elite,1-2medium,3+low).weekend-mergesmetric: per-PR list of merges on Sat/Sun (UTC). Surfaced as a new "Weekend merges" panel below "Recent hotfixes" with a per-author breakdown for the selected range.Purely additive: no existing metric output, schema, or test was changed beyond extending the registry-completeness assertions in
tests/test_metrics.pyandtests/test_report.py. KPI grid widened toauto-fit minmax(180px, 1fr)so 6 tiles fit cleanly. Sample fixture (dashboard/fixtures/sample.json) and README metric definitions table updated.Out of scope (intentional): bot/human filter, open-PRs feature.
Test plan
🤖 Generated with Claude Code