Closed Bug 1929680 Opened 25 days ago Closed 21 days ago

Boolean preferences are not all reported to Glean

Categories

(Thunderbird :: General, defect)

defect

Tracking

(thunderbird_esr128 unaffected, thunderbird133 fixed)

RESOLVED FIXED
134 Branch
Tracking Status
thunderbird_esr128 --- unaffected
thunderbird133 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

We record boolean preference values in mail_preferences_boolean, which is a labeled_boolean type. We didn't specify the labels for the type, so we're limited to 16 labels, but we are recording about 100 preferences. If we do specify the labels we can have up to 100 of them. That's quickly not going to be enough, we should split this data up.

Assignee: nobody → geoff
Status: NEW → ASSIGNED

Sancus, I'm changing (fixing) how this telemetry is collected but not collecting anything new. I don't think that requires a data review, let me know if you disagree.

Flags: needinfo?(sancus)

Nope, this doesn't require data review. Is that really the best way to handle it? We should complain about these arbitrary label limitations :)

Flags: needinfo?(sancus)

(In reply to Geoff Lankow (:darktrojan) from comment #0)

We record boolean preference values in mail_preferences_boolean, which is a labeled_boolean type. We didn't specify the labels for the type, so we're limited to 16 labels, but we are recording about 100 preferences.

To avoid this issue, we're using type: labeled_string instead, since you can then have 4096 unspecified labels.
We do that already for e.g. for preferences_integer and I think it would be better to handle it this way here also.

The docs say labeled_string has the same restriction.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/dad4fd320b7d
Fix collection of boolean preferences on Glean. r=tobyp

Status: ASSIGNED → RESOLVED
Closed: 21 days ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch

Comment on attachment 9436027 [details]
Bug 1929680 - Fix collection of boolean preferences on Glean. r=#thunderbird-reviewers

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: no impact
Testing completed (on c-c, etc.): landed 3 days ago, I've verified that the data is now being submitted properly
Risk to taking this patch (and alternatives if risky): low

Attachment #9436027 - Flags: approval-comm-beta?

Comment on attachment 9436027 [details]
Bug 1929680 - Fix collection of boolean preferences on Glean. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

Attachment #9436027 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: