Accept optional saved-state smoke skips

This commit is contained in:
2026-07-26 17:18:38 +03:00
parent 9d7c4f38f3
commit c1d5d06f6d
4 changed files with 71 additions and 8 deletions
@@ -99,6 +99,7 @@ def main() -> int:
"status": "skipped_no_saved_state_candidate",
"skipped": True,
"base_id": args.base_id,
"table": args.table,
"saved_state_table": args.table,
"diagnostics": {"message": str(exc)},
}
@@ -127,6 +128,7 @@ def main() -> int:
"status": "skipped_no_saved_state",
"skipped": True,
"base_id": args.base_id,
"table": args.table,
"module_ref": module_ref,
"saved_state_preflight": {"status": saved_state.get("status"), "counts": saved_state.get("counts")},
}
@@ -181,6 +183,7 @@ def main() -> int:
"schema": "onec_module_stream_write_smoke.v1",
"status": "verified_and_rolled_back",
"base_id": args.base_id,
"table": args.table,
"module_ref": module_ref,
**({"saved_state_preflight": auto_target.get("discovery")} if auto_target else {}),
"write_plan": {