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

Bump core 14.10.4 #1801

Closed
wants to merge 20 commits into from
Closed

Bump core 14.10.4 #1801

wants to merge 20 commits into from

Conversation

clementetb
Copy link
Contributor

@clementetb clementetb commented Jul 9, 2024

  • Bumps core to version 14.10.3
  • Fixes GHA static analysis jobs not failing after an exception ocurred.
  • Adds workaround for encryptedMetadataRealm_openWithWrongKeyThrows: copies the Realm file to validate encryption.
  • Applies flip on is_fatal flag after being fliped in realm_sync_session_handle_error_for_testing.
  • Fixes expected message assertions in client reset exceptions, as the now report a larger message.
  • uploadProgressListener_changesOnly disabled until download progress estimate is always 1.0 realm-core#7869 is fixed.

@clementetb clementetb self-assigned this Jul 9, 2024
@cla-bot cla-bot bot added the cla: yes label Jul 9, 2024
@clementetb clementetb added the no-jira-ticket Skip checking the PR title for Jira reference label Jul 9, 2024
@clementetb clementetb changed the title Bump core Bump core 14.10.3 Jul 10, 2024
@clementetb clementetb marked this pull request as ready for review July 11, 2024 05:54
@rorbech rorbech force-pushed the ct/bump-core-14.10.3 branch from c1fcb2c to e825ebf Compare July 16, 2024 08:22
@rorbech rorbech changed the base branch from main to releases July 16, 2024 08:22
@rorbech rorbech changed the title Bump core 14.10.3 Bump core 14.10.4 Jul 16, 2024
Copy link
Collaborator

@nhachicha nhachicha left a comment

Choose a reason for hiding this comment

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

Minor things 👍

@@ -547,7 +547,9 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: ${{ vars.VERSION_JAVA_DISTRIBUTION }}
java-version: ${{ vars.VERSION_JAVA }}
java-version: |
17
Copy link
Collaborator

Choose a reason for hiding this comment

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

we should add this version into Repository variables
image
This version is only needed for sdkmanager and we should not build with it the library

Copy link
Contributor

@rorbech rorbech Aug 8, 2024

Choose a reason for hiding this comment

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

This PR is succeeded by #1779. But the explicit reference to Java 17 is maintained. This syntax will cause actions/setup-java to install both 17 and vars.VERSION_JAVA so this is exactly allowing us to run the sdkmanager with Java 17 while building the rest with vars.VERSION_JAVA pointed to by JAVA_HOME.

CHANGELOG.md Show resolved Hide resolved
.directory(metadataDir)
.encryptionKey(wrongKey)
.schemaVersion(7)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we need to specify the schema version? the test is validating the encryption key...

Copy link
Contributor

Choose a reason for hiding this comment

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

Because the schema version that the client is using to write the metadata realm is greater than 0 which is used by default. If we don't set it we will get a migration error when trying to open the realm.

@rorbech rorbech closed this Aug 8, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes no-jira-ticket Skip checking the PR title for Jira reference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants