From 2b4c16c16c97e79ade30232f7f7950192f45fe06 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 8 Feb 2026 17:25:06 +0000 Subject: [PATCH] chore: improve quickjs disabled error message, disable rust cache in CI Co-Authored-By: Claude Opus 4.6 --- .github/workflows/backend-test.yml | 2 +- backend/windmill-jseval/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-test.yml b/.github/workflows/backend-test.yml index 7c97556ed1..be66b7f38d 100644 --- a/.github/workflows/backend-test.yml +++ b/.github/workflows/backend-test.yml @@ -75,7 +75,7 @@ jobs: working-directory: / - uses: actions-rust-lang/setup-rust-toolchain@v1 with: - cache-workspaces: backend + cache: false toolchain: 1.90.0 - name: Read EE repo commit hash run: | diff --git a/backend/windmill-jseval/src/lib.rs b/backend/windmill-jseval/src/lib.rs index 92024395c5..4b6bd20be1 100644 --- a/backend/windmill-jseval/src/lib.rs +++ b/backend/windmill-jseval/src/lib.rs @@ -835,7 +835,7 @@ pub async fn eval_timeout_quickjs( _by_id: Option<&IdContext>, _ctx: Option>, ) -> anyhow::Result> { - anyhow::bail!("quickjs feature is not enabled") + anyhow::bail!("JavaScript expression evaluation requires the `quickjs` feature. Enable it with: cargo build --features quickjs") } #[cfg(not(feature = "quickjs"))] @@ -843,7 +843,7 @@ pub async fn eval_simple_js( _expr: String, _globals: HashMap, ) -> anyhow::Result> { - anyhow::bail!("quickjs feature is not enabled") + anyhow::bail!("JavaScript expression evaluation requires the `quickjs` feature. Enable it with: cargo build --features quickjs") } // ── Tests ────────────────────────────────────────────────────────────