Skip to content

Make it startable from playwright and also isolate#5016

Merged
DOsinga merged 6 commits intomainfrom
playwright-controlled-and-isolated
Oct 7, 2025
Merged

Make it startable from playwright and also isolate#5016
DOsinga merged 6 commits intomainfrom
playwright-controlled-and-isolated

Conversation

@DOsinga
Copy link
Collaborator

@DOsinga DOsinga commented Oct 5, 2025

To make goose automatic testable, we need to open a debug port for playwright. to make the runs reproducible we also need to specify a folder where logs, data etc end up. to do that we need to centralize the app strategy thing. this does that.

fixes #2782

Copy link
Collaborator

@michaelneale michaelneale left a comment

Choose a reason for hiding this comment

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

works ok - looks like a complex conflict now but I like the consolidation of the app_strategy stuff

@DOsinga
Copy link
Collaborator Author

DOsinga commented Oct 6, 2025

consolidation of the app_strategy stuff

yeah that was long overdue


if (process.env.ENABLE_PLAYWRIGHT) {
console.log('[Main] Enabling Playwright remote debugging on port 9222');
app.commandLine.appendSwitch('remote-debugging-port', '9222');
Copy link
Collaborator

Choose a reason for hiding this comment

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

if it's a command-line flag, why use an environment variable? does electron-forge start -- --remote-debugging-port=9222 not do the same?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

mostly because the easier plumbing through the just -> npm run -> electron pipeline

@DOsinga DOsinga merged commit d3a222d into main Oct 7, 2025
11 checks passed
@DOsinga DOsinga deleted the playwright-controlled-and-isolated branch October 7, 2025 00:59
lifeizhou-ap added a commit that referenced this pull request Oct 7, 2025
* main:
  use agent manager for subagent (#4828)
  fix: improve Windows OS detection in CLI installation script (#4928)
  Make it startable from playwright and also isolate (#5016)
  Fix linux deeplinks not working (#5041)
  docs: embed more videos (#5042)
  Display extension install notes in "Add custom extension" form (#5036)
  Add support for headers in extensions deeplinks (#5034)
  chore: put test in the name (#4919)
  Add new subcommand for opening recipes in desktop app (#4970)
  Update system.md with softer subagent language (#5023)
  docs: add new goose tip (#4941)
  Fix nix flake double copy (#4976)
  Upgrade electron for macOS Tahoe compatibility (#5015)
Itz-Agasta pushed a commit to Itz-Agasta/goose that referenced this pull request Oct 7, 2025
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Signed-off-by: Itz-Agasta <rupamgolui69@gmail.com>
ARYPROGRAMMER pushed a commit to ARYPROGRAMMER/goose that referenced this pull request Oct 7, 2025
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Signed-off-by: Arya Pratap Singh <notaryasingh@gmail.com>
katzdave added a commit that referenced this pull request Oct 7, 2025
…aned-tool-calls

* 'main' of github.com:block/goose: (38 commits)
  docs: misc updates for extensions directory (#5035)
  updating recipe scanner workflows for detecting recipes from forked repos (#5056)
  feat(prompt-library): add Smart Meeting Assistant advanced prompt (#4998) (#5031)
  Allow auto focus and typing while chat is initializing (#5043)
  docs(blog): Add blog for running Goose in containerized envs  (#5052)
  fix: Add WINDOWS_CODESIGN_CERTIFICATE to nightly workflow (#5037)
  Developer `analyze` tool improvement (#5030)
  use agent manager for subagent (#4828)
  fix: improve Windows OS detection in CLI installation script (#4928)
  Make it startable from playwright and also isolate (#5016)
  Fix linux deeplinks not working (#5041)
  docs: embed more videos (#5042)
  Display extension install notes in "Add custom extension" form (#5036)
  Add support for headers in extensions deeplinks (#5034)
  chore: put test in the name (#4919)
  Add new subcommand for opening recipes in desktop app (#4970)
  Update system.md with softer subagent language (#5023)
  docs: add new goose tip (#4941)
  Fix nix flake double copy (#4976)
  Upgrade electron for macOS Tahoe compatibility (#5015)
  ...
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.

[Feature Request] Accept command line flag/argument to allow goose to use a different config file

3 participants