The GitHub Actions job "Tests" on airflow.git/api-status-code has succeeded. Run started by GitHub user kaxil (triggered by kaxil).
Head commit for run: 5498954c04b91f9382902c770b33bf1c5cb28dd8 / Kaxil Naik <[email protected]> Correct status code validation in `ServerResponseError.from_response` The original condition `if 400 < (response.status_code // 100) >= 600` was logically incorrect and would never evaluate to True. This meant the method would never return `None` for status codes outside the 4xx/5xx range, which is the intended behavior. The fix changes the condition to properly handle status codes: - Returns None for status codes < 400 and >= 600 - Creates ServerResponseError for 4xx/5xx status codes Report URL: https://github.com/apache/airflow/actions/runs/14200871083 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
