Commit d0b3436
committed
fix: Isolate tracking failures and log failed judge evaluations
Wrap tracker.track_judge_result() in try/except inside _run_and_track
so a tracking failure (e.g., shutdown LD client) does not propagate
through the wrapper task and destroy the evaluation results that were
successfully computed. Restores the resilience of the previous
add_done_callback approach, which asyncio handled with isolation.
Also log a warning when a judge evaluation fails (r.success is False)
so failures are visible rather than silently skipped.1 parent 381cf75 commit d0b3436
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
72 | 82 | | |
73 | 83 | | |
74 | 84 | | |
| |||
0 commit comments