Repository navigation
Commit 4a2e675
committed
fix(webview): post condenseTaskContextResponse on condense failure
What: the condenseTaskContextRequest catch now also posts
{type: 'condenseTaskContextResponse', text: taskId} after logging and
showing the error.
Why: ClineProvider.condenseTaskContext throws before its success-only
response post when taskRegistry.getById finds no task (request racing
task removal), and task.condenseContext failures reject the same way.
ChatView only clears isCondensing/sendingDisabled from the response
message, so the stuck state persisted (CodeRabbit 4172972739).
Impact: failure responses carry the same shape as the success path, so
the webview state always settles. Pin: rejection now asserts the
response post alongside the log and the visible error.1 parent ebd2c53 commit 4a2e675
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2337 | 2337 | | |
2338 | 2338 | | |
2339 | 2339 | | |
2340 | | - | |
2341 | | - | |
| 2340 | + | |
| 2341 | + | |
2342 | 2342 | | |
2343 | 2343 | | |
2344 | 2344 | | |
| |||
2349 | 2349 | | |
2350 | 2350 | | |
2351 | 2351 | | |
2352 | | - | |
| 2352 | + | |
2353 | 2353 | | |
2354 | 2354 | | |
| 2355 | + | |
| 2356 | + | |
| 2357 | + | |
| 2358 | + | |
| 2359 | + | |
| 2360 | + | |
2355 | 2361 | | |
2356 | 2362 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
927 | 927 | | |
928 | 928 | | |
929 | 929 | | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
930 | 935 | | |
931 | 936 | | |
932 | 937 | | |
| |||
0 commit comments