"Error creating cloud task" when no associated environment available
What version of the VS Code extension are you using?
0.4.12
Which IDE are you using?
VS Code
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
Run in the cloud will fail to run and produce an error ("Error creating cloud task") shown as a brief popup at the top of the chat window. This happens when attempting to run a prompt and there are no associated cloud environments with your project.
I'm orking on an organization owned, private repository, so I cannot create an environment from the web application. If this is the intended functionality, then the documentation should make that clear and the error specify the issue as well.
What is the expected behavior?
The prompt runs on the cloud after being sent.
What do you see instead?
The brief error message at the top of the chat window.
Additional information
No response
Did you have an environment selected below the composer? If so, what was the environment relative to the repo you had open?
What did you have for the starting state dropdown? "Start from my local change" or "master/main/sometihng else"?
There was an environment selected, but it was unrelated to my working repo. I was unable to "deselect" an environment entirely (no env selected), only select a different one.
The repo I'm working on is organization owned, and currently private, even though I have access to to it, including cloning, forking etc., I'm not able to see it listed under "Environments > New" when following the "Environment Settings ->" option from the extension.
The starting state dropdown was "start from my local changes".
I understand that unless I'm an owner of the repository, or listed as a collaborator, I may not be able to create an environment for it. But I would like that to be clarified either in the documentation or the error message if that's the intended functionality 🙏
+1
still facing the same problem
Worked for me when i changed "Use local code changes" to a "search remote branch" and picking that branch instead.
Dont pick the one with a blue dot - search for your branch and run against that.
Also, i noticed that by default it wanted to use some different github environment (from my other project). I had to map my project github to codex first, and then it started to work. Good luck
I've just started getting the same issue brought me here
This seems to have resolved itself for me.