vatsrahul1001 opened a new pull request, #66989: URL: https://github.com/apache/airflow/pull/66989
Cherry-pick of #60108 for the Airflow 3.2.2 patch release. **Stacked on #66988** (#63604 backport — introduces the \`TIClaims\` dataclass that this PR uses). Once #66988 lands on v3-2-test, this PR will auto-retarget to v3-2-test and show only #60108's 12-file diff. ### Background Tasks waiting in executor queues (Celery, Kubernetes) can have their JWT tokens expire before execution starts, causing auth failures on the Execution API. This PR introduces a two-token mechanism: a workload token (lifetime tracks \`[scheduler] task_queued_timeout\`) travels with the task through the queue, and a short-lived execution token is issued when the task actually starts running. ### Backport Clean cherry-pick on top of #66988, no conflicts. Previously parked because v3-2-test lacked \`TIClaims\` — now unblocked. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 4.7) Generated-by: Claude Code (Opus 4.7) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
