-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Make Edge API retries configurable #44536
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
Make Edge API retries configurable #44536
Conversation
1d71d66 to
359c75c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 3 out of 4 changed files in this pull request and generated no suggestions.
Files not reviewed (1)
- providers/src/airflow/providers/edge/CHANGELOG.rst: Language not supported
99d5353 to
0c2bbf3
Compare
|
Note: I'd make the implementation consistent to PR #45121 which adds the same to TaskSDK... once the review and merge of the other PR has been made. |
0c2bbf3 to
79e1149
Compare
79e1149 to
74a839a
Compare
amoghrajesh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM +1 with respect to changes in this PR.
On related note, I see that there are no tests present for the api_client at all, @jscheffl. Is that intentional or was it missed out?
74a839a to
e8df5c4
Compare
Thanks for hinting me to missing pytests... added them and by this also found an error... so good to have tests now. |
80b53cb to
e302bb4
Compare
* Make Edge API retries configurable * Align implementation with TaskSDK PR apache#45121 * Add pytests and fix retry handling * Fix mypy on pytests * Update changelog * Update changelog
* Make Edge API retries configurable * Align implementation with TaskSDK PR apache#45121 * Add pytests and fix retry handling * Fix mypy on pytests * Update changelog * Update changelog
In #44311 (comment) @kaxil, @potiuk and me had a bit of discussion. As promised to come back with this, this PR implements (as promised) a way to make the retries in Edge worker configurable.
But it is also opening the box of debates because:
@ashb would also call for your opinion.
And if needed - but I assume it can be made within this PR - we could also call for an open [DISCUSS] or loop-in other stakeholders. Le me know.
UPDATE 28.12.2024: Updated after merge of #45121