Closed Bug 1937619 Opened 2 months ago Closed 2 months ago

Extensions trial API inference stops working after an idle timeout

Categories

(Core :: Machine Learning, defect)

defect

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: zombie, Assigned: zombie)

References

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

I'm updating the example extension for bug 1932837, and noticed that after a couple of minutes of inactivity, running of inference for an already created engine throws:

can't access property "postMessage", this[#port] is null`

at https://searchfox.org/mozilla-central/rev/937d8e66a5/toolkit/components/ml/actors/MLEngineParent.sys.mjs#1030

which probably means we should be saving the engine options at creation and re-creating it as needed.

Whiteboard: [addons-jira]
Assignee: nobody → tomica
Status: NEW → ASSIGNED
Pushed by tjovanovic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e0b5792b15ff Re-create ML engine for extensions if it timed out r=tarek
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
Regressions: 1939384
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: