Skip to content

[5.5][Collections] Removed local package collection comes back alive #3619

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
Jul 16, 2021

Conversation

yim-lee
Copy link
Contributor

@yim-lee yim-lee commented Jul 16, 2021

#3617 for 5.5

Steps to reproduce:
1. Add a local collection
2. Delete the collection **file** on local disk
3. Refresh collections
4. The unavailable local collection is back!

This is caused by us not deleting unavailable/invalid collections from storage when refresh fails.

rdar://80388968
@yim-lee
Copy link
Contributor Author

yim-lee commented Jul 16, 2021

@swift-ci please test

@tomerd tomerd merged commit 6f25cda into swiftlang:release/5.5 Jul 16, 2021
@yim-lee yim-lee deleted the dead-local-collection-5.5 branch July 17, 2021 02:00
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