Across several cloud agents I’ve been getting “Can’t reach the AI provider”, then stalled, then terminal is unresponsive
Steps to Reproduce
Making a new cloud agent solved at first, but lately it’s happened several times - including when I tried to resume a stalled thread just now.
Expected Behavior
Cloud agent isn’t supposed to take 7 hours…
Operating System
Other
Version Information
iOS v1.0.0
For AI issues: which model did you use?
Composer 2.5
For AI issues: add Request ID with privacy disabled
bc-019f16e5-f188-7131-998b-bc1932b0a70b
bc-019f16a9-1895-7935-9b58-5114c5792e5c - network hang
bc-019f168e-099c-7404-a573-f17b0500f4d5
Additional Information
It’s trying to edit the same project? Seems to be getting hung on similar steps, like running smoke verification on the repo /the-motherlode. Hopefully there’s nothing specific about my code that’s causing problems, it’s pretty benign.
Thanks for flagging this, and sorry for the trouble. I looked into your recent Cloud Agent runs, and the issue is that the work is using more memory than the machine has available, so it runs out of resources and the agent stalls or times out. Your environment is also running a full desktop setup alongside your app, which adds to the load.
The below steps should help alleviate the issue:
Lower how much runs at once. If you are running tests, reduce parallelism or run them in smaller batches instead of the whole suite at once, and avoid loading large datasets fully into memory.
Trim the environment. If you do not need a desktop or browser-based testing, removing that setup frees up resources.
Keep individual commands shorter. Very long commands can be stopped automatically, so split big builds or test runs into smaller steps.
If a session becomes unresponsive, start a fresh agent on a new branch for a clean machine.