vatsrahul1001 opened a new pull request, #77686:
URL: https://github.com/apache/airflow/pull/77686

   [triggerer] triggerer_health_check_threshold is documented as a float,
   and the health check behind /health and `airflow jobs check` reads it
   as one. The triggerer module parsed it as an integer at import time, so
   a schema-valid value such as 30.5 raised a config error in every
   process importing that module: the triggerer could not start, and the
   public API routes, which import it through the health check module,
   could not be loaded either.
   
   Reading it as a float lets those processes start with any value the
   config schema allows, and keeps the heartbeat window the triggerer uses
   to decide which triggerers are alive (and whose triggers to take over)
   identical to the one the health check uses.
   
   Co-authored-by: Przemysław Mirowski 
<[email protected]>
   (cherry picked from commit 160c2a42bc0323102f28e42ec08d748637eb4422)
   
   Co-authored-by: Hussein Awala <[email protected]>
   
   ---
   
   The automatic backport failed on a conflict in 
`airflow-core/tests/unit/jobs/test_triggerer_job.py`, so this was cherry-picked 
manually (`-x`). The `triggerer_job_runner.py` change applied cleanly.
   
   **Conflict resolution (imports only):** kept only `import importlib.util`, 
which the new test uses. Dropped the `import errno` context line that `main` 
has but `v3-4-test` does not.
   
   **Verified locally:** `test_triggerer_job.py` 133 passed (baseline 132, +1 
new test); the only 9 errors are the pre-existing local `No module named 
'airflow_shared'` on an unmodified `v3-4-test`.
   
   Backport of #76211.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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]

Reply via email to