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

Update orbitdb #2600

Merged
merged 106 commits into from
Dec 20, 2024
Merged

Update orbitdb #2600

merged 106 commits into from
Dec 20, 2024

Conversation

leblowl
Copy link
Collaborator

@leblowl leblowl commented Sep 5, 2024

Pull Request Checklist

  • I have linked this PR to a related GitHub issue.
  • I have added a description of the change (and Github issue number, if any) to the root CHANGELOG.md.

(Optional) Mobile checklist

Please ensure you completed the following checks if you did any changes to the mobile package:

  • I have run e2e tests for mobile
  • I have updated base screenshots for visual regression tests

@@ -0,0 +1,9 @@
root = true
Copy link
Collaborator

Choose a reason for hiding this comment

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

I added helia as a package which is NOT ideal but it was the fastest way to get it integrated, from my perspective. We should ultimately update it to be a submodule like lfa but I don't have it in me to do it right now.

@@ -176,7 +176,7 @@ - (void)applicationDidEnterBackground:(UIApplication *)application
{
[self stopTor];

NSString * message = [NSString stringWithFormat:@""];
NSString * message = [NSString stringWithFormat:@"app:close"];
Copy link
Collaborator

Choose a reason for hiding this comment

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

This was just to get rid of an error that didn't break anything, it was just annoying.

Copy link
Collaborator

@adrastaea adrastaea Nov 19, 2024

Choose a reason for hiding this comment

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

When an older client that has updated to this commit is loaded, the invitationLink will be invalid due to the PeerID being invalid.

@@ -16,6 +16,7 @@ jobs:
DISPLAY: ":99.0"
TEST_MODE: true
IS_CI: true
SKIP_BACK_COMPAT_TEST_BRANCHES: '["update-orbitdb"]'
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this relevant after merging?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No, I'm gonna update it once we have an alpha.

@@ -162,19 +159,19 @@ describe('IpfsFileManagerService', () => {
2,
StorageEvents.FILE_UPLOADED,
expect.objectContaining({
cid,
cid: expect.stringContaining('bafk'),
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's the deal with this change?

Copy link
Collaborator

Choose a reason for hiding this comment

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

This just verifies the format of the CID is correct without having to hard code the string. If I remember correctly the CID isn't static per file so having it hard coded was pointless. Don't quote me on that, I haven't touched that logic in a while.

packages/e2e-tests/src/tests/multipleClients.test.ts Outdated Show resolved Hide resolved
packages/e2e-tests/src/tests/multipleClients.test.ts Outdated Show resolved Hide resolved
packages/e2e-tests/src/tests/multipleClients.test.ts Outdated Show resolved Hide resolved
resolve()
}, 5000)
)
await sleep(5000)
Copy link
Collaborator

Choose a reason for hiding this comment

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

why are we sleeping here?

packages/e2e-tests/src/tests/oneClient.test.ts Outdated Show resolved Hide resolved
packages/e2e-tests/src/tests/oneClient.test.ts Outdated Show resolved Hide resolved
packages/e2e-tests/src/tests/oneClient.test.ts Outdated Show resolved Hide resolved
packages/e2e-tests/src/tests/oneClient.test.ts Outdated Show resolved Hide resolved
@adrastaea adrastaea self-requested a review December 20, 2024 18:52
@islathehut islathehut changed the base branch from develop to 3.0.0 December 20, 2024 19:15
@islathehut islathehut merged commit 432a041 into 3.0.0 Dec 20, 2024
28 of 34 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.

4 participants