wolvery opened a new pull request, #69782: URL: https://github.com/apache/airflow/pull/69782
## What\n\nFixes #69760.\n\nThis adds DB-backed launch-token fencing for KubernetesExecutor task launches:\n\n- opt KubernetesExecutor into scheduler pre-assigned \ tokens\n- serialize the token into Airflow 3 \ workloads and worker \ requests\n- annotate Kubernetes pods with the executor launch token\n- reject stale \ requests when the DB token no longer matches\n- revalidate queued Kubernetes jobs against the current DB row/token immediately before pod creation\n\nThis prevents stale Kubernetes workloads from validly transitioning an obsolete task instance launch to RUNNING after a newer queued launch has replaced it.\n\n## Tests\n\n- \Listing '...'... Can't list '...' on modified source and test files\n- \E902 No such file or directory (os error 2) --> ...:1:1 Found 1 error.\n- \\n- \\n\nTargeted pytest was attempted, but the local uv environment is corrupted independently of this change: pytest collection repeatedly failed on missing/broken installed dependencies such as \, \, \, \, \, \, and \ after uv reported it could not parse \ in \ and ignored the lockfile. The code-level compile and ruff checks passed after restoring \. -- 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]
