Add asset partition sensor#67941
Conversation
e0b2c41 to
5b85614
Compare
|
@Leondon9 This PR has been converted to draft because it does not yet meet our Pull Request quality criteria. Issues found:
What to do next:
Converting a PR to draft is not a rejection — it is an invitation to bring the PR up to the project's standards so that maintainer review time is spent productively. There is no rush — take your time and work at your own pace. We appreciate your contribution and are happy to wait for updates. If you have questions, feel free to ask on the Airflow Slack. Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you. |
f048261 to
8f86a15
Compare
8f86a15 to
03b434d
Compare
|
Hi @Leondon9, After merging #64610 and #64611, my intention was to create a generic sensor for asset events rather than one based only on partitions. It would support filtering by partition, event metadata ( I've opened #70225 and am testing it now. Since it is more generic and does not require changes to Airflow core, I think it has a better chance of being merged than this PR. Could you check whether it addresses the needs you described in this discussion? |
Add a small server-side partition lookup for asset events and a standard provider sensor that can wait for a specific asset partition from a time-scheduled DAG.
What changed:
This is intended as a narrow draft for the idea in #67375. It deliberately avoids broader pattern/regex filters, Core API expansion, DB migrations/indexes, UI changes, and generated OpenAPI churn. It overlaps with part of #64610 only in the exact partition lookup surface; if #64610 lands first, this branch should be rebased and the lookup commit can likely be dropped or reduced.
Validation:
Pytest was attempted with Breeze, but the local test bootstrap failed before collecting/running the changed tests due provider discovery/import setup issues (airflow.providers.akeyless) and task_sdk import setup in the container.
related: #67375
Was generative AI tooling used to co-author this PR?
Generated-by: Codex (GPT-5) following https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions
Important
🛠️ Maintainer triage note for @Leondon9 · by
@potiuk· 2026-07-18 16:36 UTCI've removed the
ready for maintainer reviewlabel — the next step here is yours:main. See docs.It'll return to the maintainer queue automatically once resolved — no need to re-add the label by hand. See the Pull Request quality criteria for details.
The ball is in your court — you've been assigned. Rebase onto
main, push, then mark it Ready for review.Automated triage — may be imperfect; a maintainer takes the next look.