gstack/browse
Garry Tan 67a96fed9b
fix(browse): recover a late-healthy detached daemon instead of a false "Server failed to start"
startServer spawns the daemon detached + unref'd, then polls health for a
fixed budget. On a loaded machine the budget can elapse in the gap between
the loop's last tick and the daemon becoming ready — the CLI reported
"Server failed to start within Ns" while the very next `browse status`
showed a healthy server. Add a final readState()+isServerHealthy() re-check
before the timeout throw, and make the budget env-overridable via
BROWSE_START_TIMEOUT (BROWSE_* tunable convention). Structural + behavioral
tests pin both invariants.

Closes #1846.

Contributed by @harjothkhara (PR #1847).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-14 20:21:00 -07:00
..
bin feat: multi-agent support — gstack works on Codex, Gemini CLI, and Cursor (v0.9.0) (#226) 2026-03-19 18:20:50 -07:00
scripts fix(build): escape literal braces in the bun:sqlite stub regex 2026-08-14 20:20:59 -07:00
src fix(browse): recover a late-healthy detached daemon instead of a false "Server failed to start" 2026-08-14 20:21:00 -07:00
test fix(browse): recover a late-healthy detached daemon instead of a false "Server failed to start" 2026-08-14 20:21:00 -07:00
PLAN-snapshot-dropdown-interactive.md fix: snapshot -i auto-detects dropdown/popover interactive elements (#845) 2026-04-05 22:57:45 -07:00
SKILL.md fix(preamble): update_check:false gates the prose, not just the binary 2026-08-14 20:20:55 -07:00
SKILL.md.tmpl v1.57.8.0 feat: browse js/eval --out render-to-file (canonical Chromium for offline rendering) (#1929) 2026-06-09 21:02:30 -07:00