assert_not_stuck

Function assert_not_stuck 

Source
pub fn assert_not_stuck(reports: &[WorkerReport]) -> AssertResult
Expand description

Default fairness check for one cgroup’s worker reports: builds the per-cgroup telemetry (cgroup_stats) and records NoProgress / Unfair / Stuck against the framework default thresholds. Telemetry is ALWAYS populated — including a num_workers == 0 entry for empty reports — so r.stats.cgroups is never empty for a declared cgroup, independent of whether any fail outcome fired.