-
Notifications
You must be signed in to change notification settings - Fork 132
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
Bug 1640575 - Move "debug view tagging" to Rust #998
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @brizental !I took an high level look first, there's two major request I have:
- let's defer updating the serialization format;
- let's not provide a public API for this
What do you think?
fd5f5b1
to
c79d79e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. 🐂-idize all the things!
c79d79e
to
fa9302c
Compare
fa9302c
to
769bd4c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me: let's take the "caching" part to a separate PR. Please let's file follow-ups for all the remaining issues: caching, C# and so on.
glean-core/android/src/main/java/mozilla/telemetry/glean/debug/GleanDebugActivity.kt
Show resolved
Hide resolved
BONUS: remove some duplicated code from tests
769bd4c
to
24144f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Fixes Bug 1640575.
As a bonus also fixes (or at least partially fixes) Bug 1605097, because persisting the tag was the best way I found to move it to Rust.Not anymore, this was defered to a later PR. Because the tag was not being persisted any longer, I had to drop the commit where I removed the debug view tag management from python in favour of the rust implementation. Since python instantiates a standalone upload manager to do the upload, without persisting the tag we don't pck up on it during upload. When I work on the PR to persist the headers I can bring the python commit back.I realized after the fact that this could be broken down into smaller PRs, which can stil be done if you prefer since this is already broken down into coherent commits. Please let me know and I'll close this if necessary.