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:
1f6984661e14b2d360122b00152f096930355802 / 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/27426773507

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to