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

Fix issue #2087 where cloned models were lost and listed in download … #2090

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

manyoso
Copy link
Collaborator

@manyoso manyoso commented Mar 7, 2024

No description provided.

…dialog erroneously.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
@manyoso manyoso requested a review from cebtenzzre March 7, 2024 19:38
@cebtenzzre
Copy link
Member

Could you explain how listing clones in DownloadableModels caused them to be lost after a restart?

@manyoso
Copy link
Collaborator Author

manyoso commented Mar 8, 2024

Could you explain how listing clones in DownloadableModels caused them to be lost after a restart?

So it turns out that the batch update fixed the issue with the clone disappearing. I can't replicate it with the batch update patch and this one applied, but I can replicate without the batch update patch.

I think there was a case where the order of the update mattered, but with the batch update I moved the 'installed' role to be first in the list when creating a clone and I think that is what solved the issue. Before we weren't recording the 'isClone' in the settings file.

@manyoso manyoso merged commit 6ed3d01 into main Mar 8, 2024
6 of 10 checks passed
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.

None yet

2 participants