The GitHub Actions job "Tests" on airflow.git/no-hearbeat-overtime has 
succeeded.
Run started by GitHub user ashb (triggered by ashb).

Head commit for run:
aad23ba5b6bc4b6e1a29c1acf432a1a718404f9d / Ash Berlin-Taylor <[email protected]>
Don't send heartbeats for a task once it is in "overtime".

Overtime is the period after the task has reached a terminal state (success,
failed, deferred, up_for_rety etc.) and the state has been reported to the API
server -- this time is often when the configured listeners (OpenLineage for
example) run.

An example of the logs that showed this going wrong.

```
[2025-04-09T15:01:03.284+0000] {task_instances.py:398} INFO - TI 
01961b10-b167-787d-af59-2d67f4e19652 state updated to success: 1 row(s) affected
[2025-04-09T15:01:03.287+0000] INFO: 172.21.132.60:55526 - "PATCH 
/d9w1fb4h/execution/task-instances/01961b10-b167-787d-af59-2d67f4e19652/state 
HTTP/1.1" 204 No Content
...
[2025-04-09T15:01:03.554+0000] INFO: 172.21.132.60:55526 - "PUT 
/d9w1fb4h/execution/task-instances/01961b10-b167-787d-af59-2d67f4e19652/heartbeat
 HTTP/1.1" 409 Conflict
````

At .287 we send the state change request, and then 232ms later we sent a
heartbeat request, which the server rejected as the state was not running
anymore.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to