Repository navigation
Commit ccf20b9
fix(server): scheduled task updates keep the saved workspace unless the binding flips
Updating a scheduled task over MCP with bindToCurrentThread recomputed its
workspace strategy even when the binding did not change, so passing false on an
already-unbound task reset a user's "Use the project checkout" choice to a new
worktree. The strategy is now recomputed only when the task moves between bound
and unbound; unbinding a bound task still switches it to a worktree.
Fixes #32491
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent d7f86e9 commit ccf20b9
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2099 | 2099 | | |
2100 | 2100 | | |
2101 | 2101 | | |
2102 | | - | |
| 2102 | + | |
2103 | 2103 | | |
2104 | | - | |
| 2104 | + | |
2105 | 2105 | | |
2106 | | - | |
| 2106 | + | |
2107 | 2107 | | |
2108 | 2108 | | |
2109 | 2109 | | |
| |||
0 commit comments