suyua9 opened a new pull request, #70177:
URL: https://github.com/apache/airflow/pull/70177

   ## What changed
   
   Fail fast when deferred Anthropic batch polling receives a known permanent 
API error (non-rate-limit 4xx), instead of retrying until the transient-failure 
limit.
   
   Retries remain unchanged for rate limits, server errors, network failures, 
and unknown exceptions.
   
   ## Tests
   
   - `uv run --package apache-airflow-providers-anthropic pytest 
providers/anthropic/tests/unit/anthropic/triggers/test_batch.py -q`
   - `ruff check` on the changed source and test files


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to