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: fix Windows ORT panic + stop cancelling main runs
Louis Beaumont072c6bd5afa0
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex a39173824..857bbe3ce 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -22,7 +22,12 @@ on:concurrency:group: ${{ github.workflow }}-${{ github.ref }}- cancel-in-progress: true+ # Cancel superseded runs on PR branches (saves minutes when a contributor+ # rapidly re-pushes), but let main runs always finish — pushes to main+ # land faster than this workflow's longest job (cargo test on ubuntu, ~30+ # min), so cancelling-in-progress on main means CI never reports a single+ # green/red signal for any commit (we hit 30 consecutive cancellations).+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}env:GIT_LFS_SKIP_SMUDGE: 1diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.ymlindex 37fe53607..88d0025bd 100644--- a/.github/workflows/e2e-test.yml+++ b/.github/workflows/e2e-test.yml@@ -15,7 +15,9 @@ on:concurrency:group: ${{ github.workflow }}-${{ github.ref }}- cancel-in-progress: true+ # See ci.yml — cancel superseded runs only on PR branches; let main+ # always finish so we actually report a signal for every commit.+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}jobs:windows-e2e-test:@@ -140,6 +142,25 @@ jobs:projectPath: "./apps/screenpipe-app-tauri"tauriScript: bunx tauri -v+ # ORT_STRATEGY=system links against onnxruntime.lib but does NOT copy+ # onnxruntime.dll next to the test binary the way the default+ # download-binaries+copy-dylibs path would. Without a copy here the+ # Windows DLL loader fails to find onnxruntime.dll at runtime and the+ # screenpipe-server thread panics with "Failed to initialize ORT API"+ # on the very first ort::api() call. Tauri's bundle step does this for+ # release builds (see tauri.windows.conf.json resourcesMap), but+ # `--no-bundle` skips it.+ - name: Stage ONNX Runtime DLLs next to test binary+ shell: pwsh+ run: |+ $src = "${{ github.workspace }}/ort-system-lib/lib"+ $dst = "${{ github.workspace }}/apps/screenpipe-app-tauri/src-tauri/target/debug"+ if (-not (Test-Path $dst)) {+ New-Item -ItemType Directory -Path $dst -Force | Out-Null+ }+ Copy-Item -Path "$src/onnxruntime*.dll" -Destination $dst -Force+ Get-ChildItem -Path $dst -Filter "onnxruntime*.dll" | Select-Object Name, Length+- name: Run E2E Testsshell: pwshworking-directory: ./apps/screenpipe-app-tauridiff --git a/.github/workflows/e2e-windows.yml b/.github/workflows/e2e-windows.ymlindex d31e323fe..7bec82930 100644--- a/.github/workflows/e2e-windows.yml+++ b/.github/workflows/e2e-windows.yml@@ -13,7 +13,10 @@ on:concurrency:group: e2e-windows-${{ github.ref }}- cancel-in-progress: true+ # Self-hosted runner; main pushes come faster than the 30+min run, so+ # cancel-in-progress on main meant 99/100 runs got cancelled before+ # producing any signal. Cancel only PRs, let main finish.+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}env:GIT_LFS_SKIP_SMUDGE: 1