vincbeck commented on code in PR #73561:
URL: https://github.com/apache/airflow/pull/73561#discussion_r4086477358
##########
airflow-core/src/airflow/api/common/airflow_health.py:
##########
@@ -168,7 +168,12 @@ def _triggerer_detailed_status(jobs: list[Job]) ->
DetailedHealthStatus:
if not expected:
return _liveness_status(jobs)
- return _coverage_status(expected, {job.team_name for job in jobs if
job.is_alive()})
+ covered: set[str | None] = set()
+ for job in jobs:
+ if job.is_alive():
+ # An unscoped triggerer serves exactly the team-less scope, which
``expected`` spells ``None``.
Review Comment:
Dont you talk AI? Kidding, I agree, this is not clear at all
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]