The GitHub Actions job "Tests (AMD)" on airflow.git/fix/validate-port-0-65535 
has failed.
Run started by GitHub user haroldfabla2-hue (triggered by potiuk).

Head commit for run:
1df0625886d89258d3ccb81ff5defa9a6a17533e / haroldfabla2-hue 
<[email protected]>
fix: Add port validation (0-65535) for Airflow connections

This PR adds validation to ensure that the `port` field in Airflow
connections is a valid TCP/UDP port number (0-65535).

Previously, users could create connections with invalid port values
like -1, 99999999, or any other integer outside the valid range,
and Airflow would accept and persist them without complaint.

This validation is now enforced at multiple layers:
- Core connection model (airflow.models.connection)
- Task SDK connection definition (airflow.sdk.definitions.connection)
- API execution API datamodels 
(api_fastapi/execution_api/datamodels/connection.py)

For the REST API, the validation is handled by Pydantic's field_validator.

Closes #68382

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

With regards,
GitHub Actions via GitBox


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

Reply via email to