Commit 1075f2d
feat: add WorkloadExecuting status to evaluation runs
Create eval runs with WorkloadExecuting status (4) instead of
IN_PROGRESS (1) to distinguish agent execution from evaluation/scoring.
After agent execution completes, transition to IN_PROGRESS before
running evaluators.
- Add WORKLOAD_EXECUTING=4 to EvaluationStatus enum
- Add AGENT_EXECUTION_COMPLETED event and AgentExecutionCompletedEvent model
- Create eval runs with WorkloadExecuting status in _create_eval_run_spec
- Publish AGENT_EXECUTION_COMPLETED after agent finishes in _execute_eval
- Handle event in StudioWebProgressReporter to update status to IN_PROGRESS
Flow: WorkloadExecuting (agent runs) → Running (evaluators run) → Completed/Failed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 048dafc commit 1075f2d
3 files changed
Lines changed: 72 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
725 | 727 | | |
726 | 728 | | |
727 | 729 | | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
728 | 778 | | |
729 | 779 | | |
730 | 780 | | |
| |||
827 | 877 | | |
828 | 878 | | |
829 | 879 | | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
830 | 884 | | |
831 | 885 | | |
832 | 886 | | |
| |||
1234 | 1288 | | |
1235 | 1289 | | |
1236 | 1290 | | |
1237 | | - | |
| 1291 | + | |
1238 | 1292 | | |
1239 | 1293 | | |
1240 | 1294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
83 | 90 | | |
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
87 | 94 | | |
| 95 | + | |
88 | 96 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
536 | 537 | | |
537 | 538 | | |
538 | 539 | | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
539 | 548 | | |
540 | 549 | | |
541 | 550 | | |
| |||
0 commit comments