Commit 04c4ff7
committed
fix: handle checkpoint initialization failure gracefully for nested git repos
- Properly reset checkpointServiceInitializing flag when init fails
- Allow task to continue without checkpoints when nested git repos detected
- Show user-friendly warning message instead of blocking task
- Update checkpoint warning display logic to handle cancelled tasks
- Ensure task messages are preserved even when checkpoint init fails
Fixes #77651 parent 4e5e3ed commit 04c4ff7
File tree
3 files changed
+24
-5
lines changed- src/core
- checkpoints
- task
- webview-ui/src/components/chat
3 files changed
+24
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
171 | 182 | | |
172 | 183 | | |
173 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1661 | 1661 | | |
1662 | 1662 | | |
1663 | 1663 | | |
1664 | | - | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
1665 | 1669 | | |
1666 | 1670 | | |
1667 | 1671 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1412 | 1412 | | |
1413 | 1413 | | |
1414 | 1414 | | |
| 1415 | + | |
1415 | 1416 | | |
1416 | 1417 | | |
1417 | | - | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
1418 | 1422 | | |
1419 | 1423 | | |
1420 | 1424 | | |
| |||
1423 | 1427 | | |
1424 | 1428 | | |
1425 | 1429 | | |
1426 | | - | |
| 1430 | + | |
1427 | 1431 | | |
1428 | | - | |
| 1432 | + | |
1429 | 1433 | | |
1430 | 1434 | | |
1431 | | - | |
| 1435 | + | |
1432 | 1436 | | |
1433 | 1437 | | |
1434 | 1438 | | |
| |||
0 commit comments