Vamsi-klu opened a new pull request, #69746: URL: https://github.com/apache/airflow/pull/69746
## Problem TimeSensor with start_from_trigger=True creates new SerializedDag version every parse because __init__ computes target_datetime via datetime.now(dag.timezone) and bakes into start_trigger_args.trigger_kwargs.moment, part of serialized hash. Causes DB bloat. ## What I did - Remove start_trigger_args and start_from_trigger - Store only raw target_time at init - Compute target datetime at execution time via _get_target_datetime() - Backward compat warning for start_from_trigger kwarg - Keep target_datetime as property for compat - Fix docs ## Impact Fixes dag_version churn, preserves behavior, aligns with TimeDeltaSensor. ## Testing Existing tests 10 passed, temporal triggers 19 passed. Manual serialization stability verified. Fixes: #69543 ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Muse Spark 1.1 Generated-by: Muse Spark 1.1 -- 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]
