Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order XCom entries by map index in API #37086

Merged
merged 2 commits into from Jan 31, 2024
Merged

Conversation

uranusjr
Copy link
Member

This makes the resulting list more stable.

I found this in a failed CI run: https://github.com/apache/airflow/actions/runs/7698956149/job/20980348665

While it is technically possible to just fix this in the tests, I feel it is better to make the list returned by the API have a stable ordering since this is useful in general anyway.

@boring-cyborg boring-cyborg bot added the area:API Airflow's REST/HTTP API label Jan 30, 2024
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

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

Nice. Even better matching the index.

@uranusjr uranusjr merged commit ed0c967 into apache:main Jan 31, 2024
54 checks passed
@uranusjr uranusjr deleted the flaky-xcom-api branch January 31, 2024 05:18
@ephraimbuddy ephraimbuddy added this to the Airflow 2.9.0 milestone Feb 19, 2024
@ephraimbuddy ephraimbuddy added the type:improvement Changelog: Improvements label Feb 19, 2024
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API type:improvement Changelog: Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants