Closed Bug 1472715 Opened 6 years ago Closed 6 years ago

about:telemetry reports wrong telemetry status in non-standard Nightly builds

Categories

(Toolkit :: Telemetry, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: decoder, Assigned: janerik)

Details

Attachments

(1 file)

The ASan Reporter Nightly build is a Nightly build that has currently no telemetry enabled (mozconfig at browser/config/mozconfigs/linux64/nightly-asan-reporter has no MOZ_TELEMETRY_REPORTING set. When I go to about:preferences, the checkbox saying "Allow Nightly to send technical and interaction data to Mozilla" is greyed out and disabled. :mreid also confirmed that the browser is sending no telemetry data as expected. However, in about:telemetry, it says: "Telemetry is collecting pre-release data and upload is enabled." This seems to be a display bug only (filing on request of :dexter).
Assignee: nobody → jrediger
Priority: -- → P1
This is indeed a display-issue only. about:telemetry checks the `datareporting.healthreport.uploadEnabled` preference only[1], whereas the sending code checks that it is an official build (MOZILLA_OFFICIAL) with `MOZ_TELEMETRY_REPORTING` set [2]. If we want to fix this display bug, we would need to expose the `sendingEnabled` check as a Telemetry API (or directly call `TelemetrySend.sendingEnabled` in aboutTelemetry.js) :gfritzsche, can you make a call which way we want to go? [1]: https://searchfox.org/mozilla-central/rev/28daa2806c89684b3dfa4f0b551db1d099dda7c2/toolkit/content/aboutTelemetry.js#220 [2]: https://searchfox.org/mozilla-central/rev/28daa2806c89684b3dfa4f0b551db1d099dda7c2/toolkit/components/telemetry/TelemetrySend.jsm#1235-1250
Flags: needinfo?(gfritzsche)
(In reply to Jan-Erik Rediger [:janerik] from comment #1) > If we want to fix this display bug, we would need to expose the > `sendingEnabled` check as a Telemetry API (or directly call > `TelemetrySend.sendingEnabled` in aboutTelemetry.js) Let's fix the display bug here. As about:telemetry is internal, using TelemetrySend.sendingEnabled or so sounds fine.
Flags: needinfo?(gfritzsche)
Comment on attachment 8990718 [details] Bug 1472715 - Show actual state of Telemetry upload on about:telemetry Georg Fritzsche [:gfritzsche] has approved the revision. https://phabricator.services.mozilla.com/D2029
Attachment #8990718 - Flags: review+
Pushed by jrediger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d04bd6e1521f Show actual state of Telemetry upload on about:telemetry r=gfritzsche
Pushed by jrediger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f39c4abc6ccd Show actual state of Telemetry upload on about:telemetry r=gfritzsche
Flags: needinfo?(jrediger)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: