I see, it looks like the issue happens when the second agent tries to use a snapshot that the first agent is still building, or just finished building. That would explain why one runs and the other gets stuck on “Waiting for snapshot”.
For now, as a workaround, please run the agents one after another, not in parallel. Wait until the first one gets past the “Setting up repository” stage, then start the second.
A couple more questions:
Are you using private workers for cloud agents, or the default infrastructure?
Is the repo size always the same and always the same repo, or different repos?
Let me know if the issue still happens even with sequential runs.
Thanks for the info, the picture is clear now. The problem is that parallel agents on the same repo are conflicting over the snapshot. The second one tries to use a snapshot that the first is still building, or has just finished building.
For now, running things sequentially is the only reliable workaround. I’ll let you know if there’s any news on a fix.