Upstream: fullsend-ai/issues/5672
What happens
When the behaviour suite leases numbered pool repos (test-repo-NN) and RepoEnsurer runs fullsend inference provision for several repos at once, ensure sometimes fails with:
provisioning WIF for inference: granting Agent Platform access for repo <org>/test-repo-NN: IAM policy conflict (status 409)
The leased scenario then fails in the after-scenario / background ensure path before the Gherkin steps under test run.
Seen repeatedly on PR fullsend-ai#5407 behaviour jobs (e.g. https://github.com/fullsend-ai/fullsend/actions/runs/30350962576 on test-repo-08, https://github.com/fullsend-ai/fullsend/actions/runs/30354560530 on test-repo-10). Re-running the failed job often passes once contention clears.
What should happen
Parallel ensure / inference provision for distinct pool repos should not leave scenarios failing permanently on a transient IAM policy conflict. Either provision succeeds after contention, or ensure surfaces a clear, recoverable path so the suite is not flaky.
How to reproduce
- Run behaviour CI (
make behaviour-test / E2E behaviour job) with default GODOG_CONCURRENCY.
- Force several repos through create +
inference provision in the same window (fresh test-repo-NN missing post-install files).
- Intermittently observe
IAM policy conflict (status 409) during Agent Platform access grant.
Context
Follow-up from fullsend-ai#5407. Orthogonal to URL-sourced harness FetchPolicy / host-repo work; infra flake in pool ensure. Always-re-vendor on already-installed repos (also from fullsend-ai#5407) may increase concurrent GCP IAM traffic and make this more visible, but the conflict appears during new repo provision as well.
No dedicated open issue found for this WIF/IAM 409 in behaviour ensure.
Upstream: fullsend-ai/issues/5672
What happens
When the behaviour suite leases numbered pool repos (
test-repo-NN) andRepoEnsurerrunsfullsend inference provisionfor several repos at once, ensure sometimes fails with:The leased scenario then fails in the after-scenario / background ensure path before the Gherkin steps under test run.
Seen repeatedly on PR fullsend-ai#5407 behaviour jobs (e.g. https://github.com/fullsend-ai/fullsend/actions/runs/30350962576 on
test-repo-08, https://github.com/fullsend-ai/fullsend/actions/runs/30354560530 ontest-repo-10). Re-running the failed job often passes once contention clears.What should happen
Parallel ensure / inference provision for distinct pool repos should not leave scenarios failing permanently on a transient IAM policy conflict. Either provision succeeds after contention, or ensure surfaces a clear, recoverable path so the suite is not flaky.
How to reproduce
make behaviour-test/ E2E behaviour job) with defaultGODOG_CONCURRENCY.inference provisionin the same window (freshtest-repo-NNmissing post-install files).IAM policy conflict (status 409)during Agent Platform access grant.Context
Follow-up from fullsend-ai#5407. Orthogonal to URL-sourced harness FetchPolicy / host-repo work; infra flake in pool ensure. Always-re-vendor on already-installed repos (also from fullsend-ai#5407) may increase concurrent GCP IAM traffic and make this more visible, but the conflict appears during new repo provision as well.
No dedicated open issue found for this WIF/IAM 409 in behaviour ensure.