Closed
Description
Bug description
When your .gitpod.yml
implements a certain number of tasks
, there is now always an extra Terminal open in VS Code.
For example, the Gitpod repository specifies three tasks (also known as Terminals):
Lines 38 to 46 in 9d4bfb5
However, when opening Gitpod in Gitpod, we observe four Terminals (the top-most one is empty):
Steps to reproduce
- Open https://gitpod.io/#https://github.com/gitpod-io/gitpod
- Count the number of Terminals open in VS Code
Workspace affected
No response
Expected behavior
There shouldn't be an unnecessary extra empty Terminal open in VS Code:
- Either we re-use the first empty Terminal for the first task
- Or we close the first empty Terminal when there are
tasks
in.gitpod.yml
(Note: It is fine to have an empty Terminal open by default when there are no tasks
in .gitpod.yml
)
Example repository
https://github.com/gitpod-io/gitpod
Anything else?
No response