From b4665579cec681b5863bf5b9e31ec95532a3cfe8 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sat, 4 Apr 2026 21:42:12 -0400 Subject: [PATCH] test(workflow): fix watchdog event assertion The test captures Debug output from RunEvent, which renders the event body variant name rather than the canonical envelope string. Assert on StallWatchdogTimeout so the check matches the collected output. --- lib/crates/fabro-workflow/tests/it/integration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/crates/fabro-workflow/tests/it/integration.rs b/lib/crates/fabro-workflow/tests/it/integration.rs index e009ef292..1bcf14444 100644 --- a/lib/crates/fabro-workflow/tests/it/integration.rs +++ b/lib/crates/fabro-workflow/tests/it/integration.rs @@ -12139,8 +12139,8 @@ async fn e2e_stall_watchdog_triggers_from_dot_parsed_pipeline() { // Verify the canonical watchdog timeout envelope was emitted. let collected = events.lock().unwrap(); assert!( - collected.iter().any(|e| e.contains("watchdog.timeout")), - "expected watchdog.timeout event in: {collected:?}" + collected.iter().any(|e| e.contains("StallWatchdogTimeout")), + "expected StallWatchdogTimeout event in: {collected:?}" ); }