feat: isolate batch execution in owned supervisor with durable recovery protocol

This commit is contained in:
阿白叔 committed 2026-10-23 15:54:33 +08:00
1 parent 6d0b92c515
commit 1baf908ba4
23 files changed
+1208 -53

No files matched your search

@@ -208,6 +208,10 @@ def test_runtime_smoke_tracks_real_process_and_releases_on_failure(tmp_path, mon
else:
_smoke_batch_runtime(tmp_path, configure_logging(tmp_path))
paths = list((tmp_path / 'batch-resources').glob('*/session.json'))
if missing_dependency:
# The GUI now verifies supervisor identity before launching anything.
assert not paths
return
assert len(paths) == 1
record = json.loads(paths[0].read_text(encoding='utf-8'))
assert record['state'] == 'released' and record['cad_pid'] is None