Repository navigation
[airflow-ctl/v0-1-test] Stop airflowctl e2e xcom tests failing on a slow compose stack (#72260) - #75756
Merged
shahar1 merged 1 commit intoOct 27, 2026
Conversation
Andrushika
requested review from
amoghrajesh,
ashb,
bugraoz93,
gopidesupavan,
jason810496 and
potiuk
as code owners
October 27, 2026 12:43
Andrushika
marked this pull request as draft
October 27, 2026 12:43
2 tasks done
shahar1
marked this pull request as ready for review
October 27, 2026 13:32
Contributor
|
@Andrushika could you please resolve conflicts? |
Contributor
Author
|
Yess 1 second |
…low compose stack (apache#72260) The xcom commands can only run once their Dag run has finished, and the wait that enforces that gave a freshly booted PROD compose stack only 60 seconds. Every sample cost a full airflowctl subprocess, so a slow machine got barely a dozen looks in before the budget ran out. Because all five xcom commands share one Dag run, a single slow boot failed all of them at once, behind a message that said nothing about how far the run had got. (cherry picked from commit f760ac1)
Andrushika
force-pushed
the
backport-f760ac1-airflow-ctl/v0-1-test
branch
from
October 27, 2026 13:35
cff04f1 to
cc95ef5
Compare
Contributor
Author
|
Done! |
shahar1
approved these changes
Oct 27, 2026
shahar1
enabled auto-merge (squash)
October 27, 2026 20:49
shahar1
pushed a commit
that referenced
this pull request
Nov 19, 2026
…low compose stack (#72260) (#75756) The xcom commands can only run once their Dag run has finished, and the wait that enforces that gave a freshly booted PROD compose stack only 60 seconds. Every sample cost a full airflowctl subprocess, so a slow machine got barely a dozen looks in before the budget ran out. Because all five xcom commands share one Dag run, a single slow boot failed all of them at once, behind a message that said nothing about how far the run had got. (cherry picked from commit f760ac1) Co-authored-by: rjgoyln <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #75752. Please merge that PR first. Only the last commit belongs to this PR.
Why
After #75752, the xcom tests wait for the Dag run to finish before the xcom commands. That wait gives the compose stack 60 seconds. A freshly started stack can need more than that to run the task. The xcom commands then still fail with "XCom doesn't exist". #72260 fixed this on main.
What
Clean cherry-pick of #72260. The wait now polls the REST API and allows 300 seconds.
AIRFLOW_CTL_TEST_DAG_RUN_TIMEOUTcan change this value. On a timeout, the error shows the states of the Dag run and its task instances.related: #57826
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5.5) following the guidelines