about:telemetry is still using DATASET_RELEASE_CHANNEL_OPTIN
Categories
(Toolkit :: Telemetry, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | wontfix |
firefox68 | --- | wontfix |
firefox69 | --- | fixed |
People
(Reporter: chutten, Assigned: chutten)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Oh, JavaScript.
aboutTelemetry.js was accidentally switched back to use DATASET_RELEASE_CHANNEL_OPTIN
when getting event snapshots. This is undefined, which is coerced to 0, which is taken to mean DATASET_ALL_CHANNELS
.
We need to put this back to DATASET_PRERELEASE_CHANNELS
to get all of the events.
Comment 1•6 years ago
|
||
Gah, sorry for missing this. :-(
Comment 2•6 years ago
|
||
We should make the failure (coercion) case default to either nothing or opt-in.
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #2)
We should make the failure (coercion) case default to either nothing or opt-in.
I'm not sure if this was the designed intent, but the coercing case defaults to "report less" which is a good default for data reporting. I'd like to keep it this way, and instead consider unifying the snapshot APIs: events are the only ones that suffer this problem because the other two were rewritten as getSnapshotsForX
calls which choose the appropriate dataset at the TelemetryImpl
layer.
(( This would likely be undertaken as part of a "support multi-store for events" work which may be required under the Ecosystem Telemetry banner later this year, which is why it hasn't yet happened ))
Comment 6•6 years ago
|
||
(In reply to Chris H-C :chutten from comment #5)
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #2)
We should make the failure (coercion) case default to either nothing or opt-in.
I'm not sure if this was the designed intent, but the coercing case defaults to "report less" which is a good default for data reporting. I'd like to keep it this way, and instead consider unifying the snapshot APIs: events are the only ones that suffer this problem because the other two were rewritten as
getSnapshotsForX
calls which choose the appropriate dataset at theTelemetryImpl
layer.(( This would likely be undertaken as part of a "support multi-store for events" work which may be required under the Ecosystem Telemetry banner later this year, which is why it hasn't yet happened ))
Okay thanks, I misinterpreted what DATASET_ALL_CHANNELS
meant.
Comment 7•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Assignee | ||
Comment 8•6 years ago
|
||
Comment on attachment 9075425 [details]
Bug 1562947 - Snapshot events from all channels' datasets in about:telemetry r?janerik
Beta/Release Uplift Approval Request
- User impact if declined: Users won't be able to see all unreported collected Events until after they are sent.
about:telemetry
isn't a widely-used feature but it is user-visible. - Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's small, it's in an infrequently-used feature, and if the value isn't present it defaults to precisely the bug case.
- String changes made/needed:
Comment 9•6 years ago
|
||
Does this affect 68? Then you probably want to set the status flag to affected and request release + esr68 approval, but given that we're spinning rc builds I expect the bar might be quite high...
Assignee | ||
Comment 10•6 years ago
|
||
Ack, whoops, yeah. Misread the calendar. Not needed for uplift or ESR.
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•3 years ago
|
Description
•