Skip to content

Commit 442869e

Browse files
committed
fix: update Windows spice run command to use spiced directly to avoid runtime reinstall issues
1 parent 4fc509e commit 442869e

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,13 @@ jobs:
126126
spice init spice_qs
127127
cd spice_qs
128128
spice add spiceai/quickstart
129-
Start-Process -FilePath spice -ArgumentList 'run' -RedirectStandardOutput spice.out.log -RedirectStandardError spice.err.log
129+
# Use spiced directly; `spice run` on Windows has a bug where it
130+
# reinstalls the runtime and then fails to locate it.
131+
$spiced = Join-Path $HOME ".spice\bin\spiced.exe"
132+
if (-not (Test-Path $spiced)) {
133+
throw "spiced not found at $spiced after `spice install`"
134+
}
135+
Start-Process -FilePath $spiced -RedirectStandardOutput spice.out.log -RedirectStandardError spice.err.log
130136
# Wait for runtime to be ready (poll /v1/ready endpoint)
131137
$timeout = 120
132138
$elapsed = 0

0 commit comments

Comments
 (0)