Skip to content

feat: Set up governance compliance reporting and metrics dashboard #2666

Description

@ashleyshaw

Summary

Create dashboards and reporting tools to track governance compliance across the organization in real-time. This enables visibility into Phase 4 rollout success, identifies improvement areas, and helps leadership monitor organizational adoption of governance rules.

Proposed Solution

Design and implement a compliance metrics framework:

  1. Metrics Framework

    • Compliance rate: % of branches with correct naming
    • CI failure rate: failures due to invalid branch names
    • PR template routing accuracy: % of PRs with correct template
    • Title normalization success rate: % of issues/PRs properly titled
    • Per-repository compliance breakdown
    • Developer/team compliance scores
  2. Reporting Dashboard (Choose 1+)

    • GitHub Project with automation rules
    • Custom GitHub Actions workflow generating reports
    • Metrics dashboard published to README.md
    • Weekly email summary to leadership
  3. Data Collection

    • Query GitHub API for branch naming compliance
    • Aggregate validation workflow logs
    • Track PR template routing success via comments
    • Monitor title normalization automation runs
    • Store metrics in time-series format for trend analysis
  4. Success Dashboard

    • Visual compliance trend (target: trending to 100%)
    • Per-repository compliance breakdown
    • Developer/team compliance scores
    • Top issues and resolutions
    • Trend analysis (week-over-week, month-over-month)

Acceptance Criteria

  • Metrics framework defined and documented
  • Reporting dashboard live and updating daily
  • Compliance data collection automated
  • Real-time visibility into governance adherence
  • < 5 manual report requests per week
  • Overall compliance > 95%
  • Per-repo minimum compliance > 90%
  • CI failures due to naming < 1% of all CI runs

Designs / References

Testing Approach

  1. Set up metrics collection on pilot repo
  2. Verify data accuracy against manual spot-checks
  3. Test dashboard layout and usability
  4. Validate automation reliability
  5. Roll out to all target repos
  6. Establish baseline metrics
  7. Monitor for data quality issues

Definition of Ready

  • Metrics framework approved by leadership
  • Data sources identified and accessible
  • Dashboard platform chosen
  • Success targets defined

Definition of Done

  • Metrics dashboard live and updating daily
  • Compliance reporting automated (no manual steps)
  • Historical data collected for trend analysis
  • Dashboard accessible to team leads/managers
  • Initial metrics baseline established
  • Monitoring alerts configured (e.g., compliance drops below 90%)
  • Documentation for metrics interpretation published

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions