Skip to content

Align Dag Runs docs with Airflow 3 trigger timetable defaults - #70167

Merged
ferruzzi merged 5 commits into
apache:mainfrom
Tegh25:feature/update_dag-run_trigger_data_interval_doc
Aug 5, 2026
Merged

Align Dag Runs docs with Airflow 3 trigger timetable defaults#70167
ferruzzi merged 5 commits into
apache:mainfrom
Tegh25:feature/update_dag-run_trigger_data_interval_doc

Conversation

@Tegh25

@Tegh25 Tegh25 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

The Data Interval and Catchup sections in dag-run.rst still described @daily and catchup as if CronDataIntervalTimetable were the default. That matches Airflow 2 / create_cron_data_intervals=True, not Airflow 3, where bare cron strings resolve to CronTriggerTimetable by default.

Update the Data Interval section to explain that interval semantics depend on the timetable: trigger timetables use zero-width intervals at the trigger time; data-interval timetables use contiguous windows and schedule after the
window ends. Link to the timetable comparison docs for logical_date and run_id differences.

Update the Catchup section and tutorial example to describe behavior under the Airflow 3 default (CronTriggerTimetable, catchup=False), and keep the prior data-interval story as the explicit opt-in case (CronDataIntervalTimetable or create_cron_data_intervals=True). Use timetable-neutral wording ("scheduled run times") in the catchup intro so it
applies to both timetable kinds.

No newsfragment: documentation-only clarification aligned with existing authoring-and-scheduling/timetable.rst content.


Was generative AI tooling used to co-author this PR?
  • Yes — Cursor (Auto)

Generated-by: Cursor (Auto) following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@Tegh25

Tegh25 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

Tagging @ferruzzi for visibility

Comment thread airflow-core/docs/core-concepts/dag-run.rst
Comment thread airflow-core/docs/core-concepts/dag-run.rst Outdated
Comment thread airflow-core/docs/core-concepts/dag-run.rst Outdated
@Tegh25 Tegh25 changed the title Docs: Align Dag Runs docs with Airflow 3 trigger timetable defaults Align Dag Runs docs with Airflow 3 trigger timetable defaults Jul 21, 2026

@ferruzzi ferruzzi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending green CI

Comment thread airflow-core/docs/core-concepts/dag-run.rst Outdated
Comment thread airflow-core/docs/core-concepts/dag-run.rst Outdated
Comment thread airflow-core/docs/core-concepts/dag-run.rst Outdated
Tegh25 added 4 commits July 31, 2026 16:42
Prior version assumed that all trigger timetable dags had a zero-width
interval, which is not true.
Also adjusted "advances past" to "reaches" for more correctness.
With start_date set, CronTriggerTimetable does not wait for the next
future cron tick. catchup=False picks the most recent applicable tick
(align_to_prev(now)), so the tutorial example was describing the wrong
midnight.
Review feedback: start_date bounds run_after (not always the first
logical date), and timedelta trigger runs land at pickup time rather
than a cron-like wall-clock tick. Also restore readable explicit-title
:ref: links.
@Tegh25
Tegh25 force-pushed the feature/update_dag-run_trigger_data_interval_doc branch from e37e342 to ab2e1a5 Compare July 31, 2026 21:43
@ferruzzi
ferruzzi merged commit 2e0b22a into apache:main Aug 5, 2026
70 checks passed
@Tegh25
Tegh25 deleted the feature/update_dag-run_trigger_data_interval_doc branch August 5, 2026 16:27
dabla pushed a commit to dabla/airflow that referenced this pull request Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants