The GitHub Actions job "Tests" on airflow.git has failed. Run started by GitHub user uranusjr (triggered by uranusjr).
Head commit for run: bdac9aa915c908b1ff544b43959e2736f5c735b7 / Tzu-ping Chung <[email protected]> Add custom pickling hooks to LazyXComAccess Previously the implementation pickles a SQLAlchemy Session inside the object, but this causes some weird object identity issues. According to the best information source known to human, i.e. random people on the Internet, this is caused by subtle import statement discrepencies, and we should find and fix the offending import statements.[1] But I hope we can agree it’s not practical to review all Session imports in the Airflow code base. As an alternative, I tried to fix this by not attempting to pickle any SQLAlchemy objects at all. Unfortunately SQLAlchemy does not really provide a good way to extract information from a Query object (most things are private), so the most barely reasonable way to approach this is to serialize the query into a SQL string, and rebuild a different query from that string to unpickle. Yet another unfortunate consequence of this is it's impossible to use count() against such a Query (I don’t know why, SQLAlchemy just crashes with a very unhelpful exception), so we calculate that part eagerly. [1]: https://stackoverflow.com/questions/1412787 Report URL: https://github.com/apache/airflow/actions/runs/3639306732 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
