Skip to content

When starting a new workspace from the Project Configurator, sometimes the config file is not present in the workspace #5522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jankeromnes opened this issue Sep 3, 2021 · 4 comments
Labels
component: dashboard feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. groundwork: scheduled roadmap item: teams & projects team: webapp Issue belongs to the WebApp team type: bug Something isn't working

Comments

@jankeromnes
Copy link
Contributor

jankeromnes commented Sep 3, 2021

Bug description

When a Project has a configuration saved in the Project DB, and there is no .gitpod.yml in the repository, the Project DB configuration should always be added into workspaces for that repository (as an untracked .gitpod.yml file).

However, in some cases, it seems that the Project DB config is not added to the workspaces.

Steps to reproduce

The expected flow is:

  1. Add a Project, and get to the Configuration step
  2. Edit the config, and click on Run Prebuild
  3. Once the Prebuild is complete, click on New Workspace

Expected behavior

If the repository does not have a committed .gitpod.yml, the new workspace should have an untracked .gitpod.yml containing the config from the Project DB.

Additionally, all new workspaces for that repository should also have this untracked .gitpod.yml (until someone adds it to Git and starts versioning it).

However, sometimes the config is not present at all in the workspace.

Example repository

No response

Anything else?

Theory: Maybe it's added in the Prebuild (from the Project Configurator), but not in un-prebuilt workspaces? That would explain why, if the Prebuild fails, there is no config in the workspace.

@jankeromnes jankeromnes added type: bug Something isn't working roadmap item: teams & projects 🧑‍🚀 crew: teams and projects feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. labels Sep 3, 2021
@jankeromnes jankeromnes changed the title When starting a new workspace from the Project Configurator, sometimes the config files are not present in the workspace When starting a new workspace from the Project Configurator, sometimes the config file is not present in the workspace Sep 3, 2021
@mikenikles
Copy link
Contributor

I have received feedback from one of our community members who encounters that too.

@jldec
Copy link
Contributor

jldec commented Nov 16, 2021

/schedule

@roboquat
Copy link
Contributor

@jldec: Issue scheduled in the meta team (WIP: 0)

In response to this:

/schedule

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@jldec jldec moved this to In Groundwork in 🍎 WebApp Team Nov 16, 2021
@AlexTugarev
Copy link
Member

We couldn't reproduce this issue. I also assume, some of this cases are linked to failed prebuilds, or to existing ones, so that it's not clear when to expect a dirty .gitpod.yml file to be contributed.

Let's reopen when we can actually reproduce this issue.

Repository owner moved this from In Groundwork to Done in 🍎 WebApp Team Nov 25, 2021
@jldec jldec removed this from 🍎 WebApp Team Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dashboard feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. groundwork: scheduled roadmap item: teams & projects team: webapp Issue belongs to the WebApp team type: bug Something isn't working
Projects
No open projects
Status: Next iteration 🛹
Development

No branches or pull requests

6 participants