Commit 6f14c66
committed
Render run-wait-age on the Waterline dashboard
The operator-metrics rollout-safety contract now freezes
operator_metrics.runs.waiting (integer), operator_metrics.runs.oldest_wait_started_at
(ISO-8601 or null), and operator_metrics.runs.max_wait_age_ms (integer
milliseconds), plus the matching waiting_runs / oldest_wait_started_at /
max_wait_age_ms forward on the durable_resume_paths health check data. The
signal counts running runs parked at a durable resume point — signal,
update, timer, or compatibility-blocked — so operators can answer "how
long has the worst-case run been waiting for its next durable resume?"
from the metric alone.
Render the trio as a Waiting runs tile on the Operator metrics panel with
"oldest N parked (since ISO)" meta line, sibling to the existing Repair
needed runs, Claim failed runs, and Compatibility blocked tiles.
Gated by operatorRunWaitAvailable() / operatorRunWaitAgeAvailable() so
dashboards backed by pre-contract workflow packages still render cleanly
without flickering null-only meta lines. Adds V2DashboardStatsControllerTest::
testIndexExposesRunWaitAge which pins the contract against the v2 stats
endpoint and self-skips when the vendored workflow package predates the
contract, mirroring the existing stuck-lease, ready-due, and
dispatch-overdue self-skips.
Assets: public/app.js + public/mix-manifest.json rebuilt with
npm run development (Laravel Mix).1 parent 24f80a1 commit 6f14c66
4 files changed
Lines changed: 29805 additions & 29704 deletions
File tree
- public
- resources/js/screens
- tests/Feature
Large diffs are not rendered by default.
| 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 | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
345 | 355 | | |
346 | 356 | | |
347 | 357 | | |
| |||
1188 | 1198 | | |
1189 | 1199 | | |
1190 | 1200 | | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
1191 | 1224 | | |
1192 | 1225 | | |
1193 | 1226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
825 | 857 | | |
0 commit comments