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: drop the dead smoke step and stop runs from erasing or cancelling work
youxi798b6cbb89a5c19
diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.ymlindex 56f8bce8..0848d23b 100644--- a/.github/actions/setup-env/action.yml+++ b/.github/actions/setup-env/action.yml@@ -65,7 +65,7 @@ runs:- name: Setup Node.jsif: env.SETUP_NODE == 'true'- uses: actions/setup-node@v4+ uses: actions/setup-node@v6with:node-version: "22"cache: pnpmdiff --git a/.github/workflows/quality-and-test.yml b/.github/workflows/quality-and-test.ymlindex 9ce711ad..44e6ed44 100644--- a/.github/workflows/quality-and-test.yml+++ b/.github/workflows/quality-and-test.yml@@ -12,7 +12,6 @@ env:PNPM_VERSION: "10.26.2"permissions:- actions: writecontents: readconcurrency:@@ -57,7 +56,7 @@ jobs:rust-quality:name: Rust Code Quality- runs-on: ubuntu-latest+ runs-on: ubuntu-24.04strategy:fail-fast: false@@ -102,7 +101,7 @@ jobs:runs-on: ${{ matrix.os }}strategy:matrix:- os: [ubuntu-latest, windows-latest, macos-latest]+ os: [ubuntu-24.04, windows-latest, macos-latest]fail-fast: falsesteps:- name: Checkout repository@@ -137,16 +136,6 @@ jobs:CI: trueNODE_ENV: test- - name: Test CLI Integration (smoke)- shell: bash- run: |- echo "Testing CLI integration..."- if [[ "$RUNNER_OS" == "Windows" ]]; then- timeout 60s PAKE_CREATE_APP=1 node dist/cli.js https://weekly.tw93.fun --name "CITest" --debug --iterative-build || true- else- timeout 30s PAKE_CREATE_APP=1 node dist/cli.js https://weekly.tw93.fun --name "CITest" --debug --iterative-build || true- fi-# Full lane: only runs after merge to main (push event) or manual dispatch.# Keeps the real Tauri build coverage off the PR critical path.validation-full:@@ -155,7 +144,7 @@ jobs:runs-on: ${{ matrix.os }}strategy:matrix:- os: [ubuntu-latest, windows-latest, macos-latest]+ os: [ubuntu-24.04, windows-latest, macos-latest]fail-fast: falsesteps:- name: Checkout repositorydiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex c846a499..505d0b53 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -137,6 +137,8 @@ jobs:needs.build-cli.result == 'success' &&(needs.create-release.result == 'success' || needs.create-release.result == 'skipped')strategy:+ # One app failing (e.g. a stuck notarization) must not cancel the others.+ fail-fast: falsematrix:config: ${{ fromJSON(needs.release-apps.outputs.apps_config) }}uses: ./.github/workflows/single-app.yamldiff --git a/.github/workflows/update-contributors.yml b/.github/workflows/update-contributors.ymlindex a67557c7..f9ec2b48 100644--- a/.github/workflows/update-contributors.yml+++ b/.github/workflows/update-contributors.yml@@ -16,7 +16,6 @@ jobs:runs-on: ubuntu-latestpermissions:contents: write- pull-requests: writesteps:- name: Checkoutuses: actions/checkout@v6@@ -59,4 +58,3 @@ jobs:commit_user_name: github-actions[bot]commit_user_email: 41898282+github-actions[bot]@users.noreply.github.comcommit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>- push_options: '--force'diff --git a/AGENTS.md b/AGENTS.mdindex 3d452def..dd3564ab 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -145,7 +145,7 @@ Oracles per row live under `tests/unit/` (for example `event-link-guard.test.js`- Download and toast paths must not hardcode `get_webview_window("pake")` when the action originates from a secondary window: IPC commands take the calling `WebviewWindow`, and `on_download` resolves toast by the event webview's label. Authenticated downloads should attach webview session cookies when available. Link-download heuristics prefer real file extensions, the `download` attribute, and `?download` / `?attachment` query hints; Cmd/Ctrl+click is navigation, not "save as"; do not re-add broad SPA roots such as `/assets/`, `/dist/`, `/files/`, or `/releases/` (see #1337, #1339).- 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. `Test CLI Integration (smoke)` in `quality-and-test.yml` ends its command with `|| true`, so it reports success no matter how the CLI behaves; it is a log-producer, not a gate. 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.+- 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.- `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.