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
fix(plan): use task's cwd for synthetic requests instead of context cwd (#90)
# Lazy Cache Initialization and Improved Subpackage Task Execution
This PR makes two key improvements:
1. Adds lazy initialization of the SQLite cache to prevent race conditions when multiple processes start simultaneously. The cache is now created only when first accessed, using a file lock to ensure thread safety.
2. Fixes synthetic command execution in subpackages by ensuring commands use the task's resolved working directory rather than the original invocation context. This ensures tools like oxlint run in the correct package directory when invoked through a synthetic command.
Additional changes:
- Switched from `DiGraph` to `StableGraph` to preserve node indices during removal
- Added test fixtures for synthetic commands in subpackages
- Improved documentation for CLI argument handling
- Added `custom_subcommand()` method to inspect custom subcommands before session creation
0 commit comments