-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Introduce app-specific error codes to Gitpod #12089
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
We definitely should improve our error messages. In the process, we would benefit from documenting the failure modes, would get better data about what fails most frequently and would make it easier for support to assign a given issue to a team. Given the huge effort this would require, I would suggest we start with a 🛹 on a particular part of the system. Even partially improving this for the workspace start would be great. The WebApp side of it might be the easiest first? /cc @jldec |
Thanks for the input @atduarte 🙏
Yup. I think there's an overlap with these issues, also:
Agree it's a big effort if we are to apply this everywhere. However just to be clear though: the scope of this issue is to implement one or two examples, establish the pattern and then we can roll out and iterate from there. |
Error Message, if Gitpod GitHub App is already installed.Existing UserTo Repro this:
New User OnboardingIt is also painful if a new user is onboarding & configuring for the first time. Here's How? While Successful registration, this message got pops up. But, It is kind of an endless loop because the Screen.Recording.2023-01-15.at.10.20.06.AM.mov |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Context / Motivation
There are many ways that Gitpod can error. In many cases we are showing raw stack traces, very technical errors to users or in some cases (invalid context URL errors) the workspace and IDE can hang completely. These errors often result in quite scary, red and cryptic looking error messages (e.g. stack traces or internal function call information) and often miss an opportunity to provide guidance to our users about what they can do to fix the error. This is particularly prevalent during workspace start / opening a workspace.
This issue proposes introducing application-specific error codes.
What is an app specific error code?
project_not_found
,auth_no_permission
Purpose
The purpose of having application specific error codes is:
Scope
Example potential error codes / states
invalid_context_url
(e.g. #11854)Example implementations, links and "best practices" / standards
Relates to:
The text was updated successfully, but these errors were encountered: