← Back to Pull requests

OSAC-3392: add modular WG-scoped PR dashboards with author filtering #173

Closed
unknown closed this pull request without merging on Aug 02, 2026 07:55 UTC
View on GitHub
unknown unknown commented on Jul 29, 2026 20:40 UTC
Author

Summary

OSAC-3392: Adds modular, config-driven WG PR dashboards. Any working group can now
stand up a filtered PR dashboard by creating a single TOML config file. The Storage
WG dashboard is the first instance.

Why

The Storage WG needs visibility into open PRs from their team members across OSAC
repos, with daily Slack notifications to #wg-osac-storage. Rather than hardcoding
each new dashboard, this makes the system modular so other WGs can onboard with
zero code changes.

Testing

Verified locally with dry-run:

# Storage dashboard: 10 PRs from 5 Storage WG members, all filtered correctly
python generate.py --config config.storage.example.toml --output /dev/null --dry-run

# Main dashboard: 103 PRs from 42 authors, completely unaffected
python generate.py --config config.example.toml --output /dev/null --dry-run

# Manifest: correctly discovers both configs
python generate_manifest.py --output /dev/stdout

# Unit tests: 59/59 pass
python -m unittest test_classifier test_data_formatter test_formatter test_slack

# Served locally on port 8080, verified both dashboards render with correct titles

Landing Page:
<img width="3181" height="1257" alt="image" src="https://github.com/user-attachments/assets/f96b8be4-2b3d-48f5-a82c-d428fb5e4833" />

Main Dashboard:
<img width="1405" height="1392" alt="image" src="https://github.com/user-attachments/assets/76a2bfdd-e556-4595-9cb0-e9aaa8b33e03" />

Storage Dashboard:
<img width="1485" height="1777" alt="image" src="https://github.com/user-attachments/assets/7b77f993-3835-42d6-a5c2-260cbc84ea8b" />

Adding a new WG dashboard (runbook)

1. Create tools/pr-notify/config.<wg-name>.example.toml (copy storage config, change members/channel/paths)
2. Push to main

No other files need to be touched.

Ticket

OSAC-3392

<br>

<small>Signed-off-by: akshaynadkarni <25892229+akshaynadkarni@users.noreply.github.com></small>
<small>Assisted-by: Cursor/Claude</small>

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

Summary by CodeRabbit

New Features
The Tools page now dynamically lists all configured PR dashboards from dashboards.json.
Multiple dashboards are supported, each with configurable title and description.
Dashboard titles are now shown in the header and browser tab.

Improvements
Dashboard data generation can optionally filter displayed pull requests by author.
Better handling for missing/empty dashboard configuration and load failures on the Tools page.
Updated site build to assemble and publish all dashboard assets and a consolidated dashboards manifest.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 361 lines (+270 / -91) across 4 files Reviewer: tzvatot Review duration: 4994m
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.66) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.66 · 361 lines diff across 4 files
0.66
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.352
Shallow Review Depth shallow_review_depth
0.289
Sensitive Paths sensitive_paths
0.066
Real PR Conversation Timeline
1 comments
"Review active on #173"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed sensitive_module
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 65.8% (HIGH) · Higher = larger blast radius
65.8%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 26% · Safe to merge
26%