Closed
Bug 1153987
Opened 9 years ago
Closed 9 years ago
TelemetryPing should fully initialize whenever canRecordBase=true
Categories
(Toolkit :: Telemetry, defect)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox37 | --- | unaffected |
firefox38 | --- | unaffected |
firefox39 | --- | affected |
firefox40 | --- | affected |
People
(Reporter: vladan, Assigned: vladan)
References
Details
Attachments
(1 file, 1 obsolete file)
1.59 KB,
patch
|
Dexter
:
feedback+
|
Details | Diff | Splinter Review |
We don't initialize TelemetryPing if canRecordExtended is false. This is incorrect, the Telemetry service (including TelemetryPing) needs to fully initialize if canRecordBase = true, independent of canRecordExtended. Offending code from enableTelemetryRecording: let enabled = Preferences.get(PREF_ENABLED, false); if (!enabled || !Telemetry.canRecordBase) { // Turn off extended telemetry recording if disabled by preferences or if base/telemetry // telemetry recording is off. Telemetry.canRecordExtended = false; this._log.config("enableTelemetryRecording - Telemetry is disabled, turning off Telemetry recording."); return false; } I think this was an oversight from bug 1120369, so it will need to be uplifted to 38 & 39
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8591824 -
Flags: review?(gfritzsche)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → vdjeric
Assignee | ||
Comment 2•9 years ago
|
||
The patch in bug 1137252 fixes the issue, but we need to uplift a minimal fix to aurora & beta. I think this patch might be sufficient
Attachment #8591824 -
Attachment is obsolete: true
Attachment #8591824 -
Flags: review?(gfritzsche)
Attachment #8591837 -
Flags: review?(gfritzsche)
Attachment #8591837 -
Flags: feedback?(alessio.placitelli)
Assignee | ||
Comment 3•9 years ago
|
||
This was actually a regression from bug 1134279. We actually don't need this on beta, beta doesn't have canRecordBase
Updated•9 years ago
|
status-firefox37:
--- → unaffected
status-firefox38:
--- → unaffected
status-firefox39:
--- → affected
status-firefox40:
--- → affected
Comment 4•9 years ago
|
||
Comment on attachment 8591837 [details] [diff] [review] fixTelemetryPingInit2.patch I think this should also carry the changes from runreftest.py, all.js and profile.py from bug 1137252 part 1, otherwise tests may fail/crash (tests would try to access real telemetry servers in tests).
Attachment #8591837 -
Flags: feedback?(alessio.placitelli) → feedback+
Assignee | ||
Updated•9 years ago
|
Attachment #8591837 -
Flags: review?(gfritzsche)
Comment 5•9 years ago
|
||
Do we need to fix this on Aurora right now or should we just focus on a batched uplift that includes bug 1137252?
Blocks: 1120356
Comment 6•9 years ago
|
||
(In reply to Georg Fritzsche [:gfritzsche] from comment #5) > Do we need to fix this on Aurora right now or should we just focus on a > batched uplift that includes bug 1137252? Per todays meeting: Yes, we should, to fix things until bug 1137252 uplifts.
Comment 7•9 years ago
|
||
At this point we should not uplift this so turning the unified behavior off works properly on 39.
Assignee | ||
Comment 8•9 years ago
|
||
(In reply to Georg Fritzsche [:gfritzsche] from comment #7) > At this point we should not uplift this so turning the unified behavior off > works properly on 39. Sorry, can you restate this?
Flags: needinfo?(gfritzsche)
Comment 9•9 years ago
|
||
Sorry - i was checking whether we can turn off the "unified" behavior properly on 39. Currently this is mostly fine, but if we land this patch on 39 we would need to do further work on that train.
Flags: needinfo?(gfritzsche)
Comment 10•9 years ago
|
||
As discussed above and in todays meeting, the behavior on 39 right does not need to be fixed right now. Proper initialization should be covered by bug 1148500.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•