Closed
Bug 1469522
Opened 6 years ago
Closed 6 years ago
Remove savedPings from simpleMeasurements
Categories
(Toolkit :: Telemetry, enhancement, P3)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: Dexter, Assigned: is2ei, Mentored)
References
(Blocks 1 open bug)
Details
(Whiteboard: [lang=js][good-first-bug])
Attachments
(1 file, 1 obsolete file)
4.69 KB,
patch
|
Dexter
:
review+
|
Details | Diff | Splinter Review |
This bug is about removing the |savedPings| field from the |simpleMeasurements| [1]. To do this:
1 - Remove savedPings from both the docs and the TelemetrySession.jsm file as reported in [2];
2 - Remove the logic that exports and computes the saved pings count in TelemetryStorage.jsm - track back the implementation from [3] and remove all the related code.
3 - Fix any test failure by removing the offending code.
To run test coverage locally:
> ./mach xpcshell-test toolkit/components/telemetry/tests/unit
[1] - https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/docs/telemetry/data/main-ping.html#simplemeasurements
[2] - https://searchfox.org/mozilla-central/search?q=savedpings
[3] - https://searchfox.org/mozilla-central/rev/f822a0b61631cbb38901569e69b4967176314aa8/toolkit/components/telemetry/TelemetryStorage.jsm#420
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Hi Alessio,
Could I work on this issue?
Flags: needinfo?(alessio.placitelli)
Reporter | ||
Comment 2•6 years ago
|
||
(In reply to Issei Horie [:is2ei] from comment #1)
> Hi Alessio,
>
> Could I work on this issue?
Sure! Let me know if anything is unclear.
Assignee: nobody → is2ei.horie
Flags: needinfo?(alessio.placitelli)
Assignee | ||
Updated•6 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•6 years ago
|
||
I created a patch. Could you review it, please?
Attachment #8987350 -
Flags: review?(alessio.placitelli)
Reporter | ||
Comment 4•6 years ago
|
||
Comment on attachment 8987350 [details] [diff] [review]
bug-1469522.patch
Review of attachment 8987350 [details] [diff] [review]:
-----------------------------------------------------------------
Hi! Thank you for your patch :) It looks good overall, there's one thing that we should fix though.
Please note that there's a reference to TelemetryStorage.pendingPingCount (https://searchfox.org/mozilla-central/rev/39b790b29543a4718d876d8ca3fd179d82fc24f7/toolkit/components/telemetry/TelemetrySend.jsm#1009-1013), which was just removed. I think it's safe to change that to |this.pendingPingCount|. It should have made the test fail. Did you run the tests locally?
Attachment #8987350 -
Flags: review?(alessio.placitelli)
Assignee | ||
Comment 5•6 years ago
|
||
Thanks for your comment! :Dexter
> I think it's safe to change that to |this.pendingPingCount|.
I see! I will fix it.
> Did you run the tests locally?
I run `./mach xpcshell-test toolkit/components/telemetry/tests/unit` and it passed.
Is there other tests do I need to run?
Flags: needinfo?(alessio.placitelli)
Reporter | ||
Comment 6•6 years ago
|
||
(In reply to Issei Horie [:is2ei] from comment #5)
> Thanks for your comment! :Dexter
Thank you for your work! ;)
> > Did you run the tests locally?
>
> I run `./mach xpcshell-test toolkit/components/telemetry/tests/unit` and it
> passed.
> Is there other tests do I need to run?
No, that should be enough. It probably means that the part that should have failed wasn't covered by tests :'( Eugh :(
Flags: needinfo?(alessio.placitelli)
Assignee | ||
Comment 7•6 years ago
|
||
I updated my patch. Could you review it, please?
Attachment #8987350 -
Attachment is obsolete: true
Attachment #8988516 -
Flags: review?(alessio.placitelli)
Reporter | ||
Comment 8•6 years ago
|
||
Comment on attachment 8988516 [details] [diff] [review]
bug-1469522.patch
Review of attachment 8988516 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good to me now, thanks! Let me push it to try for you!
Attachment #8988516 -
Flags: review?(alessio.placitelli) → review+
Reporter | ||
Comment 9•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Keywords: checkin-needed
Comment 10•6 years ago
|
||
Pushed by ebalazs@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/de900ae11c02
Remove savedPings from simpleMeasurements. r=Dexter
Keywords: checkin-needed
Comment 11•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Updated•6 years ago
|
status-firefox62:
affected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•