From 36f7fefa27b42b08d58497bb5ba13e412b94da77 Mon Sep 17 00:00:00 2001 From: igneum-labs <337424239+igneum-labs@users.noreply.github.com> Date: Thu, 8 Oct 2026 10:21:27 +0000 Subject: [PATCH] ota test: the installer's clear step is read as the block the detach made it (release-0.3.25 8779c80e 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 8779c80e; the crate suite green on box 2 with the fix Co-Authored-By: Claude Fable 5.1 --- app/igneum-app/src/ota.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/igneum-app/src/ota.rs b/app/igneum-app/src/ota.rs index f52ced1bc..41b0545af 100644 --- a/app/igneum-app/src/ota.rs +++ b/app/igneum-app/src/ota.rs @@ -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"); }