Skip to content

fix(vite): cover the fail-open fallback on Linux before Node 20 #65

fix(vite): cover the fail-open fallback on Linux before Node 20

fix(vite): cover the fail-open fallback on Linux before Node 20 #65

Triggered via push August 3, 2026 15:58
Status Failure
Total duration 14m 17s
Artifacts

ci.yml

on: push
Matrix: test
Lint
31s
Lint
freebsd-x64 / node 22
13m 49s
freebsd-x64 / node 22
Bundler compatibility (vite@7, Rspack, Astro)
1m 12s
Bundler compatibility (vite@7, Rspack, Astro)
linux-x64-musl
4m 51s
linux-x64-musl
Sanitizers (ASan + UBSan)
39s
Sanitizers (ASan + UBSan)
JS fallback (no native binary)
51s
JS fallback (no native binary)
JS fallback (recursive watch strategy)
1m 8s
JS fallback (recursive watch strategy)
Minimum supported Rust version
1m 1s
Minimum supported Rust version
Dependency audit
3m 7s
Dependency audit
CI passed
5s
CI passed
Fit to window
Zoom out
Zoom in

Annotations

17 errors
linux-x64-musl
Process completed with exit code 101.
macos-arm64 / node 22
Process completed with exit code 1.
test/queue.test.mjs > bounded queue under real filesystem pressure > drops and signals a rescan when nothing is polling: src/bindings/nodejs/test/helpers/tmp.js#L60
Error: waitFor timed out after 5000ms: the watcher never delivered a first event (last=false) ❯ waitFor test/helpers/tmp.js:60:13 ❯ test/queue.test.mjs:127:7
windows-x64 / node 22
Process completed with exit code 1.
test/astro.test.mjs > astro dev server > suppresses a byte-identical rewrite the same way the plain Vite plugin does: src/bindings/nodejs/test/helpers/tmp.js#L60
Error: waitFor timed out after 15000ms: the priming edit reached server.watcher (last=false) ❯ waitFor test/helpers/tmp.js:60:13 ❯ test/astro.test.mjs:108:5
test/chokidar-adapter.test.mjs > chokidar adapter: options > still fires change for a no-op rewrite when contentHashing is off: src/bindings/nodejs/test/helpers/tmp.js#L60
Error: waitFor timed out after 5000ms: first edit missed (last=false) ❯ waitFor test/helpers/tmp.js:60:13 ❯ test/chokidar-adapter.test.mjs:172:5
test/chokidar-adapter.test.mjs > chokidar adapter: options > suppresses change for a rewrite with identical bytes (contentHashing): src/bindings/nodejs/test/helpers/tmp.js#L60
Error: waitFor timed out after 5000ms: first edit missed (last=false) ❯ waitFor test/helpers/tmp.js:60:13 ❯ test/chokidar-adapter.test.mjs:154:5
test/chokidar-adapter.test.mjs > chokidar adapter: options > resolves relative add() paths against cwd: src/bindings/nodejs/test/helpers/tmp.js#L60
Error: waitFor timed out after 5000ms: relative root never resolved (last=false) ❯ waitFor test/helpers/tmp.js:60:13 ❯ test/chokidar-adapter.test.mjs:142:5
test/chokidar-adapter.test.mjs > chokidar adapter: options > respects a predicate in ignored: src/bindings/nodejs/test/helpers/tmp.js#L60
Error: waitFor timed out after 5000ms: kept file missed (last=false) ❯ waitFor test/helpers/tmp.js:60:13 ❯ test/chokidar-adapter.test.mjs:129:5
test/chokidar-adapter.test.mjs > chokidar adapter: options > respects a glob in ignored: src/bindings/nodejs/test/helpers/tmp.js#L60
Error: waitFor timed out after 5000ms: kept file missed (last=false) ❯ waitFor test/helpers/tmp.js:60:13 ❯ test/chokidar-adapter.test.mjs:115:5
test/chokidar-adapter.test.mjs > chokidar adapter: basic shape > reports a live add/change/unlink cycle: src/bindings/nodejs/test/helpers/tmp.js#L60
Error: waitFor timed out after 5000ms: no add (last=false) ❯ waitFor test/helpers/tmp.js:60:13 ❯ test/chokidar-adapter.test.mjs:97:5
test/chokidar-adapter.test.mjs > chokidar adapter: basic shape > is already watching once watch() returns -- no separate start(): src/bindings/nodejs/test/helpers/tmp.js#L60
Error: waitFor timed out after 5000ms: no add event without an explicit start() (last=false) ❯ waitFor test/helpers/tmp.js:60:13 ❯ test/chokidar-adapter.test.mjs:41:5
test/astro.test.mjs > astro dev server > tears down cleanly when Astro stops its dev server: src/bindings/nodejs/test/astro.test.mjs#L61
Error: Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-lock.json and node_modules directory. ❯ node_modules/@astrojs/compiler-binding/index.js:575:11 ❯ test/astro.test.mjs:61:21 Caused by: Error: Cannot find module '@astrojs/compiler-binding-freebsd-x64' Require stack: - /home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js ❯ requireNative node_modules/@astrojs/compiler-binding/index.js:239:25 ❯ node_modules/@astrojs/compiler-binding/index.js:530:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js' ] } Caused by: Error: Cannot find module './astro.freebsd-x64.node' Require stack: - /home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js ❯ requireNative node_modules/@astrojs/compiler-binding/index.js:234:16 ❯ node_modules/@astrojs/compiler-binding/index.js:530:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js' ] }
test/astro.test.mjs > astro dev server > suppresses a byte-identical rewrite the same way the plain Vite plugin does: src/bindings/nodejs/test/astro.test.mjs#L61
Error: Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-lock.json and node_modules directory. ❯ node_modules/@astrojs/compiler-binding/index.js:575:11 ❯ test/astro.test.mjs:61:21 Caused by: Error: Cannot find module '@astrojs/compiler-binding-freebsd-x64' Require stack: - /home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js ❯ requireNative node_modules/@astrojs/compiler-binding/index.js:239:25 ❯ node_modules/@astrojs/compiler-binding/index.js:530:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js' ] } Caused by: Error: Cannot find module './astro.freebsd-x64.node' Require stack: - /home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js ❯ requireNative node_modules/@astrojs/compiler-binding/index.js:234:16 ❯ node_modules/@astrojs/compiler-binding/index.js:530:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js' ] }
test/astro.test.mjs > astro dev server > watches through Astro’s Vite layer and detects a real edit: src/bindings/nodejs/test/astro.test.mjs#L61
Error: Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-lock.json and node_modules directory. ❯ node_modules/@astrojs/compiler-binding/index.js:575:11 ❯ test/astro.test.mjs:61:21 Caused by: Caused by: Error: Cannot find module '@astrojs/compiler-binding-freebsd-x64' Require stack: - /home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js ❯ requireNative node_modules/@astrojs/compiler-binding/index.js:239:25 ❯ node_modules/@astrojs/compiler-binding/index.js:530:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js' ] } Caused by: Caused by: Error: Cannot find module './astro.freebsd-x64.node' Require stack: - /home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js ❯ requireNative node_modules/@astrojs/compiler-binding/index.js:234:16 ❯ node_modules/@astrojs/compiler-binding/index.js:530:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/Retrigger/Retrigger/src/bindings/nodejs/node_modules/@astrojs/compiler-binding/index.js' ] }
CI passed
Process completed with exit code 1.