Commit 189c30d
fix: surface terminal failure log when AI suggests no changes
When the LLM returned zero tool calls for a manual task, the UI hung
on the agent's generic "Analysis complete" message while the DB job
row quietly transitioned to failed. No socket event fired into the
job room, no issue comment was posted (manual tasks have no issue),
and the user had nothing to act on.
- groq_service: tell the truth in the activity log when file_changes
is empty ("no code changes suggested"), instead of the optimistic
fallback
- pr_service: insert a role=system, type=terminal job_log row on the
no-changes failure path so the job room receives a real message
and the UI can render a clear failure state
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 801e891 commit 189c30d
2 files changed
Lines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
345 | 352 | | |
346 | 353 | | |
347 | 354 | | |
348 | 355 | | |
349 | | - | |
| 356 | + | |
350 | 357 | | |
351 | 358 | | |
352 | 359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
214 | | - | |
| 215 | + | |
215 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
216 | 231 | | |
217 | 232 | | |
218 | 233 | | |
| |||
0 commit comments