Bug 1863599 Comment 10 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

> From my previous peeking into background task shutdown I would assume/hope that there is no "good" reason for those to hang (we usually just execute a simple Javascript payload that might or might not be expensive and then just exit) and that putting some more attention on them could lead to a common root cause, like a race between the OS asking us to shutdown and the payload still executing or such.

This is my belief as well.  At one time the background task mechanism had few delays so that startup was racing shutdown but we think that we have largely eliminated that with https://bugzilla.mozilla.org/show_bug.cgi?id=1832252.

Strong +1 for including `BackgroundTaskName` in the crash report.  Suhaib, perhaps you can help with this?  `BackgroundTaskName` is a crash annotation added in https://bugzilla.mozilla.org/show_bug.cgi?id=1697875 and supported by Socorro after https://bugzilla.mozilla.org/show_bug.cgi?id=1796132.
> From my previous peeking into background task shutdown I would assume/hope that there is no "good" reason for those to hang (we usually just execute a simple Javascript payload that might or might not be expensive and then just exit) and that putting some more attention on them could lead to a common root cause, like a race between the OS asking us to shutdown and the payload still executing or such.

This is my belief as well.  At one time the background task mechanism had few delays so that startup was racing shutdown but we think that we have largely eliminated that with https://bugzilla.mozilla.org/show_bug.cgi?id=1832252.

Strong +1 for including `BackgroundTaskName` in a prominent place for crash bugs filed.  Suhaib, perhaps you can help with this?  `BackgroundTaskName` is a crash annotation added in https://bugzilla.mozilla.org/show_bug.cgi?id=1697875 and supported by Socorro after https://bugzilla.mozilla.org/show_bug.cgi?id=1796132.

Back to Bug 1863599 Comment 10