-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Remove P3A protobuf reporting #23147
Comments
Now that we're confident receiving the json-format reports, stop sending duplicate protobuf-encoded versions. Resolves brave/brave-browser#23147
@rillian does this mean that https://github.com/brave/brave-core/blob/920bba00b6efb79aa6a1844c2dcca41eee066442/components/p3a/p3a_message.cc#L22 is no longer being used? some of that looks unsafe to me but not obviously exploitable... still would be good to remove that function if no longer needed
|
@diracdeltas Unfortunately the code is still needed to send P2A messages until we've also migrated that backend to json reporting. AFAIR the overflow you pointed out isn't possible with data as constructed; all the literal values are too small. I can add checked arithmetic to guard against values from corrupted state though? Thanks for the review! |
sgtm! |
QA blocked until #23754 is resolved |
With the completion callback issue addressed, skip submission to the old P3A endpoint. P2A message continue until we've confirmed adequite numbers on the json endpoint. Restores brave/brave-browser#23147
Since this is being reverted by #23754, should this issue now be wdyt @rillian @rebron @GeetaSarvadnya ? |
Verified on Went through STR/Test Plan from brave/brave-core#13539 (comment)
Encountered - #23922 |
Yes, this should be release note exclude |
Verification PASSED on
Basically we ensured P3A and P2A works as it works in
|
It shouldn't be in the 1.41 release notes, but it's addressed for 1.42 by brave/brave-core#14017 I've updated the milestone but left the |
Description
Once we've confirmed the json-format P3A reports are behaving properly, and we've adjusted the stats backend to use them over the old protobuf format, we should stop sending the old format.
The text was updated successfully, but these errors were encountered: