Loading
Draft: [Integration - do not merge] AI Governance Dashboard end-to-end (frontend + backend metrics)
⚠️ Integration branch — DO NOT MERGE
Throwaway branch that bundles the full AI Governance Dashboard stack (frontend + backend metrics) so it can be tested end-to-end (review app / local) before the pieces land on master. The live-data wiring shown here ships properly via #606131 once its dependencies merge.
What it combines
- Frontend cards: !243690 (merged)
- Frontend summary sparklines: !243779 (merged)
- Backend metrics services: !243933 (merged)
- Backend metrics GraphQL API: !244211 (merged)
- New here: wires the summary tiles (AI agents, AI sessions) to
aiGovernanceMetrics—count→ value,count/previousCount→ delta + direction,trend→ sparkline. Compliance posture stays a placeholder (no backend metric).
How to test
- Set up GitLab Duo locally (SaaS + license): Set up GitLab Duo.
- Enable flags:
ai_governance_dashboard,gitlab_duo_governance_settings,agent_artifacts_page. - Seed a few Duo Workflow sessions so the metrics have data.
- Settings → GitLab Duo → Governance → Dashboard tab: the AI agents / AI sessions tiles show live counts and trend sparklines; the cards below show recent sessions and configured agents.
Maintenance
Refresh by git merge-ing updated dependency tips (not rebase), so re-syncing is cheap. Superseded and deleted once all four dependencies are on master and #606131 is cut clean.