Skip to content

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

run windows cli integration with record command

louis0301953b33b83de4dd
diff --git a/.github/workflows/windows-integration-test.yml b/.github/workflows/windows-integration-test.yml
index 945cf033c..7e22eba36 100644
--- a/.github/workflows/windows-integration-test.yml
+++ b/.github/workflows/windows-integration-test.yml
@@ -141,8 +141,15 @@ jobs:
Copy-DllIfMissing $_.FullName $binDir
}
}
- $process = Start-Process -FilePath $exePath -ArgumentList "--debug" -PassThru -RedirectStandardOutput "screenpipe_output.log" -RedirectStandardError "screenpipe_error.log" -NoNewWindow
+ $arguments = @("record", "--debug", "--disable-telemetry", "--audio-transcription-engine", "disabled")
+ $process = Start-Process -FilePath $exePath -ArgumentList $arguments -PassThru -RedirectStandardOutput "screenpipe_output.log" -RedirectStandardError "screenpipe_error.log" -NoNewWindow
Start-Sleep -Seconds 10
+ if ($process.HasExited) {
+ Write-Host "CLI exited during startup with code $($process.ExitCode)"
+ Get-Content "screenpipe_output.log" -ErrorAction SilentlyContinue
+ Get-Content "screenpipe_error.log" -ErrorAction SilentlyContinue
+ exit 1
+ }
# Generate some screen activity
for ($i = 0; $i -lt 5; $i++) {
@@ -170,7 +177,14 @@ jobs:
}
Write-Host "CLI ran successfully without crashing"
- $capturedFiles = Get-ChildItem -Path "$env:USERPROFILE\.screenpipe\data" -Recurse
+ $dataDir = Join-Path $env:USERPROFILE ".screenpipe\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
+ Get-Content "screenpipe_error.log" -ErrorAction SilentlyContinue
+ exit 1
+ }
+ $capturedFiles = Get-ChildItem -Path $dataDir -Recurse
if ($capturedFiles.Count -eq 0) {
Write-Host "No data was captured"
exit 1