Skip to content

feat(slm): validation dashboard and real-user-monitoring screens (#18278, #18277) - #20529

Merged
mrveiss merged 5 commits into
mainfrom
issue-18278-slm-validation-rum
Nov 1, 2026
Merged

mrveiss merged 5 commits into
mainfrom
issue-18278-slm-validation-rum

Conversation

@mrveiss

@mrveiss mrveiss commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Thinking Path

The backend already serves validation and real-user-monitoring data, but no screen shows it. Both are server-wide, so they belong in the SLM monitoring section, built on the kit with honest states for a missing or failing backend.

What Changed

  • New /monitoring/validation: status, metrics, trends, alerts, recommendations and a generate action. It reads /status and /report only, since /report already holds the rest. Trends are placeholder data in the backend, so the screen says so.
  • New /monitoring/rum: status and export data, with enable, disable and a confirmed clear for admins.
  • Both are admin-only routes with tabs in MonitoringView.vue, using the existing SLM client and contract types. en.json keys, with the other SLM locales generated.

Verification

Model Used

Claude Sonnet for the implementation, Claude Opus for coordination.

Closes #18278
Closes #18277

…dashboard API (#18278)

Monitoring > Validation, admin only: overview and metrics, per-phase status, alerts, recommendations and trends from one /report read, plus a /generate action. Reading, not available (503), failed and read-but-empty are said apart; an unscored phase reads Not scored, never 0%. The server-rendered /dashboard page is untouched.
…nd already collects (#18278)

Monitoring > Real user monitoring, admin only: counts from /rum/status, events, sessions and event types from /rum/export, a collection switch (POST /rum/config with the whole current config to enable, POST /rum/disable to disable) and Clear behind a confirmation (POST /rum/clear). Reading, failed, collecting-but-empty, off-and-empty and held-but-unreadable are said apart. Part of #18277.
@mrveiss mrveiss added this to the M3 - Refined GUI complete milestone Nov 1, 2026
@mrveiss mrveiss added the phase:M3.6 SLM platform screens label Nov 1, 2026
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 13 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 25ab945 and b38fa83.

Files selected for processing: 28
  • autobot-slm-frontend/src/components/monitoring/rum/RumDataTables.vue
  • autobot-slm-frontend/src/components/monitoring/validation/ValidationFindings.vue
  • autobot-slm-frontend/src/components/monitoring/validation/ValidationOverview.vue
  • autobot-slm-frontend/src/composables/useRumApi.ts
  • autobot-slm-frontend/src/composables/useValidationDashboardApi.ts
  • autobot-slm-frontend/src/locales/ar.json
  • autobot-slm-frontend/src/locales/de.json
  • autobot-slm-frontend/src/locales/en.json
  • autobot-slm-frontend/src/locales/es.json
  • autobot-slm-frontend/src/locales/fa.json
  • autobot-slm-frontend/src/locales/fr.json
  • autobot-slm-frontend/src/locales/he.json
  • autobot-slm-frontend/src/locales/lv.json
  • autobot-slm-frontend/src/locales/pl.json
  • autobot-slm-frontend/src/locales/pt.json
  • autobot-slm-frontend/src/locales/ur.json
  • autobot-slm-frontend/src/router/monitoringRoutes.ts
  • autobot-slm-frontend/src/views/MonitoringView.test.ts
  • autobot-slm-frontend/src/views/MonitoringView.vue
  • autobot-slm-frontend/src/views/monitoring/RumMonitor.test.ts
  • autobot-slm-frontend/src/views/monitoring/RumMonitor.vue
  • autobot-slm-frontend/src/views/monitoring/ValidationDashboard.test.ts
  • autobot-slm-frontend/src/views/monitoring/ValidationDashboard.vue
  • repo_tests/frontend_local_date_formatter_ratchet_19905_test.py
  • repo_tests/frontend_local_formatter_ratchet_19680_test.py
  • repo_tests/slm_frontend_bare_ui_literals_test.py
  • repo_tests/slm_frontend_i18n_parity_test.py
  • repo_tests/v_html_sanitiser_guard_19118_test.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Notice: 29 open PRs — past the runaway threshold (25)

This is not a request to defer this PR. There is no cap on open PRs (#19397) -- nothing blocks opening or pushing a PR.

This notice only means the count is high enough to be worth a glance for a runaway — something opening PRs in a loop, or a merge pipeline that has stalled so nothing is draining.

Currently open:

If the queue is draining normally, ignore this. Otherwise:

  1. Check whether CI is dispatching at all — see the ci-dispatch-watchdog status on these PRs
  2. Approved PRs land through the merge train the coordinator sequences (merge commits, never squash) -- check the open chore(merge-train) PR is moving, not each PR on its own
  3. Look for a loop opening near-identical PRs

Warn-only runaway detector — .github/workflows/pr-queue-gate.yml. It never blocks a merge.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

✅ SSOT Configuration Compliance: Passing

🎉 No new hardcoded values of either class — ssot and other both block.

Known backlog in pipeline-scripts/hardcoded_values_baseline.txt is suppressed and tracked in #14371.

@mrveiss

mrveiss commented Nov 1, 2026

Copy link
Copy Markdown
Owner Author

Code review on PR #20529 (head ff713a4): approve.

Read only; not rendered, no vue-tsc, tests not run. Every API call matches a mounted route and response shape, the screens are wired into navigation and admin-gated, states are real, and each criterion of #18277 and #18278 has code behind it. Non-blocking:

  • ValidationDashboard.vue:158-170: generate() posts {}, so the backend resets refresh_interval to 30, and the shown value goes stale because the screen doesn't re-read.
  • Backend, for bug(validation): /metrics likely fails on an unscored phase, and trends are placeholder data #20523: a report with no scored phases gives a 500 from _calculate_current_metrics, shown as a generic error, and _overall_figure returns 0.0 with no score, which reads as measured.
  • The 3,668 keys floor comment in repo_tests is stale.

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

Labels

phase:M3.6 SLM platform screens

Projects

None yet

1 participant