Commit e56f69a
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 e56f69a
1 file changed
Lines changed: 7 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 | + | |
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
| |||
0 commit comments