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: pin corestore dep to exact 6.8.4 #840

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

gmaclennan
Copy link
Member

This is the cause of bugs in the v1.0.0 release candidate. The corestore dependency should have been pinned to the exact version that we are testing here (v6.8.4), but it was not.

The mobile app had already been using [email protected], which had changed the hypercore dep to [email protected]. This appeared to still work, to some extent. Commit digidem/comapeo-mobile@e06a7e4 included a src/backend/package-lock.json change that changed the corestore dep to [email protected] and its subdep to [email protected].

Unfortunately we rely on hypercore internals, and in addition hypercore is not completely stable across minor versions, so changes to the hypercore version break things. We have thorough tests on comapeo-core to check that all the internals of hypercore that we depend on are tested and working, however the omission of pinning corestore resulted in a different version of hypercore being used in the mobile app.

@gmaclennan
Copy link
Member Author

I have tested this with the latest release candidate https://github.com/digidem/comapeo-mobile/tree/0b8dd9f06aa7b0d28b4143ea3ad0b49c5c6af382 and things are working, e.g. the invite bug is fixed.

Copy link
Contributor

@EvanHahn EvanHahn left a comment

Choose a reason for hiding this comment

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

Wowie.

@gmaclennan gmaclennan merged commit 9591758 into main Sep 19, 2024
7 checks passed
@gmaclennan gmaclennan deleted the fix/exact-version-corestore branch September 19, 2024 10:58
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