-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Improve ports respond in supervisor #14761
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-hw-sort-local-2.4 because the annotations in the pull request description changed |
@mustard-mh What does it mean? 🤔 |
It fixes #14248 right? Since we restore previous contract? |
Yes, it will, and we are going to introduce new property for
We also get ports config from server context, which is constant for a workspace, but it's not necessary because we only detect ports config in current instance (user can modify If we do not disable it, the order will be weird if user modifies |
@@ -1951,7 +1951,6 @@ type PortConfig struct { | |||
Visibility string `json:"visibility,omitempty"` | |||
Description string `json:"description,omitempty"` | |||
Name string `json:"name,omitempty"` | |||
Sort uint32 `json:"sort,omitempty"` |
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.
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.
Not mentioned here at all. ✔️
@mustard-mh I cannot find test which calls supervisor expose api and ensures that after it there is an event that port is exposed? How we can check some API regression without even calling it? |
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.
looks good, but a regression test ensuring contract for Expose port API is missing
/hold
@akosyakov I add test cases (search And going to add integration test to make sure it behavior the same with supervisor expose API. Next PR |
/hold For me to double check in preview env |
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.
WebApp changes LGTM.
Description
Related Issue(s)
Fixes #14248
How to test
Disable workspace config ports
.gitpod.yml
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh