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
Isolate Windows CLI integration data dir
Louis Beaumont7d20bf96a29f
diff --git a/.github/workflows/windows-integration-test.yml b/.github/workflows/windows-integration-test.ymlindex 6b92608ba..8d87f3c5f 100644--- a/.github/workflows/windows-integration-test.yml+++ b/.github/workflows/windows-integration-test.yml@@ -127,6 +127,11 @@ jobs:run: |$ErrorActionPreference = "Stop"$env:RUST_LOG = "debug"+ $screenpipeDir = Join-Path $env:RUNNER_TEMP "screenpipe-ci-$env:GITHUB_RUN_ID-$env:GITHUB_RUN_ATTEMPT"+ if (Test-Path $screenpipeDir) {+ Remove-Item $screenpipeDir -Recurse -Force+ }+ New-Item -ItemType Directory -Path $screenpipeDir -Force | Out-Null$exePath = if (Test-Path ".\target\x86_64-pc-windows-msvc\release\screenpipe.exe") {".\target\x86_64-pc-windows-msvc\release\screenpipe.exe"} else {@@ -151,7 +156,15 @@ jobs:Copy-DllIfMissing $_.FullName $binDir}}- $arguments = @("record", "--debug", "--disable-telemetry", "--audio-transcription-engine", "disabled")+ $arguments = @(+ "record",+ "--debug",+ "--disable-telemetry",+ "--audio-transcription-engine",+ "disabled",+ "--data-dir",+ $screenpipeDir+ )$process = Start-Process -FilePath $exePath -ArgumentList $arguments -PassThru -RedirectStandardOutput "screenpipe_output.log" -RedirectStandardError "screenpipe_error.log" -NoNewWindowtry {Start-Sleep -Seconds 10@@ -196,8 +209,9 @@ jobs:exit 1}Write-Host "CLI ran successfully without crashing"-- $dataDir = Join-Path $env:USERPROFILE ".screenpipe\data"++ $screenpipeDir = Join-Path $env:RUNNER_TEMP "screenpipe-ci-$env:GITHUB_RUN_ID-$env:GITHUB_RUN_ATTEMPT"+ $dataDir = Join-Path $screenpipeDir "data"if (-not (Test-Path $dataDir)) {Write-Host "No screenpipe data directory was created at $dataDir"Get-Content "screenpipe_output.log" -Tail 100 -ErrorAction SilentlyContinue@@ -236,4 +250,4 @@ jobs:name: screenpipe-datainclude-hidden-files: truepath: |- ~/.screenpipe/*+ ${{ runner.temp }}/screenpipe-ci-${{ github.run_id }}-${{ github.run_attempt }}/*