Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
ci: resolve incident ledger commits on the fast suite's linux leg
youxi798cf02a3e268cf
diff --git a/.github/workflows/quality-and-test.yml b/.github/workflows/quality-and-test.ymlindex e4318a0e..5d5699f7 100644--- a/.github/workflows/quality-and-test.yml+++ b/.github/workflows/quality-and-test.yml@@ -141,6 +141,9 @@ jobs:uses: actions/checkout@v6with:persist-credentials: false+ # Full history on Linux so the incident ledger's commits resolve+ # (tests/unit/check-incidents.test.ts); the others stay shallow.+ fetch-depth: ${{ matrix.os == 'ubuntu-24.04' && '0' || '1' }}- name: Setup Build Environmentuses: ./.github/actions/setup-envdiff --git a/AGENTS.md b/AGENTS.mdindex 78a58466..8719be90 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -146,7 +146,7 @@ Oracles per row live under `tests/unit/` (for example `event-link-guard.test.js`- The shared download HTTP client pools connections without a cookie jar. Redirects must re-read the calling window's cookies for each HTTP(S) target, progressively narrow Referer, and never restore it after an HTTPS downgrade. Accept page context only from the calling window's actual origin, strip URL credentials, and flush asynchronous file writes before reporting success. Wry 0.54.2 misses macOS literal-IP cookies; only that branch reads the window's full cookie store, with exact IP, Path, Secure and expiry filtering. Keep normal hostnames and other platforms on `cookies_for_url`. Validate the real WebView's User-Agent, Referer, HttpOnly session cookie and wrong-Path exclusion in `tests/integration/ipc-security.mjs`.- macOS menu navigation must keep working on blank error pages: Reload uses native `WebviewWindow::reload`, Go Home uses `navigate` + `resolve_home_url`, Back/Forward use the platform WKWebView history API rather than page `eval`. Copy URL reads `window.url()` so it does not depend on a live JS document.- Not every green CI step is evidence. The old `Test CLI Integration (smoke)` step ended with `|| true` and, because `timeout` took `PAKE_CREATE_APP=1` as the program name, never ran the CLI on any OS; it was removed rather than repaired. The steps that actually fail on regressions are `Run Fast Test Suite` (all three platforms) and `Full Tauri Build` (real `pnpm test` with a build, push and dispatch only). Cite those when claiming a change is verified, and check for `|| true` and `continue-on-error` before treating any other step as proof. `Rust Code Quality` also runs `cargo test --lib`, the only CI gate for the Rust unit tests; its Linux job runs clippy without `-D warnings`, so only the Windows job (`-D warnings`, default features plus `runtime-template,native-download-probe`) fails on lint warnings, and only for Windows cfg arms.-- Incidents are the review eval set. A fix for a defect that reached users through a published npm version or a released app adds its `docs/incidents.md` row in the same commit: the fix commit, the introducing commit when confirmed, the earliest layer that should have caught it, and the test that catches it now. `scripts/check-incidents.mjs` fails a row whose commit does not resolve, whose layer is unknown, or whose catcher is not a test or file in the repository; `tests/unit/check-incidents.test.ts` runs it, so `npx vitest run` in `release:check` and the CI fast suite gate it, and CI's one-commit checkout only shape-checks commits. Verification follows the paths a change touches, not its author: `node scripts/risk-tier.mjs [paths]` prints, as advice, the extra gates for the publish, public workflow, CI, IPC permission, bundle and CLI artifact tiers, and `--self-check` (locked by `tests/unit/risk-tier.test.ts`) fails when a rename leaves a tier pattern matching no file.+- Incidents are the review eval set. A fix for a defect that reached users through a published npm version or a released app adds its `docs/incidents.md` row in the same commit: the fix commit, the introducing commit when confirmed, the earliest layer that should have caught it, and the test that catches it now. `scripts/check-incidents.mjs` fails a row whose commit does not resolve, whose layer is unknown, or whose catcher is not a test or file in the repository; `tests/unit/check-incidents.test.ts` runs it, so `npx vitest run` in `release:check` and the CI fast suite gate it, and the fast suite's Linux leg checks out full history so commits resolve, while the other legs only shape-check them. Verification follows the paths a change touches, not its author: `node scripts/risk-tier.mjs [paths]` prints, as advice, the extra gates for the publish, public workflow, CI, IPC permission, bundle and CLI artifact tiers, and `--self-check` (locked by `tests/unit/risk-tier.test.ts`) fails when a rename leaves a tier pattern matching no file.- `setup-env` in build mode shares one rust-cache key per OS, and the first job to save wins it: every later restore is a full match and never saves again. A job that installs Rust but does not compile the app (fast lane, clippy) must pass `rust-cache-save: false`, or it seeds an empty target and every release recompiles from scratch. A healthy `v0-rust-pake-build-*` entry is about 1.1 GB and a poisoned one about 109 MB; check `gh cache list --key v0-rust-pake-build` before trusting release timings. Release builds reuse it because the CLI keeps `CARGO_TARGET_DIR` at `src-tauri/target` even inside its private workspace.- `.github/workflows/pake-cli.yaml` and `single-app.yaml` are public build surfaces that external users trigger from their own forks (see `docs/github-actions-usage*.md`). Changes there ship to outside users on push to `main`, independent of `V*` releases; treat them like public API, not internal CI. Their `run:` scripts take inputs through `env:`, never `${{ inputs.* }}` interpolated into bash or pwsh (gated by `tests/integration/workflow-paths.test.js`); on Windows an empty variable is unset, so test it with `IsNullOrEmpty`.- Jobs that compile the app on Linux pin `ubuntu-24.04` instead of `ubuntu-latest` (moving to Ubuntu 26 from 2026-10-19): release `.deb`/`.AppImage` link against the runner's glibc and WebKitGTK, so a runner bump raises the minimum distro for users. Move the pin deliberately, and keep the `matrix.build == 'linux'` conditions in `single-app.yaml` rather than matching the runner label.