Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
17c9396
feat(fspy): replace Linux LD_PRELOAD and seccomp_unotify with freesta…
wan9chi Nov 27, 2026
0adff27
fix(fspy): address CI failures and vfork slot reclamation review
wan9chi Nov 27, 2026
6dbc340
Merge branch 'fspy-linux/3-elf-loader-sigsys' into fspy-linux/4-linux…
wan9chi Nov 27, 2026
ccd3078
test(e2e): run the vitest browser case with Chromium's sandbox on
wan9chi Nov 27, 2026
07a85d6
Merge branch 'fspy-linux/3-elf-loader-sigsys' into fspy-linux/4-linux…
wan9chi Nov 27, 2026
f0cbde2
refactor(fspy_preload_linux): borrow user path strings directly and r…
wan9chi Nov 27, 2026
a187c05
Merge branch 'fspy-linux/3-elf-loader-sigsys' into fspy-linux/4-linux…
wan9chi Nov 27, 2026
74820e9
refactor(fspy): simplify exec scratch, argv copy, and launcher materi…
wan9chi Nov 27, 2026
09f80f1
Merge branch 'fspy-linux/3-elf-loader-sigsys' into fspy-linux/4-linux…
wan9chi Nov 27, 2026
21ff4b6
Merge branch 'fspy-linux/3-elf-loader-sigsys' into fspy-linux/4-linux…
wan9chi Nov 27, 2026
f624e33
fix(fspy): hand off the validated exec fd, report unresolvable paths,…
wan9chi Nov 27, 2026
978bce3
revert(fspy_preload_linux): drop the loss report for unnameable relat…
wan9chi Nov 27, 2026
dc6cabf
Merge branch 'fspy-linux/3-elf-loader-sigsys' into fspy-linux/4-linux…
wan9chi Nov 27, 2026
1533537
test(e2e): add pagefind_cache fixture covering static-PIE ELF64 binaries
wan9chi Nov 27, 2026
ed8d0e2
fix(fspy): record AT_EXECVE_CHECK path lookups and set up error pipe …
wan9chi Nov 27, 2026
14bd0ec
test(fspy): keep `sh` basename in long-shebang test for BusyBox /bin/sh
wan9chi Nov 27, 2026
93c4868
ci: install Bun runtime binary in Test (musl)
wan9chi Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
# --locked: verify Cargo.lock is up to date (replaces the removed `cargo check --locked`)
- run: cargo clippy --locked --all-targets --all-features -- -D warnings
- run: |
cargo clippy --locked -p fspy_elf_loader -p fspy_elf_loader_test_launcher --target x86_64-unknown-none -- -D warnings
cargo clippy --locked -p fspy_elf_loader -p fspy_elf_loader_test_launcher --target aarch64-unknown-none-softfloat -- -D warnings
cargo clippy --locked -p fspy_elf_loader -p fspy_elf_loader_test_launcher -p fspy_preload_linux --target x86_64-unknown-none -- -D warnings
cargo clippy --locked -p fspy_elf_loader -p fspy_elf_loader_test_launcher -p fspy_preload_linux --target aarch64-unknown-none-softfloat -- -D warnings

# fspy builds only on Windows, macOS, and Linux, but vp must still build
# without it on other platforms. Cross-building `vt_bin` for FreeBSD catches
Expand Down Expand Up @@ -390,6 +390,11 @@ jobs:

- uses: oxc-project/setup-node@f46a72f95efdc55273fcd042d61c84e723b2892c # v1.4.1

# Run only Bun's postinstall on musl (`deno` and `workerd` do not ship
# musl binaries and their tests are filtered out on `target_env = "musl"`).
- name: Install Bun runtime binary
run: pnpm --filter vite-task-tools rebuild bun

- name: Run ignored tests
run: cargo test -- --ignored

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Changelog

- **Changed** On Linux, automatic file-access tracking now uses an in-process ELF launcher and `SIGSYS` syscall tracker instead of `LD_PRELOAD` and `seccomp_unotify`, unifying tracking across glibc, musl, static binaries, and direct-syscall runtimes such as Bun. Tracked Linux processes run with `no_new_privs`, fall back from `io_uring` to standard filesystem syscalls, and require native ELF64 executables ([#1026](https://github.com/voidzero-dev/vite-task/pull/1026), [#1027](https://github.com/voidzero-dev/vite-task/pull/1027), [#1028](https://github.com/voidzero-dev/vite-task/pull/1028), [#1029](https://github.com/voidzero-dev/vite-task/pull/1029)).
- **Fixed** Remote cache operations now cap concurrent uploads to 4 per endpoint, use pooled HTTP/1.1 connections instead of multiplexing all reads and uploads over one HTTP/2 connection, retry transient `5xx`/`429`/`408` and network failures with jittered backoff, and back off briefly during sustained endpoint outages, preventing `503` upload bursts and Windows connection-reset drops ([#1016](https://github.com/voidzero-dev/vite-task/pull/1016)).
- **Fixed** Tasks that list `node_modules`, the workspace root, or `node_modules/.vite` no longer miss the cache when pnpm's `node_modules/.pnpm-workspace-state-*.json`, Vite's `node_modules/.vite-temp`, the workspace root's `.git`, or the task cache directory appear or disappear. Direct accesses to `node_modules/.vite-temp` and `.DS_Store` are now skipped as well, so they are neither tracked as inputs nor archived as outputs ([#1014](https://github.com/voidzero-dev/vite-task/pull/1014)).
- **Fixed** When a command handler sets a working directory for a command it generates, `vp run` now runs that command in the selected directory and includes the directory in its cache fingerprint ([#1005](https://github.com/voidzero-dev/vite-task/pull/1005)).
Expand Down
109 changes: 26 additions & 83 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 3 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ allocator-api2 = { version = "0.2", default-features = false }
anstream = "1.0.0"
anyhow = "1.0.103"
assert2 = "0.4.0"
assertables = "10.0.0"
async-trait = "0.1.89"
base64 = "0.22.1"
base64 = { version = "0.22.1", default-features = false }
bytes = "1.11.1"
url = "2.5.8"
wincode = { version = "0.6.0", default-features = false, features = ["alloc"] }
Expand Down Expand Up @@ -80,11 +79,9 @@ flate2 = "1.0.35"
fspy = { path = "crates/fspy" }
fspy_benchmark_launcher = { path = "crates/fspy_benchmark_launcher", artifact = "bin" }
fspy_benchmark_target = { path = "crates/fspy_benchmark_target", artifact = "bin" }
fspy_client_unix = { path = "crates/fspy_client_unix" }
fspy_detours_sys = { path = "crates/fspy_detours_sys" }
fspy_preload_unix = { path = "crates/fspy_preload_unix", artifact = "cdylib" }
fspy_preload_macos = { path = "crates/fspy_preload_macos", artifact = "cdylib" }
fspy_preload_windows = { path = "crates/fspy_preload_windows", artifact = "cdylib" }
fspy_seccomp_unotify = { path = "crates/fspy_seccomp_unotify" }
fspy_shm = { path = "crates/fspy_shm" }
fspy_shared = { path = "crates/fspy_shared" }
fspy_shared_unix = { path = "crates/fspy_shared_unix" }
Expand All @@ -93,12 +90,10 @@ futures-util = "0.3.31"
globset = "0.4.18"
getrandom = "0.4.2"
hashbrown = { version = "0.16.1", default-features = false, features = ["inline-more"] }
itoa = "1.0.17"
jsonc-parser = "0.32.0"
libc = "0.2.185"
linux-raw-sys = { version = "0.12", default-features = false }
libtest-mimic = "0.8.2"
memmap2 = "0.9.11"
monostate = "1.0.2"
napi = "3"
napi-build = "2"
Expand All @@ -111,7 +106,6 @@ once_cell = "1.19"
os_str_bytes = "7.1.1"
ouroboros = "0.18.5"
owo-colors = "4.1.0"
passfd = { git = "https://github.com/polachok/passfd", rev = "d55881752c16aced1a49a75f9c428d38d3767213", default-features = false }
notify = "8.0.0"
path-clean = "1.0.1"
pathdiff = "0.2.3"
Expand All @@ -130,8 +124,6 @@ rusqlite = "0.41.0"
rustc-hash = "2.1.1"
rustls = { version = "0.23.44", default-features = false }
schemars = "1.2.3"
# SeccompAction::UserNotif (SECCOMP_RET_USER_NOTIF) was added after the latest published release (v0.5.0)
seccompiler = { git = "https://github.com/rust-vmm/seccompiler", rev = "08587106340b8e3cb361c7561411510039436857" }
serde = "1.0.219"
serde-untagged = "0.1.9"
serde_bytes = "0.11.19"
Expand Down Expand Up @@ -204,7 +196,7 @@ zstd = "0.14"
[workspace.metadata.cargo-shear]
ignored = [
# These are artifact dependencies. They are not directly `use`d in Rust code.
"fspy_preload_unix",
"fspy_preload_macos",
"fspy_preload_windows",
"vt_client_napi",
]
Expand Down
Loading
Loading