jedcunningham opened a new pull request, #77614: URL: https://github.com/apache/airflow/pull/77614
`airflow rotate-fernet-key` fails with `InvalidToken` when the `trigger` table holds a row written by the Execution API's deferral route, because that route stored trigger kwargs in a different form from every other trigger writer. The route now builds the row with `Trigger.from_serialized_kwargs` like the others, and rotation also converts any rows earlier releases left in that form. The triggerer already reads both forms, so mixed-version deployments keep working. `trigger_kwargs` in the deferral payload must now be a dict; no SDK has ever sent a string. This adds a `2026-12-01` version to both the Execution API and the supervisor schema, rather than going into the unreleased `2027-02-28`, so it can be backported to 3.4.1 the way `2025-10-27` and `2025-11-05` were for 3.1.x. Clients on older API versions get a 422 for a string. The Fernet docs, the `rotate-fernet-key` help and the `fernet_key` config description now list trigger kwargs alongside connections and variables. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude Code (Opus 5.5) -- 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]
