Skip to content
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

[process-compose] Improve port selection #1835

Merged
merged 5 commits into from
Feb 23, 2024
Merged

Conversation

mikeland73
Copy link
Contributor

@mikeland73 mikeland73 commented Feb 23, 2024

Summary

This helps fix the lapp and lepp stack test issues. It also provides a more reliable way to provide an unused port that does not have race condition issues or the limit of 10 ports.

How was it tested?

devbox services start

@mikeland73 mikeland73 marked this pull request as ready for review February 23, 2024 21:11
@mikeland73 mikeland73 mentioned this pull request Feb 23, 2024
@Lagoja
Copy link
Contributor

Lagoja commented Feb 23, 2024

I'm not entirely sure what it does, but it looks like it worked in the GH Action.

One question I had -- Do we want it to potentially grab any open port? Or would we rather have it randomly select a port within a given range? That would make it easier for developers to avoid potential port conflicts between their service and process-compose.

@mikeland73
Copy link
Contributor Author

@Lagoja I disallowed a few common ports. PTAL

@mikeland73 mikeland73 merged commit d11503d into main Feb 23, 2024
23 of 24 checks passed
@mikeland73 mikeland73 deleted the landau/free-port-2 branch February 23, 2024 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants