From c1d14bbaf074dc4170d714c81e769718818310f9 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Mon, 15 Jun 2026 01:04:19 +0200 Subject: [PATCH] fix(soak): invalid composite-format alignment {3,+4} crashed the readout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit First real execution of soak-conpty.ps1 on GitHub's windows-latest proved the harness works — it spawned real ConPTY children, ran the suite (6 tests), and measured the first iteration — then died printing the per-iter line: `{3,+4}` is a printf-ism, not valid .NET composite formatting (the `+` is rejected with "Expected an ASCII digit"). The script had never run on Windows before, so the typo was latent. Drop to `{3,4}` (plain width). Co-Authored-By: Claude Opus 4.8 (1M context) --- tools/windows-verify/soak-conpty.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/windows-verify/soak-conpty.ps1 b/tools/windows-verify/soak-conpty.ps1 index e2676a24..77a7dfc5 100644 --- a/tools/windows-verify/soak-conpty.ps1 +++ b/tools/windows-verify/soak-conpty.ps1 @@ -133,7 +133,7 @@ for ($i = 1; $i -le $Iterations; $i++) { $tag = if ($hung) { 'HANG' } elseif ($orphans -gt 0) { 'LEAK?' } else { 'clean' } $col = if ($hung) { 'Red' } elseif ($orphans -gt 0) { 'Yellow' } else { 'Green' } - Write-Host ("iter {0,3}/{1}: hosts={2} orphans={3,+4} dart_peak_handles={4} threads={5} exit={6} {7}" -f ` + Write-Host ("iter {0,3}/{1}: hosts={2} orphans={3,4} dart_peak_handles={4} threads={5} exit={6} {7}" -f ` $i, $Iterations, $now, $orphans, $peakHandles, $peakThreads, $exit, $tag) -ForegroundColor $col }