mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-16 23:43:10 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
parent
895735a829
commit
705f411c56
1 changed files with 18 additions and 2 deletions
|
|
@ -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]"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue