villebro commented on code in PR #43627:
URL: https://github.com/apache/superset/pull/43627#discussion_r3881858355


##########
superset/migrations/versions/2026-08-21_12-00_7e2c9a4f1b83_create_task_dependencies_table.py:
##########
@@ -148,9 +148,22 @@ def upgrade():
             "uq_task_subscribers_task_guest", ["task_id", "guest_key"]
         )
 
+    # Liveness marker for orphan detection: the executing worker bumps
+    # ``tasks.last_heartbeat`` on a background thread, and the prune cron reaps
+    # ACTIVE tasks whose heartbeat has gone stale (a dead/orphaned worker). The
+    # index backs the reaper's ``last_heartbeat < now - timeout`` scan.
+    add_columns(

Review Comment:
   This is intentional - this is against a feature branch, so no point in 
adding multiple separate migrations as the final PR will be squashed to a 
single commit when merged to master.



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


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

Reply via email to