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

Head commit for run:
6a97b5f9ae0d66197eadd13091d86ff0aaa1f354 / Jarek Potiuk <[email protected]>
Fix DagProcessorJob integration for standalone dag-processor

The DagProcessorJob integration implemented in #28799 was not
complete. It missed a few crucial changes:

* importing DagProcessorJob in airflow/models/__init__.py - not
  importing it there caused `airflow jobs check` to fail, when
  querying DagProcessorJob in the BaseJob query, because
  the DagProcessorJob was not registered by the time the query
  was run (so polimorphic ORM model retrieval was not aware of
  DagProcessorJob model.

* airflow jobs check command did not have DagProcessorJob
  added as valid job type, so it was impossible to monitor for it

* also the processor manager did not set heartbeats periodically,
  so the Job for the DagFileProcessor was considered as not alive
  pretty quickly even if standalone dag-processor was running.

This PR fixes all three problems.

Fixes: #30251

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

With regards,
GitHub Actions via GitBox


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

Reply via email to