Closed Bug 2015576 Opened 3 months ago Closed 2 months ago

Handle tab switches during long running conversation responses from LLM

Categories

(Core :: Machine Learning: Frontend, task)

task

Tracking

()

VERIFIED FIXED
150 Branch
Tracking Status
firefox-esr140 --- disabled
firefox148 --- disabled
firefox149 --- disabled
firefox150 --- verified

People

(Reporter: omarg, Assigned: omarg)

References

(Blocks 1 open bug)

Details

(Whiteboard: [genai][chat])

Attachments

(1 file)

Ensure conversations that are actively receiving a response continue to receive the response if the user navigates away from the tab while receiving the response.

Whiteboard: [genai][chat]
QA Contact: rdoghi
Pushed by ogonzalez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/70767719869c https://hg.mozilla.org/integration/autoland/rev/58045e4aedf5 enable switching tabs while LLM responses are streaming r=ai-frontend-reviewers,ai-models-reviewers,ngrato
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5443bffd4b3a https://hg.mozilla.org/integration/autoland/rev/458988f2429e Revert "Bug 2015576 - enable switching tabs while LLM responses are streaming r=ai-frontend-reviewers,ai-models-reviewers,ngrato" for causing multiple chat related failures
Failure log -> TEST-UNEXPECTED-FAIL | browser/components/aiwindow/models/tests/browser/browser_conversation_stream.js
Failure log -> TEST-UNEXPECTED-FAIL | browser/components/aiwindow/models/tests/xpcshell/test_Chat.js

These first two are failures outside of browser/components/aiwindow/ui/test folder - I did not notice these locally, will fix these errors.

browser_smartwindow_tab_switching.js failure is not replicating locally, trying to replicate to figure out cause of failure.

Flags: needinfo?(ogonzalez)

browser_smartwindow_tab_switching.js failure only appears with --enable-debug builds, fixing.

Pushed by ogonzalez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/019e1529147d https://hg.mozilla.org/integration/autoland/rev/612212f6cbad enable switching tabs while LLM responses are streaming r=ai-frontend-reviewers,ai-models-reviewers,ngrato
Pushed by agoloman@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f47b8d266551 https://hg.mozilla.org/integration/autoland/rev/f31a4e576a42 Revert "Bug 2015576 - enable switching tabs while LLM responses are streaming r=ai-frontend-reviewers,ai-models-reviewers,ngrato" for causing xpc failures @test_ChatMessage.js.

Backed out for causing xpc failures @test_ChatMessage.js.

Flags: needinfo?(ogonzalez)
Pushed by ogonzalez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0a8842dc04ad https://hg.mozilla.org/integration/autoland/rev/52f52ad2f983 enable switching tabs while LLM responses are streaming r=ai-frontend-reviewers,ai-models-reviewers,ngrato
Flags: needinfo?(ogonzalez)
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Blocks: 2023005

Verified as fixed in our latest Nightly build 150.0a1 (2026-03-13)

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-ver-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: