The GitHub Actions job "Tests (AMD)" on airflow.git/fix-manual-trigger-partition-date has failed. Run started by GitHub user Lee-W (triggered by Lee-W).
Head commit for run: 68a953b8140319f200a8c4fb6b849251f10979b3 / Wei Lee <[email protected]> Populate partition_date when manually triggering partitioned Dags When a Dag with a partitioned timetable (e.g. CronPartitionTimetable) is manually triggered with a partition_key, partition_date was left NULL because _trigger_dag and the core API route only forwarded partition_key without deriving the corresponding date. Add Timetable.resolve_partition_date(key) — overridden by CronPartitionTimetable (strptime inverse of _format_key) and PartitionedAssetTimetable (consensus across asset mappers) — and call it in both _trigger_dag and validate_context so partition_date is populated on all manually triggered runs. Invalid keys raise InvalidPartitionKeyError (new ValueError subclass) which translates to HTTP 400 at FastAPI route boundaries. Report URL: https://github.com/apache/airflow/actions/runs/27549134057 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
