feat(grafana): add additive maintainer review event panels - #6138
Conversation
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-15 19:58:37 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 5 non-blocking
Flagged checks (non-blocking)
Linked issue satisfactionPartially addressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6138 +/- ##
=======================================
Coverage 95.33% 95.33%
=======================================
Files 598 598
Lines 47178 47178
Branches 15026 15026
=======================================
Hits 44975 44975
Misses 1477 1477
Partials 726 726
Flags with carried forward coverage won't be shown. Click here to find out more. |
Summary
audit_eventssubset into the self-host Grafana reporting DB so maintainer dashboards can query additive PR event countsScope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
./node_modules/.bin/vitest run test/unit/selfhost-grafana-dashboard.test.ts test/unit/selfhost-grafana-reporting.test.tspassed for the dashboard suite; the reporting suite is currently
sqlite3-gated in this container and was skipped by Vitest here.npm run test:ciadvanced throughactionlint, migration/schema checks, env-reference checks, andselfhost:validate-observability, then stopped atnpm run cf-typegen:checkbecause localwrangler typesconsistently fails withwrite EPIPEin this environment before the later template-listed commands can run.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
Pending self-host Grafana screenshots; this draft changes dashboard JSON only and I do not have a running Grafana capture path in this container.
Notes
#4134; this PR implements only the remaining part 2 additive-event-count work the follow-up comments called out on 2026-07-08 and 2026-07-14.Manual review/Approved (pending merge)/Ignored (no gate decision yet)tiles are latest-state snapshots becausescripts/export-grafana-reporting-db.shderivesreview_targetsfrompull_requestsplus the latest nativereview_audit gate_decisionrow. Before this change, the maintainer dashboard had noaudit_eventsquery path at all, so it could not show true additive event flow.agent.action.hold,agent.action.approve,github_app.pr_visibility_skipped) and keep the snapshot tiles unchanged so maintainers can compare flow vs. current backlog/state.