Closed
Bug 1895230
Opened 1 year ago
Closed 1 year ago
Object metric type should not serialize null values
Categories
(Data Platform and Tools :: Glean: SDK, defect, P1)
Data Platform and Tools
Glean: SDK
Tracking
(firefox127 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: janerik, Assigned: janerik)
Details
Attachments
(1 file)
This is handled correctly in glean_parser for Rust, but I failed to backport those to m-c.
Assignee | ||
Comment 1•1 year ago
|
||
This was already done in glean_parser, but not backported here.
Plus this also adds the default
for arrays.
The new test covers those edge cases.
Pushed by jrediger@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f44b1f72bfa1
Object metric: Correctly skip serialization if empty/none r=chutten
Comment 3•1 year ago
|
||
Backed out for causing python failures.
- Backout link
- Push with failures
- Failure Log
- Failure line: toolkit/components/glean/tests/pytest/test_glean_parser_rust.py::test_all_metric_types TEST-UNEXPECTED-FAIL
Flags: needinfo?(jrediger)
Assignee | ||
Comment 4•1 year ago
|
||
d'oh! my own mistake of not running at least our tests locally. fixing.
Flags: needinfo?(jrediger)
Pushed by jrediger@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a958dab856bd
Object metric: Correctly skip serialization if empty/none r=chutten
Comment 6•1 year ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•