chore(k1): checkpoint connection recovery work

This commit is contained in:
DCCONSTRUCTIONS
2026-08-21 08:12:22 +03:00
parent a3138f3d71
commit c7843a3c7e
22 changed files with 969 additions and 293 deletions
@@ -590,7 +590,14 @@ test("canonical K1 preparation stops before START and guards every async stage",
canonicalPreparation.match(
/expected_snapshot_runtime_id: actionSnapshotRuntimeId/g,
)?.length,
3,
4,
);
assert.match(canonicalPreparation, /xgridsK1Api\.openApplicationControlSession\(\{/);
assert.match(canonicalPreparation, /\.\.\.request\.physicalAcceptance/);
assert.ok(
canonicalPreparation.indexOf("xgridsK1Api.openApplicationControlSession")
< canonicalPreparation.indexOf("xgridsK1Api.enterApplicationWorkspace"),
"Verify inspection must be replaced before workspace entry",
);
assert.match(canonicalPreparation, /xgridsK1Api\.reconcilePhysicalCommand\(\{/);
assert.doesNotMatch(canonicalPreparation, /await xgridsK1Api\./);