Commit dabe8eb
committed
Render scheduler-role health on the Waterline dashboard
Adds a Scheduler-role health section to the Operator metrics panel on
`resources/js/screens/dashboard.vue`. The section reads the frozen
`operator_metrics.schedules.*` namespace exposed by the workflow v2
package — `active`, `paused`, `missed`, `oldest_overdue_at`,
`max_overdue_ms`, `fires_total`, `failures_total` — so operators can
read namespace-wide scheduler lag and failure trends on the dashboard
without cross-referencing the schedules registry.
Graceful degradation: the section renders a short 'no scheduler-role
metrics exposed' note when the `operator_metrics.schedules` key is
absent (pre-alpha workflow builds that predate the schedule metrics
surface). The rest of the panel renders unchanged.
Assets: `public/app.js` + `public/mix-manifest.json` rebuilt with
`npm run production`.
Tests: V2DashboardStatsControllerTest 4/125 green under
phpunit-sqlite.xml in php:8.4-cli-alpine. Public Boundary scan exit 0.
No feature assertion is added for the `operator_metrics.schedules`
keys yet because the vendored workflow alpha predates the schedule
metrics contract; once a new alpha lands, a follow-up slice can pin
the key shape in V2DashboardStatsControllerTest.1 parent a84cec2 commit dabe8eb
3 files changed
Lines changed: 36 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
414 | 436 | | |
415 | 437 | | |
416 | 438 | | |
| |||
1070 | 1092 | | |
1071 | 1093 | | |
1072 | 1094 | | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
1073 | 1107 | | |
1074 | 1108 | | |
1075 | 1109 | | |
| |||
0 commit comments