fix: inspect failed runs without checkpoints
This commit is contained in:
@@ -761,6 +761,11 @@ async def test_graceful_shutdown_cancel_leaves_executing_for_recovery(
|
||||
and "external effects may already" in item.message
|
||||
for item in record.diagnostics
|
||||
)
|
||||
inspected = await server_b.api.inspect_run(run_id=run_id)
|
||||
assert inspected["status"] == "failed"
|
||||
assert inspected["resume_readiness"] == "not_applicable"
|
||||
assert inspected["error"] is not None
|
||||
assert "external effects may already" in inspected["error"]
|
||||
assert len(_entries(root, "hanging", "failed")) == 1
|
||||
finally:
|
||||
_gate_open.set()
|
||||
|
||||
Reference in New Issue
Block a user