Commit 29dd96e
[NA] [SDK] [GHA] test: stabilize Gemini + agentic-judge integration tests (#7405)
Three related changes to stop provider-driven flakiness in the real-model
integration suites:
- Agentic LLM-judge tests: run the Anthropic lanes against claude-sonnet-4-6
instead of claude-haiku-4-5. On the agentic path (tools in the request, so
response_format is best-effort) Haiku wrapped verdicts in prose/```json
fences; Sonnet follows the structured-output contract reliably (the one-shot
suite already used Sonnet).
- GenAI + ADK test matrices: run only the oldest and newest supported Python
versions (3.10, 3.14). These suites make live Vertex AI calls against the
shared opik-sdk-tests GCP project; the full 3.10-3.14 matrix re-multiplied
those calls into 429 RESOURCE_EXHAUSTED. Endpoints cover version-specific
breakage at a fraction of the request volume; max-parallel cap kept.
- Remove the broken GenAI rate-limit retry helpers: _is_rate_limit_error
checked exception.response.status_code, which raises AttributeError on
google-genai's ClientError (no such attribute), so the retry crashed instead
of retrying. With the matrix trim as the 429 mitigation, the dead helper and
its decorators are removed rather than repaired.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 422ea07 commit 29dd96e
5 files changed
Lines changed: 23 additions & 59 deletions
File tree
- .github/workflows
- sdks/python/tests/library_integration
- genai
- metrics_with_llm_judge/agentic
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | | - | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | | - | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
Lines changed: 0 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 39 | | |
55 | 40 | | |
56 | 41 | | |
| |||
61 | 46 | | |
62 | 47 | | |
63 | 48 | | |
64 | | - | |
65 | 49 | | |
66 | 50 | | |
67 | 51 | | |
| |||
131 | 115 | | |
132 | 116 | | |
133 | 117 | | |
134 | | - | |
135 | 118 | | |
136 | 119 | | |
137 | 120 | | |
| |||
187 | 170 | | |
188 | 171 | | |
189 | 172 | | |
190 | | - | |
191 | 173 | | |
192 | 174 | | |
193 | 175 | | |
| |||
254 | 236 | | |
255 | 237 | | |
256 | 238 | | |
257 | | - | |
258 | 239 | | |
259 | 240 | | |
260 | 241 | | |
| |||
331 | 312 | | |
332 | 313 | | |
333 | 314 | | |
334 | | - | |
335 | 315 | | |
336 | 316 | | |
337 | 317 | | |
| |||
400 | 380 | | |
401 | 381 | | |
402 | 382 | | |
403 | | - | |
404 | 383 | | |
405 | 384 | | |
406 | 385 | | |
| |||
459 | 438 | | |
460 | 439 | | |
461 | 440 | | |
462 | | - | |
463 | 441 | | |
464 | 442 | | |
465 | 443 | | |
| |||
520 | 498 | | |
521 | 499 | | |
522 | 500 | | |
523 | | - | |
524 | 501 | | |
525 | 502 | | |
526 | 503 | | |
| |||
595 | 572 | | |
596 | 573 | | |
597 | 574 | | |
598 | | - | |
599 | 575 | | |
600 | 576 | | |
601 | 577 | | |
| |||
673 | 649 | | |
674 | 650 | | |
675 | 651 | | |
676 | | - | |
677 | 652 | | |
678 | 653 | | |
679 | 654 | | |
| |||
755 | 730 | | |
756 | 731 | | |
757 | 732 | | |
758 | | - | |
759 | 733 | | |
760 | 734 | | |
761 | 735 | | |
| |||
Lines changed: 0 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 59 | | |
74 | 60 | | |
75 | 61 | | |
76 | 62 | | |
77 | | - | |
78 | 63 | | |
79 | 64 | | |
80 | 65 | | |
| |||
283 | 268 | | |
284 | 269 | | |
285 | 270 | | |
286 | | - | |
287 | 271 | | |
288 | 272 | | |
289 | 273 | | |
| |||
571 | 555 | | |
572 | 556 | | |
573 | 557 | | |
574 | | - | |
575 | 558 | | |
576 | 559 | | |
577 | 560 | | |
| |||
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | | - | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | | - | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
0 commit comments