-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat(gitpod-cli): report errors to ide-metrics-api #13752
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
Conversation
started the job as gitpod-build-afalz-gitpod-cli-error-reporting-3.2 because the annotations in the pull request description changed |
/werft run 👍 started the job as gitpod-build-afalz-gitpod-cli-error-reporting-3.3 |
/werft run 👍 started the job as gitpod-build-afalz-gitpod-cli-error-reporting-3.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these two testing steps up to date?
- in the prev env workspace, break supervisor-api by replacing the following env var: export
SUPERVISOR_ADDR=localhost:22999x
- in the prev env workspace, run
gp ports list
and make sure it does not throw any error
On the preview environment it throws error when SUPERVISOR_ADDR=localhost:22999x
.
|
||
conn, err := supervisor_helper.Dial(ctx) | ||
if err != nil { | ||
log.Fatal(err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should use Fatal in this method
517066c
to
23a1b8d
Compare
/werft run with-clean-slate-deployment=true 👍 started the job as gitpod-build-afalz-gitpod-cli-error-reporting-3.8 |
ae5a5fc
to
29d5cef
Compare
29d5cef
to
4344ff0
Compare
/hold doing some tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/unhold |
Description
Introduce error reporting from
gp cli
(startin fromgp ports list
) toide-metrics-api
. Errors will be available in GCP.Related Issue(s)
Fixes #13707
Follow up actions after merging
util.logError
in all known errorsuserId
How to test
We tested using a test commit throwing an error all the time and observing the logs of
ide-metrics-api
.Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide