e2e: register cursor-cli concurrency gate (PR #1577 review)

main

Commit

toothbrush3mo ago

E2E_CONCURRENT_TEST_LIMIT=2 for cursor-cli was a no-op: AcquireSlot only throttles agents that called RegisterGate, and cursor-cli never did, so its tests ran at full go-test parallelism and kept hitting "Increase limits for faster responses". Register the gate (default 2) so the throttle actually applies.

Note: factoryai-droid has the same latent no-op (sets the env limit but registers no gate) — left as-is pending a decision on whether to actually serialize it.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 164b295c482a

Checkpoints

Make E2E Tests Reliable on Main

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1