Commit 518b5cd
committed
Pin operator_metrics.schedules.* scheduler-role keys on the dashboard payload
Add a feature test in V2DashboardStatsControllerTest that asserts the
frozen operator_metrics.schedules.* keys exposed by the workflow v2
package — active, paused, missed, oldest_overdue_at, max_overdue_ms,
fires_total, failures_total — so contract drift between the workflow
snapshot and the Waterline scheduler-role section of the dashboard
fails loudly in CI once a workflow alpha that emits the keys is
published.
The test self-skips when the resolved workflow alpha predates the
scheduler-role metrics surface (today's alpha.8 does not expose the
keys). The assertions pin automatically at the moment an alpha that
exposes operator_metrics.schedules lands, following the same pattern
used for the HealthCheck category contract.1 parent dabe8eb commit 518b5cd
1 file changed
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
663 | 712 | | |
0 commit comments