The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix-batch-executor-test-hostname has succeeded.
Run started by GitHub user seanghaeli (triggered by seanghaeli).

Head commit for run:
ccb338339fdf9ef48357a16beaa4554d32677577 / Sean Ghaeli <[email protected]>
Fix AwsBatchExecutor test_try_adopt_task_instances after TaskInstanceDTO 
hostname requirement

#68027 routes orphaned-task adoption through TaskInstanceDTO.model_validate,
and TaskInstanceDTO inherits a required hostname: str field from the SDK
TaskInstance. The test's mock.Mock(spec=TaskInstance) never set .hostname,
so model_validate received a Mock and raised a pydantic string_type
ValidationError. This fails on main today (Non-DB / LowestDeps / LatestBoto /
Pendulum2 provider jobs).

Set task.hostname on the orphaned-task mocks so the DTO validates.

Verified locally: 1 passed.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to