| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Sorry, something went wrong.
The ExecutionContext field (and the execute_spawn parameter it feeds) was named `cache_base_path` but holds the workspace root that relative paths in cache entries anchor to. Rename it to `workspace_root`, matching the value it is given (self.workspace_path) and disambiguating from the session's `cache_root`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Why
crates/vite_task had two unrelated fields both named cache_base_path, which was a trap for anyone reading across the cache code:
Same name, opposite halves of the cache machinery (where the cache lives vs. what cached paths point at).
What
This PR renames the execute one to workspace_root, naming it for the value it actually holds and disambiguating it from the cache directory. The doc comment is updated to spell out the role. All 10 references (the ExecutionContext field and the execute_spawn parameter it feeds) are renamed.
The session field was renamed to cache_root in the parent PR (#433), so after both PRs the two concepts read clearly:
Pure rename + doc tidy; no behavior change. cargo check -p vite_task passes.
🤖 Generated with Claude Code