# e2e: register factoryai-droid concurrency gate

`489e825`→[main](/content/gh/entireio/cli/commits/main/index.html)·

toothbrush·2w ago·1 file·+4 added/-0 removed

Same latent no-op as cursor-cli: the workflow sets
E2E\_CONCURRENT\_TEST\_LIMIT=1 for factoryai-droid but the agent never
called RegisterGate, so AcquireSlot did nothing and it ran at full
parallelism. Register the gate (default 1) so the intended serialization
is respected. Can re-parallelise later if it proves safe.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

## Sessions

c076d5eed5dcView transcript

[?\
Make E2E Tests Reliable on MainClaude Code·Opus 4.8\[1m\]·1 step](/content/gh/entireio/cli/session/cb256a5c-45a5-4513-be01-ea2f88739aec#timeline-c076d5eed5dc/index.html)

## Changes

1

- e2e/agents

- Mdroid.go+4

```
19 unmodified lines

20
21
22
23
24
25
26
27
28
29

19 unmodified lines

return
	}
	Register(&Droid{})
	// factoryai-droid is run serially in CI (E2E_CONCURRENT_TEST_LIMIT=1).
	// Without a registered gate, AcquireSlot is a no-op and that limit has no
	// effect; register the gate so the intended serialization is respected.
	RegisterGate("factoryai-droid", 1)
}

// Droid implements the Agent interface for Factory AI Droid.
```

Me2e/agents/droid.go+4
