You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/04/25 16:17:41 UTC

[GH] (airflow/feat/edge3-shutdown-bounded-drain): Workflow run "Tests" failed!

The GitHub Actions job "Tests" on airflow.git/feat/edge3-shutdown-bounded-drain has failed.
Run started by GitHub user dheerajturaga (triggered by dheerajturaga).

Head commit for run:
c91b67e4179368abfc00771908e6303539820d33 / Dheeraj Turaga <dh...@gmail.com>
Edge worker: bound drain with SIGTERM/SIGKILL escalation

  A wedged task could hold an edge3 worker in drain indefinitely after a
  shutdown request, blocking restarts and administrative drain sequences.
  Add two new [edge] configs, both opt-in:

    drain_timeout_sec     - max wait for jobs to finish after drain starts
                            (0 = wait forever, preserves legacy behavior)
    drain_kill_grace_sec  - grace after SIGTERM before SIGKILL (default 30)

  When enabled, the worker loop enforces the deadline: SIGTERM at
  timeout, SIGKILL after grace, exit regardless of remaining jobs.
  Drain-start timestamp is recorded on any drain path (SIGINT, SIGTERM,
  SHUTDOWN_REQUEST heartbeat response, version mismatch).

  Also stop emitting Shutdown requested! on every heartbeat while the
  server keeps returning SHUTDOWN_REQUEST during a drain; log only on the
  transition into drain.

  The SIGINT drain log now includes the configured timeout and grace
  values so operators can see what the worker will actually do.

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org