Codespace terminal gets launched in wrong directory #26378
-
I noticed that since today (or maybe yesterday) freshly created codespaces launch the terminal in the wrong directory. As you can see from attached screenshot, the codespace gets launched in the I can |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Thanks for raising this. It’s something we’re tracking and plan to fix shortly. |
Beta Was this translation helpful? Give feedback.
-
Is there an ETA for this? This issue seems somewhat random. Yesterday, some codespaces worked just fine, while with others I ran into this issue. Today every codespace I launch has this issue. |
Beta Was this translation helpful? Give feedback.
-
The fix for this has been rolled out. Please let us know if you continue to see it. The issue was that the root path was being set incorrectly on resume. During creation, it was set to the repo root, but on resume, it was set one level higher. Now resume keeps it at the correct path. Both existing Codespaces and new Codespaces should be fixed now on the next resume. |
Beta Was this translation helpful? Give feedback.
The fix for this has been rolled out. Please let us know if you continue to see it. The issue was that the root path was being set incorrectly on resume. During creation, it was set to the repo root, but on resume, it was set one level higher. Now resume keeps it at the correct path. Both existing Codespaces and new Codespaces should be fixed now on the next resume.