Skip to content

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
pranitnaik43 pushed a commit to bahaal-tech/dstack that referenced this pull request Feb 9, 2025
* Split `core.models.gateways` in two
* Split `server.services.gateways` in two
pranitnaik43 pushed a commit to bahaal-tech/dstack that referenced this pull request Mar 4, 2025
* Split `core.models.gateways` in two
* Split `server.services.gateways` in two
pranitnaik43 pushed a commit to bahaal-tech/dstack that referenced this pull request Mar 5, 2025
* Split `core.models.gateways` in two
* Split `server.services.gateways` in two
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.

3 participants