Skip to content

Add dynamic task mapping no-op example#67022

Open
vividbaek wants to merge 1 commit into
apache:mainfrom
vividbaek:docs/dynamic-mapping-empty-work
Open

Add dynamic task mapping no-op example#67022
vividbaek wants to merge 1 commit 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 after triaging when all criteria pass. label May 18, 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 after triaging when all criteria pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants