Skip to content

Conversation

@jamadeo
Copy link
Collaborator

@jamadeo jamadeo commented Sep 25, 2025

If you refreshed, you'd get the last goosed created, not the one that went with your window

@jamadeo jamadeo changed the title Keep one goosed client per BrowswerWindow fix: keep one goosed client per BrowswerWindow Sep 25, 2025
@jamadeo jamadeo requested a review from DOsinga September 25, 2025 00:05
},
})
);
goosedClients.set(mainWindow.id, goosedClient);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

given goosedClients is also created in this proc, will it only ever hold one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

goosedClients is created globally in the electron node process, so it will be a singleton holding one client per BrowswerWindow

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, right. thanks!

@jamadeo jamadeo merged commit 4e786db into main Sep 26, 2025
15 of 16 checks passed
@jamadeo jamadeo deleted the jackamadeo/the-right-goosed branch September 26, 2025 14:54
katzdave added a commit that referenced this pull request Sep 26, 2025
* 'main' of github.com:block/goose:
  Docs: Add link to Plug & Play video for Reddit MCP (#4852)
  remove only-pr-labels (#4842)
  Update video link in README.md to lowercase goose (#4846)
  chore: fix all warnings in test compilation (#4827)
  fix: linux builds: use gcc 10 in Linux builds (#4841)
  fix: keep one goosed client per BrowswerWindow (#4805)
  add automation for marking and closing stale PRs (#4826)
  chore: turn clippy on for test code (#4817)
  fix: pricing integration test (#4837)
  blog post on subagents vs subrecipes (#4829)
  fix chat button alignment and spacing for attachments (#4794)
  fix: remove nested double quotes in windows automation_script tool description (#4824)
  fix: a few things with the mcp snapshot test (#4818)
  Revert "fix(compaction): try to catch more context limit exceeded erors and compact" (#4820)
katzdave added a commit that referenced this pull request Sep 26, 2025
* 'main' of github.com:block/goose:
  Docs: Add link to Plug & Play video for Reddit MCP (#4852)
  remove only-pr-labels (#4842)
  Update video link in README.md to lowercase goose (#4846)
  chore: fix all warnings in test compilation (#4827)
  fix: linux builds: use gcc 10 in Linux builds (#4841)
  fix: keep one goosed client per BrowswerWindow (#4805)
  add automation for marking and closing stale PRs (#4826)
  chore: turn clippy on for test code (#4817)
  fix: pricing integration test (#4837)
katzdave added a commit that referenced this pull request Sep 29, 2025
…ovements

* 'main' of github.com:block/goose:
  Update video link in README.md to lowercase goose (#4846)
  chore: fix all warnings in test compilation (#4827)
  fix: linux builds: use gcc 10 in Linux builds (#4841)
  fix: keep one goosed client per BrowswerWindow (#4805)
  add automation for marking and closing stale PRs (#4826)
  chore: turn clippy on for test code (#4817)
  fix: pricing integration test (#4837)
HikaruEgashira pushed a commit to HikaruEgashira/goose that referenced this pull request Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants