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

Update BundleUpload status for observability #99

Merged
merged 4 commits into from
Oct 2, 2024
Merged

Update BundleUpload status for observability #99

merged 4 commits into from
Oct 2, 2024

Conversation

matt-fff
Copy link
Contributor

@matt-fff matt-fff commented Sep 18, 2024

Summary:

This change will help us give users visibility during onboarding.
We can tell them how many uploads calls we've received and how many of them were successful.
This will hopefully translate into less time users have to spend waiting to get value from flaky tests.

Closes TRUNK-12756

Can't be merged until the corresponding API changes (https://github.com/trunk-io/trunk/pull/16848, https://github.com/trunk-io/trunk/pull/16855) are in. The checks will continue to fail until then.

@matt-fff matt-fff force-pushed the pr99 branch 3 times, most recently from 65d855d to 19c41c6 Compare September 18, 2024 20:36
@matt-fff matt-fff marked this pull request as draft September 18, 2024 20:37
@matt-fff matt-fff marked this pull request as ready for review September 20, 2024 17:02
cli/src/types.rs Outdated Show resolved Hide resolved
cli/src/clients.rs Outdated Show resolved Hide resolved
cli/src/clients.rs Outdated Show resolved Hide resolved
cli/src/clients.rs Outdated Show resolved Hide resolved
cli/src/main.rs Outdated Show resolved Hide resolved
@matt-fff matt-fff force-pushed the pr99 branch 3 times, most recently from a21bdd1 to a69301f Compare September 23, 2024 20:41
Summary:

This change will help us give users visibility during onboarding.
We can tell them how many uploads calls we've received and how many of them were successful.
This will hopefully translate into less time users have to spend waiting to get value from flaky tests.

Closes TRUNK-12756

Test Plan:

TODO
Copy link

trunk-staging-io bot commented Sep 23, 2024

✅ 75 passed ⋅ (learn more)

settingsdocs ⋅ learn more about trunk.io

Copy link
Member

@dfrankland dfrankland left a comment

Choose a reason for hiding this comment

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

Very nice! Thank you so much 👏

@max-trunk
Copy link
Contributor

@dfrankland mind giving this a quick re-review? Since your last approval - resolved some merge conflicts, fixed a bad enum value, and refactored the API call in update_bundle_upload_status() to be more in line with the other calls in terms of error handling

@max-trunk max-trunk merged commit f81ac92 into main Oct 2, 2024
6 checks passed
gnalh added a commit that referenced this pull request Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants