The GitHub Actions job "Tests" on airflow.git has succeeded. Run started by GitHub user dstandish (triggered by dstandish).
Head commit for run: c9585c56e28e353880636d969f6d93081b95e3be / Daniel Standish <[email protected]> Remove select_column option in TaskInstance.get_task_instance Fundamentally what's going on here is we need a TaskInstance object instead of a Row object when sending over the wire in RPC call. But the full story on this one is actually somewhat complicated. It was back in 2.2.0 in #25312 when we converted to query with the column attrs instead of the TI object (#28900 only refactored this logic into a function). The reason was to avoid locking the dag_run table since TI newly had a dag_run relationship attr. Now, this causes a problem with AIP-44 because the RPC api does not know how to serialize a Row object. This PR switches back to querying a TaskInstance object, but avoids locking dag_run by using lazy_load option. Meanwhile, since try_number is a horrible attribute (which gives you a different answer depending on the state), we have to switch it back to look at the underlying private attr instead of the public accesor. Report URL: https://github.com/apache/airflow/actions/runs/8492407350 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
