镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add dynamic task mapping no-op example - #67022

Merged
choo121600 merged 2 commits into
apache:mainfrom
vividbaek:docs/dynamic-mapping-empty-work
May 28, 2026
Merged

choo121600 merged 2 commits into
apache:mainfrom
vividbaek:docs/dynamic-mapping-empty-work

Conversation

@vividbaek

Copy link
Copy Markdown
Contributor

This PR adds a small documentation example for zero-length dynamic task
mapping.

The example shows a scan-and-repair style Dag where a discovery task can return
an empty list. In that case, the mapped task is marked as skipped, and a
downstream summary task can treat the run as a successful no-op when it uses a
trigger rule that allows skipped upstream tasks.

How tested:

  • Documentation-only change.
  • Ran git diff --check.

Was generative AI tooling used to co-author this PR?
  • Yes — OpenAI Codex (GPT-5)

Generated-by: OpenAI Codex (GPT-5) following [the guidelines](https://github.com/
apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-
contributions)

@potiuk potiuk added the ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green. label May 18, 2026

@choo121600 choo121600 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice :)

@choo121600
choo121600 merged commit 1f5b999 into apache:main May 28, 2026
70 checks passed
@vividbaek
vividbaek deleted the docs/dynamic-mapping-empty-work branch May 28, 2026 04:47
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.3.0 milestone Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:documentation ready for maintainer review Set by triage when all criteria pass, or by the fork CI reconciler when fork CI is green.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants