anomalyco / anomalyco/opencode
pre-push hook (bun typecheck) crashes low-ram machines because of unbounded Turbo concurrency
Open
@jlongster is already working on this.
Since Jul 22, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
My 8GB M1 MacBook Air crashes every time when pushing to my forked repo due to how the pre push hook runs turbo typecheck across every package without a concurrency limit set. Defaulting to 10 parallel tsgo processes, Turbo, completely exhausts the machine's RAM, freezing my machine on every push (use '--no-verify' to avoid). It would be helpful if concurrencies were capped or the task scope was limited to changed packages only.
Plugins
No response
OpenCode version
v1.18.4
Steps to reproduce
- Clone the repo with the default .husky/pre-push hook active
- Make a commit and run git push without --no-verify
- Watch memory spike as ~10 tsgo processes launch simultaneously
Screenshot and/or share link
Operating System
macOS Sequoia 15.6.1, on a MacBook Air (M1, 2020)
Terminal
VSCode Integrated Terminal
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.