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: Backport debug_client opt #781

Merged
merged 1 commit into from
Aug 13, 2020
Merged

feat: Backport debug_client opt #781

merged 1 commit into from
Aug 13, 2020

Conversation

pjenvey
Copy link
Member

@pjenvey pjenvey commented Aug 12, 2020

Description

includes latest rust clippy fixes and a sentry bump related to build issues

Co-authored-by: JR Conlin [email protected]

Testing

Should work just like the current prod version.

Issue(s)

Closes #779

includes latest rust clippy fixes and a sentry bump related to build issues

Co-authored-by: JR Conlin <[email protected]>

Closes #779
@pjenvey pjenvey requested a review from a team August 12, 2020 23:36
@pjenvey pjenvey mentioned this pull request Aug 12, 2020
Copy link
Member

@jrconlin jrconlin left a comment

Choose a reason for hiding this comment

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

Looks like the patch applied. Glad you still have the older versions of grpcio-builder and protobuf.

@pjenvey pjenvey merged commit d30b724 into release/0.4b Aug 13, 2020
@pjenvey pjenvey deleted the feat/779 branch August 13, 2020 01:33
@@ -224,6 +224,26 @@ impl FromRequest for BsoBodies {
));
}
};

// ### debug_client
if let Some(uids) = &state.limits.debug_clients {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is duplicated below and should be moved to a function, assuming the code will exist for more than a trivial amount of time.

Copy link
Member

Choose a reason for hiding this comment

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

Yep. Fortunately, this hack is just to test to see if production mobile clients behave correctly when an OverQuota response is returned, and will be dropped shortly afterward.

It's the reason that the patch also has a really crappy "--debug_client" "--debug_clients" pair of options. That's horribly confusing and should never be allowed (except if it's part of some crappy hack to test clients that can't hit stage)

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