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: write a wrapper for the provisioner to call gw and r-r clients #1585

Conversation

chesedo
Copy link
Member

@chesedo chesedo commented Jan 25, 2024

Description of change

Allows provisioner to check how many RDSs a user is already using before trying to provision a new one.

How has this been tested? (if applicable)

A whole lot of new tests

Copy link
Contributor

@oddgrd oddgrd left a comment

Choose a reason for hiding this comment

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

Looks correct to me so far, thanks Pieter!

common-tests/Cargo.toml Outdated Show resolved Hide resolved
@chesedo chesedo marked this pull request as ready for review January 25, 2024 17:30
Copy link
Contributor

@oddgrd oddgrd left a comment

Choose a reason for hiding this comment

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

I left a question about observability, and I'm also curious to know why those tests are failing in CI. Otherwise, this lgtm!

provisioner/src/lib.rs Show resolved Hide resolved
Cargo.lock Outdated Show resolved Hide resolved
…-a-wrapper-for-the-provisioner-to-call-gwr-r-clients
The tests kept failing on the CI for what appears to be the tokio spawn
of the server shutting down since it gave errors for the client not
being able to connect.
I needed to move the internal `tracing` module to `trace` to prevent a
clash with the `tracing` library.
@chesedo chesedo force-pushed the feature/engn-55-write-a-wrapper-for-the-provisioner-to-call-gwr-r-clients branch from c4efc96 to 8989dfa Compare January 29, 2024 11:15
Copy link
Contributor

@oddgrd oddgrd left a comment

Choose a reason for hiding this comment

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

Thanks, one small question, but LGTM 🥳

common/src/backends/client/resource_recorder.rs Outdated Show resolved Hide resolved
@chesedo chesedo merged commit 4a2ab9e into main Jan 29, 2024
36 checks passed
@chesedo chesedo deleted the feature/engn-55-write-a-wrapper-for-the-provisioner-to-call-gwr-r-clients branch January 29, 2024 13:25
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.

None yet

3 participants