From 705f411c56bf3fd86c75280f749394cadc27ef18 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Fri, 11 Sep 2026 13:58:09 -0600 Subject: [PATCH] Expect the driver's stop event in the stored event history snapshot A dry run's stored history ends with the sandbox stop, which now carries the driver's event instead of fabro's provider and duration fields. Co-Authored-By: Claude Fable 5.1 --- lib/apps/fabro-cli/tests/it/cmd/run.rs | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/lib/apps/fabro-cli/tests/it/cmd/run.rs b/lib/apps/fabro-cli/tests/it/cmd/run.rs index 5f1752b38..6f3856a0d 100644 --- a/lib/apps/fabro-cli/tests/it/cmd/run.rs +++ b/lib/apps/fabro-cli/tests/it/cmd/run.rs @@ -993,8 +993,24 @@ fn dry_run_persists_event_history_in_store() { "event": "sandbox.stop.completed", "id": "[EVENT_ID]", "properties": { - "duration_ms": "[DURATION_MS]", - "provider": "local" + "action": "stop", + "correlation_id": "[ULID]", + "duration": { + "nanos": "[NANOS]", + "secs": 0 + }, + "id": { + "sequence": 5, + "source_id": "[HEX]" + }, + "occurred_at": "[TIMESTAMP]", + "operation_id": "[HEX]", + "provider": "host", + "subject": { + "id": "host-dir-[HEX]", + "type": "sandbox" + }, + "type": "operation_completed" }, "run_id": "[ULID]", "ts": "[TIMESTAMP]"