Closed Bug 2016702 Opened 2 months ago Closed 1 month ago

The Assistant remains stuck in infinite loading after a request is made from a quick prompt in a continued conversation

Categories

(Core :: Machine Learning: Frontend, defect, P1)

Desktop
Unspecified
defect

Tracking

()

VERIFIED FIXED
149 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox147 --- unaffected
firefox148 --- unaffected
firefox149 --- verified
firefox150 --- verified

People

(Reporter: rdoghi, Assigned: Mardak)

References

(Blocks 2 open bugs, Regression)

Details

(Keywords: regression, Whiteboard: [genai][chat])

Attachments

(2 files)

Attached video Retry.mp4

Found in

  • Nightly 149.0a1 (2026-02-13)

Affected versions

  • Nightly 149.0a1 (2026-02-13)

Affected platforms

  • all

Steps to reproduce

  1. Open the Smart Window.
  2. Ask the Assistant about abiogenesis.
  3. Click the Google search provided by the assistant and carry the conversation.
  4. Ask if there are any images.
  5. Click the Quick prompts thats show the process or the miller-urey experiment.

Expected result

  • The Assistant should provide the information or a link to some images.

Actual result

  • Clicking the Quick prompt will have the Assistant stuck in infinite loading.

Please note that Im also getting this Console error:
run_search: Original tab no longer exists, aborting search handoff to avoid interfering with existing conversation Chat.sys.mjs:202:23
fetchWithHistory moz-src:///browser/components/aiwindow/models/Chat.sys.mjs:202

Regression range
N/A

Summary: The Assistant remains stuck in infinite loading after a request is made from a quick prompt from a continued conversation → The Assistant remains stuck in infinite loading after a request is made from a quick prompt in a continued conversation

After further testing this seems to happen every time we continue the conversation from the Homepage into the Sidebar. It is no related to the Quick prompts.

  1. Type Ps5 games in the Home page smart bar and select Search.
  2. Open the Sidebar and ask the Assistant about ps5 top 10 games.

The assistant gets stuck in infinite loading.

console.error: "run_search: Associated window not available or closed, aborting search handoff"

Blocks: 1988017
Severity: -- → S2
Flags: needinfo?(ngrato)
Keywords: regression
Regressed by: 2014802

looks like bug 2012830 did a bad merge conflict resolution changing the context back to win instead of bug 2014802's browsingContext

Flags: needinfo?(ngrato)
Regressed by: 2012830
No longer regressed by: 2014802

:bjohns, since you are the author of the regressor, bug 2012830, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(bjohns)
See Also: → 2016859
See Also: → 2014802

looks like bug 2014802 might have introduced some logic issue with checking the browsing context post tool call

Flags: needinfo?(bjohns)
Regressed by: 2014802

correctly resolve merge conflict between D280868 and D282505 with context object, use pre-tool-call browsing context for post-tool-call checks

Assignee: nobody → edilee
Status: NEW → ASSIGNED
Pushed by elee@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ae047b8aa293 https://hg.mozilla.org/integration/autoland/rev/57708731d14a The Assistant remains stuck in infinite loading after a request is made from a quick prompt in a continued conversation r=ngrato,ai-frontend-reviewers,ai-models-reviewers,bjohns
Pushed by pstanciu@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/89bd645fa520 https://hg.mozilla.org/integration/autoland/rev/fc76f7f32260 Revert "Bug 2016702 - The Assistant remains stuck in infinite loading after a request is made from a quick prompt in a continued conversation r=ngrato,ai-frontend-reviewers,ai-models-reviewers,bjohns" for causing mochitests failures @browser_smartwindow_run_search.js

Backed out for causing mochitests failures @browser_smartwindow_run_search.js

Flags: needinfo?(edilee)
Pushed by elee@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/91b534bed115 https://hg.mozilla.org/integration/autoland/rev/82aeef567263 The Assistant remains stuck in infinite loading after a request is made from a quick prompt in a continued conversation r=ngrato,ai-frontend-reviewers,ai-models-reviewers,bjohns
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch

This issue is verified as fixed in our latest 149 and Nightly 150.0a1 (2026-02-24)

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

Attachment

General

Created:
Updated:
Size: