Landings for Stack Containing D292032

Successfully landed

Landing requested on , by dsmith@mozilla.com.

Landing Job: 34351

Revisions: D292032 diff 1241054 ← D292024 diff 1241026

Last update:

Result: 7b51fd50a1fbdf8e794dde1dce918c0134231c9a on firefox-beta@beta (git)

Links: Treeherder

Uplifts

D292032 is approved for uplift Bug 2026191 · Assessment #1808

Assessment #1808

, by ogonzalez@mozilla.com. Requested for uplift from D290290

User impact: Starter prompt generation is triggered when a tab is focused, but if a user switches tabs before the LLM backend returns a response the starter prompts were being loaded into the wrong tab. This... Risk: Low

Show all answers
User impact if declined/Reason for urgency Starter prompt generation is triggered when a tab is focused, but if a user switches tabs before the LLM backend returns a response the starter prompts were being loaded into the wrong tab. This could also cause unintended tab context to then be used if a user clicked on one of the starters prompts meant for a different tab. The patch provides the request context of which tab was in focus when starter prompts were triggered so that when the response is received we can check if the same tab is still in focus before applying the starter prompts to the sidebar. This uplift depends on a fix in Bug 2024781 which was uplifted here: https://lando.moz.tools/uplift/jobs/1484/
Code covered by automated testing? Yes
Fix verified in Nightly? Yes
Needs manual QE testing? Yes
Steps to reproduce for manual QE testing 1. Open Smart Window 2. Navigate to a website, some starter prompts should appear for the empty conversation in the sidebar 3. Open a second tab 4. Navigate to a different site in the second tab, some starter prompts should now appear for the second site in the second tab 5. Click on Tab 1, and quickly before starter prompts appear for Tab 1 click back to Tab 2 6. Tab 2 coming into focus will trigger new starter prompts, when they appear they should always be contextual to the actual tab in focus, not Tab 1.
Risk associated with taking this patch Low
Explanation of risk level Risk should be low, changes only affect LLM backend responses for the starter prompts in the Smart Window
String changes made/needed? None.
Is Android affected? No
Train Stack tip Status
firefox-beta — Failed View job
Raw error output:
Aborting, could not apply patch buffer for 290290.
Error running git command; sanitised_command=['git', 'cherry-pick', 'd0f8acfbc6776bcd676ea5c3289c19ead807d114'], path='/files/repos/firefox-beta', error: could not apply d0f8acfbc677... Bug 2026191 - guard starter prompts from loading into wrong tab r=ai-frontend-reviewers,Mardak
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".

To manually resolve conflicts and submit your uplift:

git fetch origin
git switch -c uplift-firefox-beta-D290290 origin/beta
git cherry-pick d0f8acfbc6776bcd676ea5c3289c19ead807d114
moz-phab uplift --train firefox-beta --assessment-id 1808

Run these commands from your Firefox checkout. Resolve any merge conflicts during the patch application process, then submit with moz-phab uplift.

Note: These commands assume your official Firefox remote is named origin. If you use a different remote name, adjust the commands accordingly.

D292032 Submitted with moz-phab

Stack containing revision D292032

Land Bug Status Revision Reviewers
2024781
Blocked
Revision is closed.
Closed
D292024: Bug 2024781 - sidebar should default to open on all tabs going from fullpage mode to sidebar mode
  • @release-managers accepted a prior diff
  • @diannaS accepted a prior diff
2026191
Blocked
Revision is closed.
Closed
D292032: Bug 2026191 - guard starter prompts from loading into wrong tab
  • @release-managers accepted a prior diff
  • @diannaS accepted a prior diff