Skip to content

Commit e7d293b

Browse files
wan9chiclaude
andcommitted
test(plan): add command_item_index to windows fixture query snapshots
The `command_item_index` field was added to `ExecutionCacheKey::UserTask` for the array-shorthand work but the windows-gated fixture's `query_dev_in_subpackage.jsonc` and `query_dev_filter_from_root.jsonc` were missed (the `task_graph.jsonc` already got updated in the prior commit). CI on Windows catches it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 39ede39 commit e7d293b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

crates/vite_task_plan/tests/plan_snapshots/fixtures/windows_cmd_shim_rewrite/snapshots/query_dev_filter_from_root.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"execution_cache_key": {
5555
"UserTask": {
5656
"task_name": "dev",
57+
"command_item_index": 0,
5758
"and_item_index": 0,
5859
"extra_args": [],
5960
"package_path": "packages/foo"

crates/vite_task_plan/tests/plan_snapshots/fixtures/windows_cmd_shim_rewrite/snapshots/query_dev_in_subpackage.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"execution_cache_key": {
5555
"UserTask": {
5656
"task_name": "dev",
57+
"command_item_index": 0,
5758
"and_item_index": 0,
5859
"extra_args": [],
5960
"package_path": "packages/foo"

0 commit comments

Comments
 (0)