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

feat: add support for testcontainers #253

Merged
merged 9 commits into from
Jul 24, 2024
Merged

Conversation

rupansh-sekar-yral
Copy link
Contributor

No description provided.

Copy link
Contributor

@komal-sai-yral komal-sai-yral left a comment

Choose a reason for hiding this comment

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

Overall LGTM. Had one question

Comment on lines +17 to +20
#[cfg(any(feature = "local-bin", feature = "local-lib"))]
{
agent.fetch_root_key().await?;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason for doing this everytime and not just once in the build step ?

Copy link
Contributor Author

@rupansh-sekar-yral rupansh-sekar-yral Jul 24, 2024

Choose a reason for hiding this comment

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

internally it has a check which skips the fetch when called again. Ideally i would have wanted to do this in a constructor as well but that'd end being a larger change and might've introduced some latency

@rupansh-sekar-yral rupansh-sekar-yral merged commit 1f734aa into main Jul 24, 2024
1 check passed
@rupansh-sekar-yral rupansh-sekar-yral deleted the rupansh/testcontainers branch September 14, 2024 09:33
@rupansh-sekar-yral rupansh-sekar-yral restored the rupansh/testcontainers branch September 14, 2024 09:33
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.

3 participants