Skip to content

feat: move shared ports out of experiment #13120

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 8 commits into from
May 2, 2024
Merged

Conversation

f0ssel
Copy link
Contributor

@f0ssel f0ssel commented May 1, 2024

Completes part of #13058

Before with no experiment enabled:
Screenshot 2024-05-02 at 1 51 10 PM

After with enterprise license:
Screenshot 2024-05-02 at 1 54 42 PM

After without license:
Screenshot 2024-05-02 at 1 57 31 PM

Comment on lines +514 to +516
if len(codersdk.ExperimentsAll) == 0 {
t.Skip("No experiments are currently defined; skipping test.")
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dannykopping I see these prom metrics are somewhat assuming that the len(codersdk.ExperimentsAll) will always be at least > 0, but with the removal of shared ports we currently have an empty slice for it and it's failing these tests. Let me know if you'd like me to do something besides skipping these under that condition in this PR. Thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We spoke offline, he gave me the 👍 for now and we'll make the changes to get these tests running again soon.

@f0ssel f0ssel marked this pull request as ready for review May 2, 2024 15:46
@f0ssel f0ssel requested review from sreya and stirby and removed request for sreya May 2, 2024 18:01
Copy link
Collaborator

@stirby stirby left a comment

Choose a reason for hiding this comment

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

Transition looks good.

@f0ssel f0ssel merged commit c550d06 into main May 2, 2024
35 checks passed
@f0ssel f0ssel deleted the f0ssel/shared-ports-experiment branch May 2, 2024 18:11
@github-actions github-actions bot locked and limited conversation to collaborators May 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants