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

[chore]: Refactor gateway modules #2226

Merged
merged 3 commits into from
Jan 28, 2025

Conversation

jvstme
Copy link
Collaborator

@jvstme jvstme commented Jan 24, 2025

Move service-specific logic out of gateway-specific modules, since gateways are no longer the only way to run services.

The naming of modules may be a bit confusing because the word "service" can refer to both type: service runs and the services architectural layer. This leads to module names such as dstack._internal.server.services.services. The PR attempts to avoid confusion by adding module docstrings.

Part of #1595

@jvstme jvstme requested a review from r4victor January 24, 2025 17:51
Copy link
Collaborator

@r4victor r4victor left a comment

Choose a reason for hiding this comment

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

Nice!

@jvstme jvstme merged commit ea92ad9 into master Jan 28, 2025
24 checks passed
@jvstme jvstme deleted the issue_1595_refactor_services_and_models_modules branch January 28, 2025 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants