Files
TradarrV2/backend/internal/e2estack/process_linux.go
Blomios 4459a81206 test(e2e): add isolated browser journey and cleanup supervision
Add a fake-only end-to-end stack, Firefox journey, and bounded process cleanup for normal, failed, and interrupted runs.

Refs #12

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-20 23:39:02 +01:00

12 lines
326 B
Go

//go:build linux
package e2estack
import "syscall"
// ChildProcessAttrs prevents a Vite/Playwright launcher surviving e2e-stack.
// The subreaper separately owns and cleans their detached descendants.
func ChildProcessAttrs() *syscall.SysProcAttr {
return &syscall.SysProcAttr{Setpgid: true, Pdeathsig: syscall.SIGKILL}
}