{"org":{"slug":"aws","github_login":"aws","display_name":"AWS","description":"Open-source projects from Amazon Web Services.","logo_url":"https://github.com/aws.png","primary_languages":["Python","Go","Java"]},"run":{"id":711,"months_back":1,"started_at":"2026-12-03T03:01:17.407Z","completed_at":"2026-12-03T03:24:27.433Z","date_range":{"from":"2026-11-03T03:01:17.407Z","to":"2026-12-03T03:01:17.407Z"}},"metrics":{"org_run_id":711,"computed_at":"2026-12-03T03:24:27.433Z","scope":"org","org":{"name":"aws","metrics":{"time_to_first_review":{"sample_size":4265,"median_hours":1.54,"p90_hours":91.99,"spread":{"gt_p90":426,"lt_median":2133,"between_median_p90":1706}},"time_to_approval":{"sample_size":3752,"median_hours":4.03,"p90_hours":115.52,"spread":{"gt_p90":375,"lt_median":1876,"between_median_p90":1501}},"approval_to_merge":{"sample_size":3515,"median_hours":0.22,"p90_hours":11.82,"spread":{"gt_p90":351,"lt_median":1758,"between_median_p90":1406}},"total_merged":4055,"merged_without_review":{"count":394,"percentage":9.72},"merged_without_approval":{"count":516,"percentage":12.73},"reviewed_with_approval":{"count":3539,"reviewed":3661,"percentage":96.67},"first_commit_metrics":{"sample_size":6288,"avg_commits_per_pr":4.96,"avg_ratio_open_over_merge":0.09,"avg_first_commit_to_open_hours":26.09,"avg_first_commit_to_merge_hours":41.82},"pr_throughput":{"total_opened":6288,"total_merged":4055,"avg_opened_per_week":1257.6,"avg_merged_per_week":811,"weeks_analyzed":5,"time_to_merge":{"sample_size":4055,"median_hours":9.46,"p90_hours":137.93,"spread":{"gt_p90":405,"lt_median":2028,"between_median_p90":1622}}},"reviewer_participation":{"avg_reviewers_per_pr":1.56},"pr_size":{"sample_size":6288,"additions":{"p90":1710,"median":68},"deletions":{"p90":236,"median":8},"total_lines":{"p90":2064,"median":94},"changed_files":{"p90":26,"median":3},"total_churn":97552450},"review_rounds":{"total":13578,"approved":5088,"commented":8010,"avg_per_pr":2.16,"changes_requested":480},"rereview":{"rereview_rate":69.68,"prs_with_changes_requested":376,"prs_with_rereview_approval":262},"bot_reviews":{"count":1711,"total":13578,"percentage":12.6},"ai_reviews":{"count":90,"total":13578,"percentage":0.66,"of_bot_percentage":5.3},"stale_open_prs":{"open_count":1588,"stale_count":1013,"stale_share_pct":63.8,"median_idle_hours":201.25,"above_median_idle_count":793,"idle_hours_histogram":[{"id":"lt_12h","count":205,"label":"<12h"},{"id":"h12_24","count":50,"label":"12–24h"},{"id":"d1_3","count":319,"label":"1–3d"},{"id":"d3_7","count":122,"label":"3–7d"},{"id":"d7_14","count":321,"label":"7–14d"},{"id":"d14_plus","count":570,"label":"14d+"}]}}},"repos":{},"signals":[{"id":"stale-open-prs","type":"stale-open-prs","title":"Stale Open PRs","impact":"Stale PRs decay in value (conflicts, outdated context), block dependent work, and inflate open-backlog counts without contributing to throughput.","status":"triggered","actions":[{"id":"triage_stale_prs","kind":"process_change","title":"Triage stale open PRs — close or request review on PRs idle >72h","priority":"primary","rationale":"1,013 open PRs (63.8%% of 1,588 open) have had no review activity for ≥ 72h. Oldest idle PR: 30.0d. Share exceeds 25% warning threshold.Count exceeds 5 warning threshold."},{"id":"stale_pr_drilldown","kind":"investigate","title":"Review the stale PR list and assign owners","priority":"secondary","rationale":"Drill-down shows which PRs are idle longest so you can close, split, or nudge for review."},{"id":"stale_pr_sla","kind":"process_change","title":"Add a weekly stale-PR hygiene ritual (close, draft, or re-request review)","priority":"secondary","rationale":"Recurring triage prevents silent backlog growth when throughput metrics look stable."}],"summary":"Open pull requests are sitting without review activity — work is stuck in limbo.","evidence":{"open_count":1588,"stale_count":1013,"stale_share_pct":63.8,"oldest_stale_hours":719.79},"severity":"critical","confidence":1,"likely_causes":["PRs opened then deprioritized without closing or converting to draft","Review requests going unanswered on low-visibility repos","Large or unclear PRs that reviewers defer indefinitely","Missing weekly hygiene on the open-PR backlog"],"interpretation":"Several open PRs have had no review activity for multiple days. This often indicates forgotten work, unclear ownership, or PRs that are too large or low-priority to pick up.","triggered_rules":["stale_open_count_above_threshold","stale_open_share_above_threshold"],"suggested_actions":["Triage stale open PRs — close or request review on PRs idle >72h","Review the stale PR list and assign owners","Add a weekly stale-PR hygiene ritual (close, draft, or re-request review)"],"supporting_metrics":["Merge efficiency (opened / merged)","Time to First Review (median, p90)"]},{"id":"merge-friction","type":"merge-friction","title":"Merge Pipeline Friction","impact":"Work that should be done sits waiting, increasing the chance of merge conflicts, stale CI, and reviewer re-engagement. Deployment frequency suffers even when review throughput looks healthy.","status":"triggered","actions":[{"id":"investigate_merge_tail","kind":"investigate","title":"Investigate PRs stuck longest after approval","priority":"primary","rationale":"P90 approval-to-merge (11.8h) is far above the median (13m) — a tail of stuck merges may hide behind a fast average."},{"id":"audit_ci_reliability","kind":"investigate","title":"Audit CI for the slowest-to-merge PRs","priority":"secondary","rationale":"Tail merge delays often trace to intermittent CI failures or long pipelines."},{"id":"check_merge_queue","kind":"investigate","title":"Check whether the merge queue or branch protection is serialising merges","priority":"secondary","rationale":"Queue congestion creates long post-approval waits even when CI is green."},{"id":"partner_mergify","kind":"external_tool","title":"Recommended tool: Mergify","partner":{"name":"Mergify","slug":"mergify","category":"merge_queue","logo_url":null,"product_id":3,"disclosure_type":"editorial"},"priority":"secondary","cta_label":"Learn more","rationale":"Merge queues and automation to cut post-approval wait and merge friction."}],"summary":"Approved PRs are stalling before they land — the bottleneck is after review, not during it.","evidence":{"time_to_merge_median_hours":9.46,"approval_to_merge_p90_hours":11.82,"approval_to_merge_median_hours":0.22,"approval_to_merge_fraction_of_cycle":0.023},"severity":"critical","confidence":0.77,"likely_causes":["Flaky or slow CI gating merges","Merge queue congestion or serialised merge windows","Release-branch freezes or deployment-gated merges","Authors waiting on unrelated approvals (e.g. code-owners, compliance)","Manual merge steps that require specific people to be online"],"interpretation":"Time from approval to merge is elevated, and/or the approval → merge step accounts for a disproportionate share of total cycle time. Review is doing its job; something downstream is holding PRs back from shipping.","triggered_rules":["approval_to_merge_tail_ratio_high"],"suggested_actions":["Investigate PRs stuck longest after approval","Audit CI for the slowest-to-merge PRs","Check whether the merge queue or branch protection is serialising merges"],"supporting_metrics":["Approval to Merge (median, p90)","Time to Merge (median)","Merge efficiency (opened / merged)"]},{"id":"review-latency","type":"review-latency","title":"Review Latency Problem","impact":"Slower feedback loops extend cycle time, increase rebase/merge-conflict overhead, and reduce the team's ability to ship incrementally. Tail pressure (p90 ≫ median) indicates the average is hiding a small number of PRs stuck for very long periods.","status":"triggered","actions":[{"id":"investigate_tail_prs","kind":"investigate","title":"Investigate the longest-waiting PRs for systemic delays","priority":"primary","rationale":"P90 first review (3.8d) is 59.73x the median (1.5h) — a small tail of stuck PRs may be hiding behind a healthy average."},{"id":"audit_pr_size_context","kind":"investigate","title":"Audit whether oversized or low-context PRs are being deferred","priority":"secondary","rationale":"Tail latency often clusters on PRs that are hard to review quickly."}],"summary":"PRs are waiting too long for review or approval relative to healthy targets.","evidence":{"approval_p90_hours":115.52,"approval_median_hours":4.03,"first_review_p90_hours":91.99,"first_review_tail_ratio":59.73,"first_review_median_hours":1.54},"severity":"critical","confidence":0.74,"likely_causes":["Reviewers are overloaded or unevenly distributed","No clear ownership or on-call review rotation","Reviewers context-switch between deep work and reviews without dedicated review windows","PRs are too large or lack context, so reviewers defer them"],"interpretation":"Median time to first review and/or time to approval is above healthy thresholds. When latency rises, in-flight PRs accumulate, context decays, and reviewers are pulled back to older work — compounding delivery risk.","triggered_rules":["first_review_tail_ratio_high"],"suggested_actions":["Investigate the longest-waiting PRs for systemic delays","Audit whether oversized or low-context PRs are being deferred"],"supporting_metrics":["Time to First Review (median, p90)","Time to Approval (median, p90)","Reviewer Load Distribution"]},{"id":"pr-size-risk","type":"pr-size-risk","title":"PR Size / Complexity Risk","impact":"Large PRs receive rubber-stamp approvals, hide regressions, slow down review (long feedback loops), and make bisecting harder when bugs do reach main. Cycle time and review quality both suffer.","status":"triggered","actions":[{"id":"review_p90_offenders","kind":"investigate","title":"Review p90 offenders — are they refactors that should be split?","priority":"primary","rationale":"P90 PR size is 2,064 lines (target: ≤1,000) while median is 94 — a tail of very large PRs is driving risk."},{"id":"encourage_incremental_prs","kind":"process_change","title":"Encourage stacked PRs for large features","priority":"secondary","rationale":"Splitting refactors from feature work reduces p90 spikes."},{"id":"add_pr_template_size_hint","kind":"process_change","title":"Add a target size hint to the PR template","priority":"secondary","rationale":"Team median (94 lines) is healthy — focus on the tail."},{"id":"partner_graphite","kind":"external_tool","title":"Recommended tool: Graphite","partner":{"name":"Graphite","slug":"graphite","category":"stacked_prs","logo_url":null,"product_id":2,"disclosure_type":"editorial"},"priority":"secondary","cta_label":"Learn more","rationale":"Stacked pull requests and merge tooling to keep changes small and reviewable."}],"summary":"PRs are too large for effective human review.","evidence":{"pr_size_total_lines_p90":2064,"pr_size_total_lines_median":94},"severity":"high","confidence":0.77,"likely_causes":["No shared expectation around PR size / scoping","Feature branches being merged as a single PR instead of stacked incrementally","Code generation / refactor commits inflating line counts","Reluctance to open \"partial\" PRs due to CI or review overhead"],"interpretation":"The typical PR is larger than the ~200-400 line band most research suggests reviewers can evaluate thoroughly. When p90 is also elevated, the team regularly ships PRs that are beyond the reach of meaningful line-by-line review.","triggered_rules":["pr_size_p90_above_threshold"],"suggested_actions":["Review p90 offenders — are they refactors that should be split?","Encourage stacked PRs for large features","Add a target size hint to the PR template"],"supporting_metrics":["PR Size — Total Lines (median)","PR Size — Total Lines (p90)"]},{"id":"backlog-imbalance","type":"backlog-imbalance","title":"Backlog / Throughput Imbalance","impact":"A growing backlog means older PRs stale, merge conflicts mount, and reviewer attention fragments. Left unchecked this degrades review quality and extends cycle time across the board.","status":"triggered","actions":[{"id":"prioritise_oldest_prs","kind":"process_change","title":"Prioritise clearing the oldest open PRs before accepting new ones","priority":"primary","rationale":"Merge efficiency is 1.55 (1,258 opened vs 811 merged per week; warning threshold: 1.2)."},{"id":"temp_review_capacity","kind":"process_change","title":"Temporarily shift capacity toward review until intake catches up","priority":"secondary","rationale":"A growing backlog increases context decay even when individual cycle times look fine."},{"id":"investigate_spike_source","kind":"investigate","title":"Investigate whether a specific author or repo is driving the imbalance","priority":"secondary","rationale":"Early spikes are easier to correct when you know the source."},{"id":"revisit_wip_limits","kind":"process_change","title":"If the imbalance persists, revisit reviewer allocation and WIP limits","priority":"secondary","rationale":"Opened/merged ratio above 1.2 for multiple weeks warrants structural changes."},{"id":"partner_linearb","kind":"external_tool","title":"Recommended tool: LinearB","partner":{"name":"LinearB","slug":"linearb","category":"eng_analytics","logo_url":null,"product_id":6,"disclosure_type":"editorial"},"priority":"secondary","cta_label":"Learn more","rationale":"Engineering metrics and delivery analytics to diagnose throughput and backlog imbalance."}],"summary":"More PRs are being opened each week than the team is merging — the backlog is growing.","evidence":{"merge_efficiency":1.55,"avg_merged_per_week":811,"avg_opened_per_week":1257.6},"severity":"medium","confidence":0.83,"likely_causes":["Insufficient reviewer capacity for the current work pace","Pull requests being opened faster than review can keep up (e.g. end-of-sprint crunch)","A handful of stuck PRs consuming disproportionate review cycles","Temporary surge (release prep, audit, migration) that needs to be planned for"],"interpretation":"Work intake is outpacing completion. Even if individual cycle times look acceptable, the team is accumulating in-flight PRs that compete for attention and compound review load.","triggered_rules":["merge_efficiency_above_threshold"],"suggested_actions":["Prioritise clearing the oldest open PRs before accepting new ones","Temporarily shift capacity toward review until intake catches up","Investigate whether a specific author or repo is driving the imbalance","If the imbalance persists, revisit reviewer allocation and WIP limits"],"supporting_metrics":["Merge efficiency (opened / merged)","Time to Merge (median)"]},{"id":"dev-cycle-delay","type":"dev-cycle-delay","title":"Development Cycle Delay","impact":"Hidden work delays feedback from reviewers and CI, increases merge conflict risk, and makes it harder to course-correct early. It also distorts cycle-time metrics — the clock doesn't start until the PR is visible.","status":"triggered","actions":[{"id":"encourage_draft_prs","kind":"process_change","title":"Encourage draft PRs earlier — even WIP work benefits from visibility","priority":"primary","rationale":"Average first-commit-to-open is 1.1d vs 1.0d target (n=6,288)."},{"id":"adopt_stacked_workflow","kind":"process_change","title":"Adopt a stacked-PR workflow to surface work incrementally","priority":"secondary","rationale":"Incremental surfacing reduces large-batch merges and review load spikes."},{"id":"investigate_long_incubation","kind":"investigate","title":"Investigate the longest incubation PRs","priority":"secondary","rationale":"Identify whether deferral is cultural (\"finish before sharing\") or tooling."},{"id":"warn_branch_divergence","kind":"configure_github","title":"Consider automation that warns when a branch diverges from main too long","priority":"secondary","rationale":"Incubation of 1.1d correlates with larger PRs and more rebasing."}],"summary":"Work is incubating locally for too long before being opened for review.","evidence":{"first_commit_sample_size":6288,"avg_first_commit_to_open_hours":26.09},"severity":"low","confidence":0.83,"likely_causes":["Culture of \"finish before sharing\" rather than draft PRs","Reluctance to open PRs that aren't yet \"clean\"","Long-lived feature branches without intermediate syncs to main","Lack of draft PR / stacked PR workflow"],"interpretation":"The gap between first commit and PR open is high, indicating that engineers are accumulating work on local branches before surfacing it. Long incubation correlates with larger PRs, harder review, and more rebasing as main moves ahead.","triggered_rules":["first_commit_to_open_above_threshold"],"suggested_actions":["Encourage draft PRs earlier — even WIP work benefits from visibility","Adopt a stacked-PR workflow to surface work incrementally","Investigate the longest incubation PRs","Consider automation that warns when a branch diverges from main too long"],"supporting_metrics":["First Commit → PR Open (avg hours)"]}]},"ai_report":{"status":"PENDING","output_markdown":null}}