Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
test(window): build replay dependencies and retain early job failures
Linuxdazhaof88f25cbb8a9
diff --git a/.github/workflows/windows-native-snap.yml b/.github/workflows/windows-native-snap.ymlindex 2f50721f2..f05ba1cf9 100644--- a/.github/workflows/windows-native-snap.yml+++ b/.github/workflows/windows-native-snap.yml@@ -35,6 +35,11 @@ jobs:ref: ${{ github.event.pull_request.head.sha || github.sha }}fetch-depth: 0persist-credentials: false+ - name: Initialize evidence before building+ shell: pwsh+ run: |+ New-Item -ItemType Directory "$env:RUNNER_TEMP/native-snap-evidence" | Out-Null+ @{ revision = (git rev-parse HEAD); startedAt = [DateTime]::UtcNow.ToString('o'); sessionId = [Diagnostics.Process]::GetCurrentProcess().SessionId } | ConvertTo-Json | Set-Content "$env:RUNNER_TEMP/native-snap-evidence/job.json"- uses: pnpm/action-setup@v6- uses: actions/setup-node@v7with:@@ -44,13 +49,20 @@ jobs:- uses: Swatinem/rust-cache@v2- name: Install dependenciesrun: pnpm install --frozen-lockfile+ - name: Build workspace fixture dependencies+ run: pnpm build:js- name: Install pinned Electronrun: pnpm --filter @pi-desktop/desktop exec install-electron- name: Build native Host- run: cargo build -p host-core --locked+ shell: pwsh+ run: |+ cargo build -p host-core --locked 2>&1 | Tee-Object "$env:RUNNER_TEMP/native-snap-evidence/build.log"+ if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }- name: Run interactive native acceptanceshell: pwsh- run: node scripts/e2e-window-snap.mjs --matrix --artifacts "$env:RUNNER_TEMP/native-snap-evidence"+ run: |+ node scripts/e2e-window-snap.mjs --matrix --artifacts "$env:RUNNER_TEMP/native-snap-evidence/native" 2>&1 | Tee-Object "$env:RUNNER_TEMP/native-snap-evidence/acceptance.log"+ if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }- name: Retain native results, logs, screenshots and replay sourcesif: always()uses: actions/upload-artifact@v7diff --git a/docs/project/windows-native-snap-evidence/.gitattributes b/docs/project/windows-native-snap-evidence/.gitattributesindex ae35d5c2a..1d284ad42 100644--- a/docs/project/windows-native-snap-evidence/.gitattributes+++ b/docs/project/windows-native-snap-evidence/.gitattributes@@ -1 +1 @@-*.txt -text+*.txt -text whitespace=cr-at-eol