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

Set the back-off delay to 5 minutes before re-deployment #1856

Closed
wants to merge 3 commits into from

Conversation

theputta
Copy link
Contributor

SUMMARY

backoff_delay parameter is set to 5 minutes before attempting the next retry. This can be useful to avoid immediate repeated API requests in case of throttling.

ISSUE TYPE
  • Docs Pull Request

Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/839b33a724fa456f91d01a346506e4f5

✔️ ansible-galaxy-importer SUCCESS in 5m 23s
✔️ build-ansible-collection SUCCESS in 18m 31s
✔️ ansible-test-splitter SUCCESS in 7m 05s
✔️ integration-amazon.aws-1 SUCCESS in 14m 16s
Skipped 43 jobs

Copy link
Contributor

@tremble tremble left a comment

Choose a reason for hiding this comment

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

Please clean up the whitespace to fix the failing tests.

See for example: https://github.com/ansible-collections/amazon.aws/actions/runs/6872685446/job/18695465378?pr=1856

 ERROR: Found 2 pep8 issue(s) which need to be resolved:
ERROR: plugins/modules/cloudformation.py:190:25: W291: trailing whitespace
ERROR: plugins/modules/cloudformation.py:191:1: W293: blank line contains whitespace

@theputta
Copy link
Contributor Author

clean up the whitespace to fix the failing tests

done

Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/3605e09d0ee14f19818128d52d928e61

✔️ ansible-galaxy-importer SUCCESS in 4m 41s
✔️ build-ansible-collection SUCCESS in 14m 09s
✔️ ansible-test-splitter SUCCESS in 5m 30s
✔️ integration-amazon.aws-1 SUCCESS in 17m 14s
Skipped 43 jobs

@tremble tremble added the docs label Nov 30, 2023
@GomathiselviS
Copy link
Collaborator

Hello @theputta, thanks for kickstarting the documentation pull requests. Consolidating all the documentation example-related modifications into a single pull request would be more convenient, rather than having them scattered across multiple PRs. It would be appreciated if you could ensure that all the added examples have been verified. Once you create a single PR with these changes, we will review and validate them on our end. To streamline the process, we plan to close the other PRs, leaving this one open for you to include the changes. Let us know if this approach suits you.

@GomathiselviS
Copy link
Collaborator

Please rebase the PR.

@tremble
Copy link
Contributor

tremble commented Aug 27, 2024

Coming back to this PR: the description of this example is a little misleading.

As the code is written today, the retries only apply to "transient" errors (things like API rate limits). It won't retry something that simply "failed". I think it's better not to merge this change.

@tremble tremble closed this Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants