You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaces the previous PR's placeholder with the real
`vite_task_server::serve(...)` call: per-task IPC server, napi
addon embedded into the runner binary and materialized to disk on
first use, `VP_RUN_NODE_CLIENT_PATH` injected into the child so the
JS wrapper can `require()` it.
Cache integration: `Reports` collected from the IPC drive
`PostRunFingerprint` and the cache-update path —
- `ignore_input` reads → excluded from input fingerprint
- `ignore_output` writes → excluded from output archive
- `tracked_envs` (single name) + `tracked_env_globs` → folded into
the post-run fingerprint so a value change misses the cache
- `disable_cache` → skips the cache-update path entirely
(`ToolRequested`)
- IPC server bind/runtime failure → `IpcServerError` cache disable
End-to-end coverage via the `ipc_client_test` fixture set: one
fixture per API method, each exercising the real Rust ↔ JS path and
asserting the right cache behaviour. Adds `vtt` (test-only)
helpers `grep_file` and `stat_file` that the fixtures need.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments