-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Listen on instance updates of a running prebuild #10646
Conversation
d21b447
to
8ee71c2
Compare
/werft run 👍 started the job as gitpod-build-at-followup-10357.2 |
// | ||
// The owner's client connection is automatically registered to listen on instance updates. | ||
// For the remaining client connections which would handle `createWorkspace` and end up here, it | ||
// also would be reasonable to listen on the instance updates of a running prebuild, or image build. |
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.
nit: Would love to see these additional lines as comment:
We need to be forwarded the WorkspaceInstanceUpdates in the frontend, because we do not have any other means to reliably learn about the status about image builds, yet. Once we have those, we should remove this.
@AlexTugarev How to best test this to see that it really fixes #8195? 🤔 |
started the job as gitpod-build-at-followup-10357.3 because the annotations in the pull request description changed |
Started testing, btw! 👍 Still waiting for the build to finish.. |
In addition to that, the second user's websocket connection should receive instance updates. |
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.
Awesome, fixed it! 🚀
/hold in case you want to address this comment right away, but leave it up to you 👍
Jup, it did! 👍 |
started the job as gitpod-build-at-followup-10357.4 because the annotations in the pull request description changed |
even if you are not the workspace owner.
8ee71c2
to
b50f8b2
Compare
/hold cancel |
... even if you are not the workspace owner.
Follow up to #10357
How to test
Fixes #8195