Skip to content

Add PortsStatus::on_open #13189

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

Merged
merged 1 commit into from
Sep 22, 2022
Merged

Add PortsStatus::on_open #13189

merged 1 commit into from
Sep 22, 2022

Conversation

jeanp413
Copy link
Member

@jeanp413 jeanp413 commented Sep 21, 2022

Description

In case of forwarding we need to know configuration in advance. Right now it is possible to get to grasp of it only when port is exposed. We deprecated on open action in the exposed state (ExposedPortInfo::on_exposed) and move to PortStatus itself (use PortsStatus::on_open instead).

Release Notes

NONE

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide

@roboquat roboquat added size/XXL and removed size/XL labels Sep 21, 2022
@jeanp413 jeanp413 marked this pull request as ready for review September 22, 2022 04:07
@jeanp413 jeanp413 requested a review from a team September 22, 2022 04:07
@mustard-mh
Copy link
Contributor

Any context about why we need these changes?

@jeanp413
Copy link
Member Author

jeanp413 commented Sep 22, 2022

I synced with @akosyakov today and talked about ports in vscode and we need this info even if the port is not exposed so we can update Machine/settings.json

@akosyakov
Copy link
Member

@mustard-mh I've updated the PR description to clarify for future readers.

Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@roboquat roboquat merged commit 0acc0b3 into main Sep 22, 2022
@roboquat roboquat deleted the jp/on_open branch September 22, 2022 10:29
@roboquat roboquat added deployed: IDE IDE change is running in production deployed Change is completely running in production labels Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: IDE IDE change is running in production deployed Change is completely running in production release-note-none size/XXL team: IDE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants