Skip to content

Commit def6984

Browse files
committed
fix(contract): route the 0h VM-soak needle through the canonical soak entry
The venue unification moved the VM soak sequence and its completion guard into scripts/soak-legs.sh; the smoke-fixture contract still pinned the old direct soak-test.sh call in vm-run-tests.sh, failing Step 0h — and with it every test leg on every venue of dry run 30224804737 (the test wave's 20 reds share this one cause). Masked until now: the contract chain runs sequentially and Step 0e failed first on the pre-fix tree, so 0h was never reached; post-fix verification used --suites mode, which skips the chain. All contract steps 0a-0j now verified green standalone in bulk. Invariant preserved, anchor moved: the VM wrapper must route --soak through the canonical entry under its protected temp root, and the canonical entry must completion-guard every leg on the soak summary (grep for '=== soak-test: PASSED ===' lives in soak-legs.sh:101). Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent b5b96e7 commit def6984

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

‎tests/test_smoke_fixture_contract.sh‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,20 @@ require(
272272
and "vm-run-tests.sh --soak '$duration'" in windows_vm,
273273
"the Windows VM driver must route the native daemon soak through its protected-temp harness",
274274
)
275+
# The soak sequence and its completion guards moved into the ONE canonical
276+
# entry scripts/soak-legs.sh (venue parity: _soak.yml, compose and the VM all
277+
# run the same file); the VM wrapper supplies the protected temp root and
278+
# routes into it.
279+
soak_legs = read("scripts/soak-legs.sh")
275280
require(
276281
'if [ "$1" = "--soak" ]' in windows_vm_runner
277-
and 'scripts/soak-test.sh "$binary" "$duration"' in windows_vm_runner
278-
and "=== soak-test: PASSED ===" in windows_vm_runner,
279-
"the Windows VM harness must run and completion-guard the native daemon soak under its "
280-
"protected temp root",
282+
and 'scripts/soak-legs.sh "$binary" "$duration"' in windows_vm_runner,
283+
"the Windows VM harness must route the native daemon soak through the canonical soak "
284+
"entry under its protected temp root",
285+
)
286+
require(
287+
"grep -Fq '=== soak-test: PASSED ==='" in soak_legs,
288+
"the canonical soak entry must completion-guard every leg on the soak summary",
281289
)
282290
require(
283291
pr_workflow.count("scripts/smoke-local.sh") >= 2,

0 commit comments

Comments
 (0)