The GitHub Actions job "Tests" on airflow.git/fix/supervisor-comms-import-error has failed. Run started by GitHub user andreahlert (triggered by andreahlert).
Head commit for run: 0804ece825a51072948e5fe134c40abec576ea3d / André Ahlert <[email protected]> Fix ImportError when importing SUPERVISOR_COMMS outside task context SUPERVISOR_COMMS was declared as a bare type annotation without assignment, which does not create an actual module attribute in Python. This caused ImportError when Variable.get() was called at the top level of a DAG file (outside task execution context), such as during dag.test(). Initialize SUPERVISOR_COMMS to None so the import always succeeds, add None guards before .send() calls in _set_variable, _delete_variable, and ExecutionAPISecretsBackend methods, and provide helpful error messages suggesting alternatives like environment variables or Jinja templates. Closes: #51816 Report URL: https://github.com/apache/airflow/actions/runs/21796746335 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
