Closed Bug 1949453 Opened 3 days ago Closed 19 hours ago

Crash reporter does not correctly convert the AsyncShutdownTimeout field when creating the Glean ping

Categories

(Toolkit :: Crash Reporting, defect)

defect

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: afranchuk, Assigned: afranchuk)

References

(Regressed 1 open bug)

Details

Attachments

(1 file)

The field is a string with JSON data, however the code assumes it is already a deserialized json object. A single, centralized code path for extra file creation and ping creation would have easily avoided this issue (bug 1911301).

Previously the code assumed it was already a deserialized object,
however it is a string that needs to be deserialized.

Pushed by afranchuk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a977fef53ddd Correctly interpret the AsyncShutdownTimeout annotation when creating the Glean ping r=gsvelto

Huh, I didn't see those tests failing when I ran it locally (and I definitely ran it since I had to update the tests to ensure things passed). Not sure what happened there, but I assume it'll be a simple reproduction and fix.

Flags: needinfo?(afranchuk)

Weirdest thing; I'm actually not able to reproduce the failures. There's really not much that depends on e.g. the environment in those tests.

Oh, it looks like I had a local change and forgot to update the patch.

Pushed by afranchuk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0af7a39fb3e1 Correctly interpret the AsyncShutdownTimeout annotation when creating the Glean ping r=gsvelto
Status: ASSIGNED → RESOLVED
Closed: 19 hours ago
: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Regressions: 1949954
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: