How to see Cloud Agent Setup building environment logs?

Hi everybody!

How can I see logs of building testing environment in Cloud Agent Setup? All I can see is:

[Status] Creating testing environment… (Snapshot ID: snapshot-20251113-68b5dd53-23bb-4752-8c46-3b01a00b8864, Request ID: 9bfa6146-57d8-44a2-8ffb-b3e1dcad18d2)
[Warning] Failed to create testing environment: [internal] internal error
[Retry] Retrying in 2 seconds (Attempt 2/3)…
[Status] Creating testing environment… (Attempt 2/3) (Snapshot ID: snapshot-20251113-68b5dd53-23bb-4752-8c46-3b01a00b8864, Request ID: 1df4f22a-d4fe-4cca-994a-8dd73fd21f29)
[Warning] Failed to create testing environment: [internal] internal error
[Retry] Retrying in 2 seconds (Attempt 3/3)…
[Status] Creating testing environment… (Attempt 3/3) (Snapshot ID: snapshot-20251113-68b5dd53-23bb-4752-8c46-3b01a00b8864, Request ID: 3ca36728-b03c-4932-8764-12079e8aceaf)
[STATUS UPDATE] failed
[Error] Failed to create testing environment after 3 attempts: [internal] internal error

I don’t understand what is wrong in my environment.json file.

1 Like

I’ve been trying to get a cloud agent install with a basic Vite project as well. It doesn’t seem to work when I put in an install script? My .cursor/environment.json is:

{
"install": "npm install"
}

Haven’t had any luck either.

I figured out my issue, despite injecting secrets which I needed to use to install private packages in the User Secrets section, this secret wasn’t available in the setup script.

It was accessible running npm install AFTER the environment was setup.