mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-29 01:03:17 +00:00
test_batch_lifecycle[azure-provider_fallback] has failed in most scheduled e2e runs since the suite moved from 8 to 12 xdist workers. Batch create returned 404 Resource not found from Azure after a successful upload. A batch call that names a provider and no model takes its credentials from the first deployment of that provider the key may use. The test used an all-models key, so on the shared proxy that was whichever Azure deployment got registered first. With 12 workers the realtime suite starts in the same instant as the batches suite, and its session-long azure-realtime deployment carries api_version 2025-08-28. When it registers before azure-batch, the batch create goes out with that api_version and Azure answers 404. The upload still works because the file-create route overrides the borrowed credentials with files_settings. The file delete on cleanup does not, so the model_param and provider_fallback cleanups were also sent with the wrong api_version and their 404 was read as already deleted. The lifecycle key now belongs to a team that may only use the batch deployment under test, so provider-only calls resolve that deployment in any registration order. |
||
|---|---|---|
| .. | ||
| batch_cleanup.py | ||
| batch_client.py | ||
| capabilities.py | ||
| conftest.py | ||
| COVERAGE.md | ||
| test_batches_e2e.py | ||
| test_managed_files_enforcement_e2e.py | ||