The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user ashb (triggered by ashb).

Head commit for run:
bfd88fbede0fb54f7bd12bcfbf3a6aa532be0036 / Ash Berlin-Taylor <[email protected]>
Improve subclassing of TaskSDK's WatchedSubprocess

When I added the DagFileProcessorProcess I did some naughty things with
subclassing and lying to the type checker, and this is now stopping us easily
adding DAG bundles (because as it is structured right now we would have to
change both parsing and execution at the same time, or make the type checker
_even more unhappy_.)

This more correctly separates the two classes -- essentially anything that
used `self.client` couldn't have been called from a DagFileProcessorProcess
(as client was always None for those instances).

This PR fixes it by adding a new `ActivitySubprocess` which is the type used
at Execution time (the one that always has the client) and the base behaviour
kept in WatchedSubprocess.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to