Commit 6218d38
feat(jobs): log per-job diagnostic on stalled-job revoke
When the reaper revokes a job, log a single WARN line capturing the
state needed to triage "why was this stalled?" without grepping back
through prior tick logs:
- minutes since last update vs threshold
- previous_status, dispatch_mode, celery_state
- per-stage progress + status summary
- pointer to running_job_snapshots for prior NATS consumer state
Pairs with PR #1227's per-tick consumer snapshots: every 15 min, each
running async_api job gets a NATS state snapshot; this new line tells
operators which of those snapshots is the last one before revocation.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent f470bc6 commit 6218d38
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
457 | 474 | | |
458 | 475 | | |
459 | 476 | | |
| |||
0 commit comments