Commit a733f7b
feat: runner-aware tools
Set up an IPC channel between vite-task and the processes it spawns,
so the spawned tools can declare at runtime what they actually read,
wrote, or cared about, and vite-task uses that to decide what to
fingerprint in the cache.
Squashes the PR's commit history onto current `origin/main` after
the previous merge history (multiple merges with main as it evolved)
made a true commit-by-commit rebase impractical (heavy conflicts on
older commits like `30a97a2e` against main's parallel evolution of
the same fixtures).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5833b37 commit a733f7b
187 files changed
Lines changed: 5910 additions & 572 deletions
File tree
- .github/workflows
- crates
- fspy
- native_str/src
- vite_task_bin
- src/vtt
- tests/e2e_snapshots
- fixtures
- input_cache_test/snapshots
- ipc_client_test
- scripts
- snapshots
- vite_build_cache
- snapshots
- src
- vite_dev_disable_cache
- snapshots
- vite_task_client_napi
- src
- vite_task_client
- src
- vite_task_graph
- src/config
- vite_task_plan
- src
- tests/plan_snapshots/fixtures
- additional_env/snapshots
- cache_cli_override/snapshots
- cache_keys/snapshots
- cache_scripts_default/snapshots
- cache_scripts_enabled/snapshots
- cache_scripts_task_override/snapshots
- cache_sharing/snapshots
- cache_subcommand/snapshots
- cache_tasks_disabled/snapshots
- cache_true_no_force_enable/snapshots
- cd_in_scripts/snapshots
- comprehensive_task_graph/snapshots
- conflict_test/snapshots
- cycle_dependency/snapshots
- dependency_both_topo_and_explicit/snapshots
- duplicate_package_names/snapshots
- empty_package_test/snapshots
- explicit_deps_workspace/snapshots
- extra_args_not_forwarded_to_depends_on/snapshots
- filter_workspace/snapshots
- input_trailing_slash/snapshots
- input_workspace_base/snapshots
- nested_cache_override/snapshots
- nested_tasks/snapshots
- package_self_dependency/snapshots
- parallel_and_concurrency/snapshots
- pnpm_workspace_packages_optional/snapshots
- recursive_topological_workspace/snapshots
- script_hooks_disabled/snapshots
- script_hooks_nested_run/snapshots
- script_hooks_task_no_hook/snapshots
- script_hooks/snapshots
- shell_fallback/snapshots
- synthetic_cache_disabled/snapshots
- synthetic_in_subpackage/snapshots
- task_command_shorthands/snapshots
- transitive_skip_intermediate/snapshots
- vpr_shorthand/snapshots
- windows_cmd_shim_rewrite/snapshots
- workspace_root_cd_no_skip/snapshots
- workspace_root_depends_on_passthrough/snapshots
- workspace_root_multi_command/snapshots
- workspace_root_mutual_recursion/snapshots
- workspace_root_no_package_json/snapshots
- workspace_root_self_reference/snapshots
- vite_task_server
- src
- tests
- vite_task
- docs
- src
- session
- cache
- execute
- reporter
- docs
- runner-task-ipc
- packages
- tools
- vite-task-client
- playground
- packages
- app
- src
- lib
- src
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
278 | 283 | | |
279 | 284 | | |
280 | 285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
24 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
151 | 155 | | |
152 | 156 | | |
153 | 157 | | |
| |||
0 commit comments