Summary
The local stop-test-gate.sh hook consistently exits with code 143 (SIGTERM) when running the full test suite via turbo test. All tests pass but the process is killed before completion due to the hook's timeout.
Behavior
- Hook detects 52+ source files → triggers full suite fallback
turbo test runs all packages (opencode + app + console-app)
- Tests pass individually but the full suite exceeds the hook's timeout
- Process receives SIGTERM → exit code 143 (128 + 15)
Fix Options
- Increase the hook timeout for
turbo test execution
- Run only the affected package's tests instead of full suite
- Use
--filter to scope turbo test to changed packages
- Add special handling for exit code 143 (distinguish timeout from real failure)
Impact
- Non-blocking for development — all tests pass
- Noise in development workflow
Ref
Observed consistently across all sessions since hook deployment
Summary
The local
stop-test-gate.shhook consistently exits with code 143 (SIGTERM) when running the full test suite viaturbo test. All tests pass but the process is killed before completion due to the hook's timeout.Behavior
turbo testruns all packages (opencode + app + console-app)Fix Options
turbo testexecution--filterto scopeturbo testto changed packagesImpact
Ref
Observed consistently across all sessions since hook deployment