Landing Job 33655

Failed to land

Landing requested on , by elee@mozilla.com.

Stack: D290290

Revisions: D290290 diff 1238457

While applying revision D290290 to firefox-autoland, the following files had conflicts:

(Hint: try rebasing your changes on the latest commits from firefox-autoland and re-submitting.)

  • browser/components/aiwindow/ui/components/ai-window/ai-window.mjs @ 3240cbf16fa864221839d7f9a035e9929cf6d465
  • diff a/browser/components/aiwindow/ui/components/ai-window/ai-window.mjs b/browser/components/aiwindow/ui/components/ai-window/ai-window.mjs	(rejected hunks)
    @@ -599,10 +599,12 @@
    ...
    
    diff a/browser/components/aiwindow/ui/components/ai-window/ai-window.mjs b/browser/components/aiwindow/ui/components/ai-window/ai-window.mjs	(rejected hunks)
    @@ -599,10 +599,12 @@
           this.#continueAfterToolResult();
         }
       }
     
       async firstUpdated() {
    +    const selectedTab = this.#getCurrentTab();
    +
         // Create a real XUL <browser> element from the chrome document
         const doc = this.ownerDocument; // browser.xhtml
         const browser = doc.createXULElement("browser");
     
         browser.setAttribute("id", "aichat-browser");
    @@ -1641,11 +1660,11 @@
         // Hide chat-active state
         this.#setBrowserContainerActiveState(false);
     
         this.showStarters = false;
     
    -    this.loadStarterPrompts();
    +    this.loadStarterPrompts(false, selectedTab);
       }
     
       showSearchingIndicator(isSearching, searchQuery) {
         this.#dispatchMessageToChatContent({
           role: "loading",
    
    in addition, Git reported this error: while searching for:
        // Hide chat-active state
        this.#setBrowserContainerActiveState(false);
    
        this.showStarters = false;
    
        this.loadStarterPrompts();
      }
    
      showSearchingIndicator(isSearching, searchQuery) {
        this.#dispatchMessageToChatContent({
          role: "loading",
    
    
  • browser/components/aiwindow/ui/components/ai-window/ai-window.mjs @ 3240cbf16fa864221839d7f9a035e9929cf6d465
  • diff a/browser/components/aiwindow/ui/components/ai-window/ai-window.mjs b/browser/components/aiwindow/ui/components/ai-window/ai-window.mjs	(rejected hunks)
    @@ -599,10 +599,12 @@
    ...
    
    diff a/browser/components/aiwindow/ui/components/ai-window/ai-window.mjs b/browser/components/aiwindow/ui/components/ai-window/ai-window.mjs	(rejected hunks)
    @@ -599,10 +599,12 @@
           this.#continueAfterToolResult();
         }
       }
     
       async firstUpdated() {
    +    const selectedTab = this.#getCurrentTab();
    +
         // Create a real XUL <browser> element from the chrome document
         const doc = this.ownerDocument; // browser.xhtml
         const browser = doc.createXULElement("browser");
     
         browser.setAttribute("id", "aichat-browser");
    @@ -1641,11 +1660,11 @@
         // Hide chat-active state
         this.#setBrowserContainerActiveState(false);
     
         this.showStarters = false;
     
    -    this.loadStarterPrompts();
    +    this.loadStarterPrompts(false, selectedTab);
       }
     
       showSearchingIndicator(isSearching, searchQuery) {
         this.#dispatchMessageToChatContent({
           role: "loading",
    
    in addition, Git reported this error: while searching for:
        // Hide chat-active state
        this.#setBrowserContainerActiveState(false);
    
        this.showStarters = false;
    
        this.loadStarterPrompts();
      }
    
      showSearchingIndicator(isSearching, searchQuery) {
        this.#dispatchMessageToChatContent({
          role: "loading",
    
    

Last update:

Raw error output:
Problem while applying patch in revision 290290:

Checking patch browser/components/aiwindow/ui/test/browser/head.js...
Checking patch browser/components/aiwindow/ui/test/browser/browser_smartwindow_prompts.js...
Checking patch browser/components/aiwindow/ui/modules/AIWindowUI.sys.mjs...
Checking patch browser/components/aiwindow/ui/components/ai-window/ai-window.mjs...
error: while searching for:
      this.#continueAfterToolResult();
    }
  }

  async firstUpdated() {
    // Create a real XUL <browser> element from the chrome document
    const doc = this.ownerDocument; // browser.xhtml
    const browser = doc.createXULElement("browser");

    browser.setAttribute("id", "aichat-browser");

error: patch failed: browser/components/aiwindow/ui/components/ai-window/ai-window.mjs:599
Hunk #2 succeeded at 649 (offset 24 lines).
Hunk #3 succeeded at 666 (offset 24 lines).
Hunk #4 succeeded at 688 (offset 24 lines).
Hunk #5 succeeded at 737 (offset 24 lines).
Hunk #6 succeeded at 1651 (offset 32 lines).
error: while searching for:
    // Hide chat-active state
    this.#setBrowserContainerActiveState(false);

    this.showStarters = false;

    this.loadStarterPrompts();
  }

  showSearchingIndicator(isSearching, searchQuery) {
    this.#dispatchMessageToChatContent({
      role: "loading",

error: patch failed: browser/components/aiwindow/ui/components/ai-window/ai-window.mjs:1641
Applied patch browser/components/aiwindow/ui/test/browser/head.js cleanly.
Applied patch browser/components/aiwindow/ui/test/browser/browser_smartwindow_prompts.js cleanly.
Applied patch browser/components/aiwindow/ui/modules/AIWindowUI.sys.mjs cleanly.
Applying patch browser/components/aiwindow/ui/components/ai-window/ai-window.mjs with 2 rejects...
Rejected hunk #1.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
Hunk #5 applied cleanly.
Hunk #6 applied cleanly.
Rejected hunk #7.