Skip to content

build: raise default stack reserve to 8 MB#8234

Merged
DOsinga merged 1 commit intoaaif-goose:mainfrom
kevklam:feature/windows-debug-stack-8m
Apr 2, 2026
Merged

build: raise default stack reserve to 8 MB#8234
DOsinga merged 1 commit intoaaif-goose:mainfrom
kevklam:feature/windows-debug-stack-8m

Conversation

@kevklam
Copy link
Copy Markdown
Contributor

@kevklam kevklam commented Apr 1, 2026

Summary

See #6025 - on Windows, the default stack size is only 1mb, compared to MacOS/Linux where 8mb is more typical. Rust async futures are fairly demanding stack wise, and debug builds fail at runtime with stack overflow.

Testing

Manual testing - the repro steps are simple (Windows only):

  1. cargo build -p goose-cli
  2. run 'goose acp' and send an initialize payload via stdio
  3. application terminates with stack overflow

Issue repros without the stack increase, and does not repro with the stack increase.

Related Issues

Relates to #6025

Screenshots/Demos (for UX changes)

n/a

Copy link
Copy Markdown
Collaborator

@DOsinga DOsinga left a comment

Choose a reason for hiding this comment

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

this is crazy! thanks for fixing

@DOsinga
Copy link
Copy Markdown
Collaborator

DOsinga commented Apr 1, 2026

can you do the DCO thing so we can get this in?

Signed-off-by: Kevin Lam <kevklam@users.noreply.github.com>
@kevklam kevklam force-pushed the feature/windows-debug-stack-8m branch from a30af22 to 7437b17 Compare April 2, 2026 05:27
@kevklam
Copy link
Copy Markdown
Contributor Author

kevklam commented Apr 2, 2026

Done - thanks! Not familiar with DCO, but seems relatively straightforward.

@DOsinga DOsinga added this pull request to the merge queue Apr 2, 2026
Merged via the queue into aaif-goose:main with commit dba12ba Apr 2, 2026
21 checks passed
lifeizhou-ap added a commit that referenced this pull request Apr 7, 2026
* origin/main: (32 commits)
  docs: rework homepage and add aaif migration blog post (#8356)
  chore(aaif): rename a bunch of repository references (#8152)
  fix: use OPENAI_API_KEY secret for recipe security scanner (#8358)
  feat: configurable extension timeouts via ACP _meta and global default (#8295)
  fix: hide hidden extensions in UI (#8346)
  refactor: skills as its own platform ext (#8244)
  fix baseUrl (#8347)
  Fix desktop slash commands (#8341)
  fix(cli): display platform-correct secrets path in keyring config dialog (#8328)
  feat(acp): add reusable ACP provider controls (#8314)
  fix: resolve MDX compilation error in using-goosehints.md (#8332)
  fix: use v1beta1 API version for Google/MaaS models on GCP Vertex AI (#8278)
  docs: add MCP Roots guide (#8252)
  rust acp client for extension methods (#8227)
  fix: reconsolidate split tool-call messages to follow OpenAI format (#7921)
  fix: clean up MCP subprocesses after abrupt parent exit (#8242)
  build: raise default stack reserve to 8 MB (#8234)
  fix(config): honour GOOSE_DISABLE_KEYRING from config.yaml at startup (#8219)
  feat: add configurable fast_model for declarative providers (#8194)
  fix(authentication): Allow connecting to Oauth servers that use protected-resource fallback instead of the WWW-authenticate header (#8148)
  ...
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.

2 participants