Skip to content

Cover submit+poll via sensor pattern in airflow-state-store skill - #251

Merged
kaxil merged 2 commits into
mainfrom
task-store-skill-update
Aug 5, 2026
Merged

Cover submit+poll via sensor pattern in airflow-state-store skill#251
kaxil merged 2 commits into
mainfrom
task-store-skill-update

Conversation

@amoghrajesh

@amoghrajesh amoghrajesh commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Ref: https://lists.apache.org/thread/xhlwpy4mpptw842dfv0dqyxwkzxq3936

Per community discussion on submit+poll patterns, recommend Airflow's built-in durable execution mode instead of a hand-rolled submit task + sensor/poll task split, for cases where a Triggerer isn't deployed but the job can run synchronously. Adds a Triggerer- and job-duration- conditioned decision tree to the airflow-state-store skill, fixes the skill's proactive trigger so it actually fires when reviewing this DAG shape, and clarifies that ResumableJobMixin's crash-safety only applies
to a single-task submit+poll, not an already-split submit/sensor pair and recommends it as needed.

Net result now:
image

Testing

Before my skill update:

before.md

After my skill update

after.md

@amoghrajesh
amoghrajesh requested a review from kaxil August 3, 2026 13:02
@amoghrajesh amoghrajesh self-assigned this Aug 3, 2026
@kaxil
kaxil force-pushed the task-store-skill-update branch from 1301068 to 07aee60 Compare August 3, 2026 13:29
Comment thread skills/airflow-state-store/SKILL.md Outdated
Comment thread skills/airflow-state-store/SKILL.md Outdated
Comment thread skills/airflow-state-store/SKILL.md Outdated
Comment thread skills/airflow-state-store/SKILL.md Outdated
Comment thread skills/airflow-state-store/SKILL.md Outdated
@amoghrajesh
amoghrajesh force-pushed the task-store-skill-update branch from 07aee60 to 86c14c6 Compare August 4, 2026 08:59
@amoghrajesh

Copy link
Copy Markdown
Contributor Author

@kaxil can you take another look when possible please?

@kaxil
kaxil enabled auto-merge (squash) August 5, 2026 07:10
@kaxil
kaxil merged commit dbd9bb7 into main Aug 5, 2026
5 checks passed
@kaxil
kaxil deleted the task-store-skill-update branch August 5, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants