ota test: the installer's clear step is read as the block the detach made it (release-0.3.25 aed46086 was red on ota::return_tests::no_relaunch_while_an_installer_runs_and_a_relaunch_when_it_clears: install-detach-25 reshaped if CurStep = ssDone then ClearMarker into a begin/end block that also removes the detach task, and the test asserted the one-line literal; the behaviour, the installer as a one-shot scheduled task outside the engine's job tree, is kept). Known-failed first on aed46086; the crate suite green on box 2 with the fix

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
igneum-labs 2026-10-08 10:21:27 +00:00
parent aed46086a0
commit f1a8102a75

View file

@ -1345,7 +1345,7 @@ mod return_tests {
assert!(h.contains("install-running.flag") && h.contains("-gt 900"), "the same marker and the same stale rule as relaunch_allowed");
// the installer writes and clears it, and the host holds its restart on it
let iss = include_str!("../../../packaging/windows/Igneum-Miner.iss");
assert!(iss.contains("install-running.flag") && iss.contains("SetMarker;") && iss.contains("if CurStep = ssDone then ClearMarker") && iss.contains("SetupMutex=IgneumMinerSetup"));
assert!(iss.contains("install-running.flag") && iss.contains("SetMarker;") && iss.contains("if CurStep = ssDone then") && iss[iss.find("if CurStep = ssDone then").unwrap()..].contains("ClearMarker") && iss.contains("SetupMutex=IgneumMinerSetup"));
let host = include_str!("../../windows/host.cpp");
assert!(host.contains("install-running.flag") && host.contains("installerRunning()"), "the host's restart ladder holds while the marker is there");
}