Skip to content

Skip copy config on DD local and cloud #105

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
Jun 26, 2025
Merged

Conversation

ilopezluna
Copy link
Contributor

This PR is an alternative to #101.
Instead of disabling the config copy entirely, it simply skips it when coming from a DD client (or a DD cloud server).
To avoid a cyclic dependency, I had to move the types to a shared package.

@ilopezluna ilopezluna requested a review from a team June 26, 2025 13:50
Copy link
Collaborator

@doringeman doringeman left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines +38 to +40
if engineKind == types.ModelRunnerEngineKindDesktop || engineKind == types.ModelRunnerEngineKindCloud {
return nil
}
Copy link
Contributor

Choose a reason for hiding this comment

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

We'll probably also need to rework this to skip copying from a DD client to a Docker CE engine remotely, but we don't support that right now so I'll just make a note of it.

@xenoscopic xenoscopic merged commit b67aeba into main Jun 26, 2025
6 checks passed
@xenoscopic xenoscopic deleted the skip-copy-config-for-dd branch June 26, 2025 20:39
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