-
Notifications
You must be signed in to change notification settings - Fork 22
[Worktree] Simplify optimization patch's path #852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
| logger.exception(f"Failed to remove worktree: {worktree_dir}") | ||
|
|
||
|
|
||
| @lru_cache(maxsize=1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What benefit we were having with 1 object in cache?
PR Type
Enhancement
Description
Simplify patch storage path usage
Remove project-scoped patch directories
Drop cached project ID utilities
Minor typing and import cleanup
Diagram Walkthrough
File Walkthrough
git_worktree_utils.py
Simplify patch path logic and cleanupcodeflash/code_utils/git_worktree_utils.py
patches_dir