From 1ce445ae5973c6571921d6ba30c295c295118847 Mon Sep 17 00:00:00 2001 From: Violin Date: Sat, 1 Aug 2026 22:37:57 +0100 Subject: [PATCH] Use project runtime in Windows smoke test --- CHANGELOG.md | 1 + scripts/smoke-test.ps1 | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3e6def..0457f4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 3.0.0 +- Made the Windows workflow smoke harness use the repository virtual-environment runtime when available, avoiding false failures from a dependency-free system Python. - Made background execution restart-safe by recording PID creation times and deadlines, refusing to signal reused PIDs, recovering matching processes, and marking missing processes as lost; new pending batches now use collision-resistant UUIDs. - Made burst execution atomic at admission: every command is preflighted before launch, required sync credit is reserved under one lock, and unused reservations are returned after partial batches. - Fixed target extraction for dotted identifiers and direct `/dev/tcp`/`/dev/udp` redirections, and prevented network-capable local-looking commands from bypassing execution accounting. diff --git a/scripts/smoke-test.ps1 b/scripts/smoke-test.ps1 index 27932c7..1288561 100644 --- a/scripts/smoke-test.ps1 +++ b/scripts/smoke-test.ps1 @@ -1,7 +1,12 @@ $ErrorActionPreference = "Stop" $repoRoot = (Resolve-Path (Join-Path $PSScriptRoot "..")).Path -$python = (Get-Command python -ErrorAction Stop).Source +$venvPython = Join-Path $repoRoot ".venv\Scripts\python.exe" +$python = if (Test-Path -LiteralPath $venvPython) { + $venvPython +} else { + (Get-Command python -ErrorAction Stop).Source +} $smokeRoot = Join-Path ([System.IO.Path]::GetTempPath()) ("violin-smoke-" + [guid]::NewGuid().ToString("N")) $engagement = Join-Path $smokeRoot "engagement"