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

ci(e2e): make rust-cache restore non-fatal

Louis Beaumonta4b2d9cd837f
diff --git a/.github/workflows/e2e-macos.yml b/.github/workflows/e2e-macos.yml
index 001642177..dd4165c0e 100644
--- a/.github/workflows/e2e-macos.yml
+++ b/.github/workflows/e2e-macos.yml
@@ -39,6 +39,9 @@ jobs:
uses: dtolnay/rust-toolchain@stable
- name: Rust cache
+ # cache restore/save is an optimization only; a transient GHA cache
+ # service error must never fail the job
+ continue-on-error: true
uses: Swatinem/rust-cache@v2
- name: Install system deps
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index 57bd60111..6f904ca95 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -104,6 +104,9 @@ jobs:
shell: bash
- name: Rust cache
+ # cache restore/save is an optimization only; a transient GHA cache
+ # service error must never fail the job (skipped build+tests, red CI)
+ continue-on-error: true
uses: Swatinem/rust-cache@v2
with:
workspaces: apps/screenpipe-app-tauri/src-tauri
@@ -456,6 +459,9 @@ jobs:
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
- name: Rust cache
+ # cache restore/save is an optimization only; a transient GHA cache
+ # service error must never fail the job (skipped build+tests, red CI)
+ continue-on-error: true
uses: Swatinem/rust-cache@v2
with:
workspaces: apps/screenpipe-app-tauri/src-tauri
@@ -574,6 +580,9 @@ jobs:
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
- name: Rust cache
+ # cache restore/save is an optimization only; a transient GHA cache
+ # service error must never fail the job (skipped build+tests, red CI)
+ continue-on-error: true
uses: Swatinem/rust-cache@v2
with:
workspaces: apps/screenpipe-app-tauri/src-tauri