YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
ci(windows): run the launch smoke test natively before SDE emulation
Ezra Ellette3d689647f4d2
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.ymlindex 64b499913..c3ef75f1b 100644--- a/.github/workflows/release-cli.yml+++ b/.github/workflows/release-cli.yml@@ -513,9 +513,26 @@ jobs:}7z a "$packageDir.zip" "./$packageDir/*"- - name: Smoke test on emulated non-AVX2 CPU (Intel SDE)+ - name: Launch smoke test (native CPU + emulated non-AVX2 via Intel SDE)shell: pwshrun: |+ # A --version probe exercises process init end-to-end: CRT startup,+ # the import table (onnxruntime.dll → MSVCP/VCRUNTIME), and every+ # static initializer. Run from the deployment package dir so DLL+ # resolution matches exactly what customers get.+ #+ # Native first: the runner's own modern (AVX2) CPU is what ~99.9% of+ # users run — a native failure means the package is broken for+ # EVERYONE (e.g. a DLL missing from the zip), independent of any+ # AVX2 work. Ordering it first makes failures unambiguous:+ # native fails = broken for all; native passes but SDE fails =+ # AVX2/baseline regression specifically.+ $packageDir = "screenpipe-${{ env.VERSION }}-x86_64-pc-windows-msvc"+ $exe = (Resolve-Path "$packageDir/bin/screenpipe.exe").Path+ Write-Host "=== native (runner CPU) — screenpipe.exe --version ==="+ & $exe --version+ if ($LASTEXITCODE -ne 0) { throw "screenpipe.exe failed natively (exit $LASTEXITCODE) — the package is broken for ALL CPUs" }+# Intel SDE emulates older CPUs and raises the same illegal-instruction# fault a real pre-AVX2 chip would. -snb = Sandy Bridge (AVX, no AVX2);# -mrm = Merom (no AVX at all — harshest baseline case).@@ -523,10 +540,6 @@ jobs:# /arch:AVX2 CFLAGS, AVX2 static onnxruntime, eager ggml init, etc.# CI runners have AVX2, so without SDE a poisoned build sails through# CI and dies on customer machines (see the 2026-07 pre-Haswell report).- # A --version probe exercises process init end-to-end: CRT startup,- # the import table (onnxruntime.dll → MSVCP/VCRUNTIME), and every- # static initializer. Run from the deployment package dir so DLL- # resolution matches exactly what customers get.# SDE URL: pinned release; if Intel rotates the mirror, grab the new# URL from https://www.intel.com/content/www/us/en/developer/articles/tool/software-development-emulator.html$sdeUrl = 'https://downloadmirror.intel.com/915934/sde-external-10.8.0-2026-03-15-win.tar.xz'@@ -535,8 +548,6 @@ jobs:7z x sde.tar -y | Out-Null$sde = (Get-ChildItem "sde-external-*" -Recurse -Filter sde.exe | Select-Object -First 1).FullNameif (-not $sde) { throw "sde.exe not found after extraction" }- $packageDir = "screenpipe-${{ env.VERSION }}-x86_64-pc-windows-msvc"- $exe = (Resolve-Path "$packageDir/bin/screenpipe.exe").Pathforeach ($cpu in @('-snb', '-mrm')) {Write-Host "=== SDE $cpu — screenpipe.exe --version ==="& $sde $cpu -- $exe --version