Skip to content

fix(browse): make timeout and buffers configurable, add bun.lockb set…#48

Open
Ty-Robb wants to merge 4 commits intogarrytan:mainfrom
Ty-Robb:fix/browse-configurability
Open

fix(browse): make timeout and buffers configurable, add bun.lockb set…#48
Ty-Robb wants to merge 4 commits intogarrytan:mainfrom
Ty-Robb:fix/browse-configurability

Conversation

@Ty-Robb
Copy link

@Ty-Robb Ty-Robb commented Mar 14, 2026

Summary

  • Made /browse timeout and buffer sizes configurable via environment variables (BROWSE_TIMEOUT and BROWSE_BUFFER_SIZE).
  • Updated the setup script to correctly recognize bun.lockb files in addition to bun.lock, ensuring compatibility between Bun 1.0 and 1.1+.

Motivation

These are small portability and configuration fixes to make gstack more resilient across different development environments and Bun versions, paving the way for broader stack support.

Test plan

  • Verified setup script no longer exits prematurely on bun.lockb systems.
  • Verified browse buffers respect the configured high-water mark via CircularBuffer.

🤖 Authored via Spec-Driven Development

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.

1 participant