carlos / platform Public

host: keep the large-box test's parent serial (Astra review)

awaitListening holds each child agent to a 3 s startup budget; as a
parallel test its children competed with the package's newly parallel
tests on a loaded CI box and could fail on correct startup. The parent
is serial again; its scenarios still run beside each other.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev c76d6a76f78b51dfd2ab42f755faba2c9f14c600 parent 4138997
1 file changed, +4 −6
  • internal/host/startup_largebox_linux_test.go +4 −6
diff --git a/internal/host/startup_largebox_linux_test.go b/internal/host/startup_largebox_linux_test.go
index 359732665..9f3c31bea 100644
--- a/internal/host/startup_largebox_linux_test.go
+++ b/internal/host/startup_largebox_linux_test.go
@@ -144,12 +144,10 @@ func TestStartupLargeBoxEndToEnd(t *testing.T) {
if path := os.Getenv(largeBoxAgentEnv); path != "" {
os.Exit(runLargeBoxAgent(path))
}
- // The scenarios wait out production bounds (the latch's 30 s, the
- // edge's 10 s drain) in child processes, so the parent runs beside the
- // package's other parallel tests rather than holding the serial ones.
- // It sets no environment, umask or package state of its own; the
- // children are separate processes.
- t.Parallel()
+ // The parent stays serial on purpose. awaitListening holds each child
+ // agent to a 3 s startup budget, so running beside the package's
+ // parallel tests would put their load into that measurement. The
+ // scenarios still run beside each other.
t.Run("cold instance control", func(t *testing.T) {
t.Parallel()
testLargeBoxColdControl(t)