fix: cap git subprocesses and remove deadline race #549

Merged
dries merged 2 commits from fix/537-539-git-cap-race into main 2026-08-24 00:49:26 +02:00
Owner

Summary

  • enforce the eight-process git fork cap in gitexec across status, diff, branch, worktree, and forge operations
  • preserve cancellation and panic-safe slot release with regression coverage
  • snapshot the body deadline test timeout before SSE handlers start

Closes #537
Closes #539

Testing

  • make lint
  • make test
  • go test -race ./internal/server
  • go test -race ./internal/gitexec ./internal/git
## Summary - enforce the eight-process git fork cap in `gitexec` across status, diff, branch, worktree, and forge operations - preserve cancellation and panic-safe slot release with regression coverage - snapshot the body deadline test timeout before SSE handlers start Closes #537 Closes #539 ## Testing - `make lint` - `make test` - `go test -race ./internal/server` - `go test -race ./internal/gitexec ./internal/git`
fix: cap git subprocesses and remove deadline race
All checks were successful
CI / Frontend (pull_request) Successful in 8m36s
CI / Playwright E2E (pull_request) Successful in 9m55s
CI / Backend (pull_request) Successful in 11m43s
CI / Build (pull_request) Successful in 5m33s
CI / Coverage Results (pull_request) Successful in 41s
CI / Semantic Tag (pull_request) Successful in 10s
2caeb96479

Coverage ratchet: ✅ pass

Suite Baseline This PR Δ
frontend 72.23% 72.23% +0.00 ✅
go 81.50% 81.50% +0.00 ✅

Tolerance: -0.1%. Baseline stored on gh-pages.

<!-- coverage-ratchet --> ### Coverage ratchet: ✅ pass | Suite | Baseline | This PR | Δ | | |---|---|---|---|---| | frontend | 72.23% | 72.23% | +0.00 | ✅ | | go | 81.50% | 81.50% | +0.00 | ✅ | _Tolerance: -0.1%. Baseline stored on `gh-pages`._
fix: address git process cap review
All checks were successful
CI / Frontend (pull_request) Successful in 8m8s
CI / Backend (pull_request) Successful in 9m44s
CI / Playwright E2E (pull_request) Successful in 8m38s
CI / Build (pull_request) Successful in 4m26s
CI / Semantic Tag (pull_request) Successful in 8s
CI / Coverage Results (pull_request) Successful in 21s
dc18afef82
dries merged commit 27e0eb03fe into main 2026-08-24 00:49:26 +02:00
dries deleted branch fix/537-539-git-cap-race 2026-08-24 00:49:26 +02:00
Sign in to join this conversation.
No description provided.