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

Added async-retry package for agent spin-up retries #6

Merged
merged 2 commits into from
Aug 7, 2023

Conversation

KulkarniShashank
Copy link
Contributor

What?

This pull request adds the async-retry package to the project, allowing for multiple retry attempts when attempting to spin up the agent. This enhancement aims to improve the agent's robustness and reliability by handling scenarios where the agent spin-up fails.

Why?

In certain situations, the agent spin-up process can encounter transient errors or issues that might be resolved with subsequent attempts. By introducing the async-retry package, we can implement a retry mechanism that will help increase the chances of successfully spinning up the agent, even when initial attempts fail.

How?

  • The async-retry package has been added as a dependency to the project.
  • A new function/method has been introduced to encapsulate the agent spin-up logic, which includes the retry mechanism.
  • When the agent spin-up process encounters an error, the async-retry package is used to automatically trigger a specified number of retries with customizable delays between each attempt.
  • Detailed logging has been added to capture the retry process and any relevant error messages, aiding in debugging and monitoring.
  • This enhancement contributes to a more resilient and reliable agent spin-up process, reducing the impact of intermittent issues and increasing the overall stability of the system.

…to async-retry-agent-sipn-up

Signed-off-by: KulkarniShashank <[email protected]>
@prano041199 prano041199 merged commit 6845b4f into main Aug 7, 2023
@prano041199 prano041199 deleted the async-retry-agent-sipn-up branch August 7, 2023 08:21
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