From 6d3e94233be66395adca4dc93121c694a781d008 Mon Sep 17 00:00:00 2001 From: abose Date: Wed, 28 Jan 2026 08:12:54 +0530 Subject: [PATCH 1/2] ci: move to node 24 lts --- .github/workflows/test-on-pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-on-pr.yml b/.github/workflows/test-on-pr.yml index c23ca6c..eb82101 100644 --- a/.github/workflows/test-on-pr.yml +++ b/.github/workflows/test-on-pr.yml @@ -15,7 +15,7 @@ jobs: - name: setup node uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 - name: install Rust stable uses: dtolnay/rust-toolchain@stable with: @@ -71,7 +71,7 @@ jobs: - name: setup node uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 - name: install dependencies run: | sudo apt-get update From fec3bb87a9ce4826808623b90a84c487d29c21aa Mon Sep 17 00:00:00 2001 From: abose Date: Wed, 28 Jan 2026 10:01:27 +0530 Subject: [PATCH 2/2] fix: node 24 incompatible with tauri unc paths causing test framework break --- test/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/index.html b/test/index.html index c8afea9..d3324d3 100644 --- a/test/index.html +++ b/test/index.html @@ -41,6 +41,11 @@ let commandId = 0, pendingCommands = {}; if(window.__TAURI__){ window.__TAURI__.path.resolveResource("node-src/index.js").then(async nodeSrcPath=>{ + // Strip Windows UNC prefix (\\?\) that Tauri adds on Windows + // Node 24 doesn't handle UNC paths correctly in module resolution + if (window.IS_WINDOWS && nodeSrcPath.startsWith('\\\\?\\')) { + nodeSrcPath = nodeSrcPath.slice(4); + } command = new window.__TAURI__.shell.Command('node', ['--inspect', nodeSrcPath]); command.on('close', data => { window.isNodeTerminated = true;