The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/structure-data-malformed-asset-expression has failed.
Run started by GitHub user dkranchii (triggered by dkranchii).

Head commit for run:
e299be40d00ff8c3c970ab442fd42fbe05dffd1c / Deepak Kumar <[email protected]>
Use 400 BAD_REQUEST for malformed asset_expression per review feedback

Per @jason810496 review feedback on #67489: the malformed asset_expression
ultimately originates from user-authored Dag code (via the Task SDK), so the
appropriate response is 400 BAD_REQUEST rather than 500 INTERNAL_SERVER_ERROR.

- Change status code from 500 to 400 in structure_data.
- Add HTTP_400_BAD_REQUEST to create_openapi_http_exception_doc so the OpenAPI
  spec advertises the new error response.
- Update regression test to assert 400 and rename accordingly.

Detail message is unchanged per reviewer: "It's fine to add more context".

Report URL: https://github.com/apache/airflow/actions/runs/26559637165

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to