Closed Bug 1885170 Opened 1 year ago Closed 1 year ago

Remove `glean_timestamp` from recorded events in test mode

Categories

(Data Platform and Tools :: Glean: SDK, defect, P1)

defect

Tracking

(firefox127 fixed)

RESOLVED FIXED
Tracking Status
firefox127 --- fixed

People

(Reporter: janerik, Assigned: janerik)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

When we default-enabled the wall-clock timestamp it also got exposed to testing.
Reasonably tests expect no extras when none are recorded by them.

Yet now there are values. This was exposed in https://github.com/mozilla-mobile/firefox-android/pull/6005 (test run).

For the moment we fix that in a-c directly (quicker, no Glean release needed). But we should just filter those out in the Glean SDK.

This work includes reverting the change in a-c.

Keywords: leave-open

Authored by https://github.com/badboy
https://github.com/mozilla-mobile/firefox-android/commit/55761191324df298ea5a644e34baef9f0e88eff7
[main] Bug 1885170 - Wrap the Glean SDK EventMetricType to overwrite the testGetValue function.

Assignee: nobody → jrediger
Priority: P3 → P1
Blocks: 1885173
Whiteboard: [telemetry:glean-rs:m?]

Previously added as a workaround in https://github.com/mozilla-mobile/firefox-android/pull/6005
The new Glean update will fix that in the SDK directly.

Depends on: 1886155
Attachment #9391955 - Attachment description: WIP: Bug 1885170 - Remove EventMetricType wrapper from a-c again r?travis.long → Bug 1885170 - Remove EventMetricType wrapper from a-c again r?TravisLong
Pushed by jrediger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6afa6592b309 Remove EventMetricType wrapper from a-c again r=TravisLong,android-reviewers,mcarare
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: