You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
setup: browse binary not compiled when gen:skill-docs fails #482
After upgrading gstack (v0.11.15.0 → v0.11.18.2), the browse binary is missing from browse/dist/. The ./setup script reports success ("gstack ready") but browse commands fail with "no such file or directory".
Root cause
The build script in package.json chains all steps with &&:
bun run gen:skill-docs && bun run gen:skill-docs --host codex && bun build --compile browse/src/cli.ts --outfile browse/dist/browse && ...
If gen:skill-docs fails (e.g. missing Codex host config, or any template error), the entire chain stops — the bun build --compile steps never run. The || true at the end masks the exit code, so ./setup doesn't detect the failure.
The Node server bundle (browse/scripts/build-node-server.sh) runs separately and succeeds, so ./setup prints "Node server bundle ready" and "gstack ready" even though the binary wasn't compiled.
Expected behavior
./setup should either:
Separate gen:skill-docs from the compile steps so doc generation failure doesn't block binary compilation
Or explicitly check for browse/dist/browse after bun run build and retry just the compile step
Workaround
cd~/.claude/skills/gstack
bun build --compile browse/src/cli.ts --outfile browse/dist/browse
Environment
Linux x86_64 (Arch/CachyOS)
bun 1.3.5
gstack v0.11.18.2
Upgraded from v0.11.15.0 via git reset --hard origin/main && ./setup
Activity
fix: decouple doc generation from binary compilation in build script
fix(build): decouple doc generation from binary compilation
fix: community PRs + security hardening + E2E stability (v0.12.7.0) (g…
fix: community PRs + security hardening + E2E stability (v0.12.7.0) (g…
fix: community PRs + security hardening + E2E stability (v0.12.7.0) (g…
fix: decouple doc generation from binary compilation in build script
fix: community PRs + security hardening + E2E stability (v0.12.7.0) (g…