-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New Project flow fails detection on private repos if oauth is fresh #6168
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
Comments
I think this is high priority, as we already point everyone to creating a new project when they first land in gitpod (because 'project'S has become the default page) and we suggest users import their projects it is likely that they import a private one and get blocked by this. |
Actually we have not merged this new flow as the default yet - #6048 (comment) |
/schedule |
@jldec: Issue scheduled in the meta team (WIP: 0) In response to this:
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. |
Just to clarify, what's the expected behavior here? Obviously we can detect the |
Yes, prompting at the time of the failure (instead of spinning and failing silently unless you open the console) should be good for now. For the future, it would be good to validate the permissions as early as possible i.e. right after selecting the repo. |
To clarify further @AlexTugarev, it would be nice to show a notification, and prompt for additional scope when the detection fails (similar to the way start-workspace does it - see image below), and then return to the configuration page. If that is not straightforward to do, I think it would be ok for now to just unblock the "New Workspace" button as discussed in #6389 (comment), and let the error popup when the user proceeds to click on "New Workspace". |
Bug description
A totally new user will not be asked for repo scope when they log in the first time but they may grant access to a private repo to the Gitpod app during the new project onboarding flow. This results in the following errors
Steps to reproduce
Expected behavior
No response
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: