Skip to content

Commit

Permalink
Remove Sync (#1839)
Browse files Browse the repository at this point in the history
* Update Kotlin to 2.0.20 & dependencies

* @cla-bot check

* Fix double whitespace in exception message in RealmModelLoweringEExtension

* Fix crash with Kotlin 2.0.20 via #1826
Update changelog with deprecation

* Support Kotlin 2.0.20

* clean up

* update Readme

* Fixes RealmModelLoweringExtension

* Bump version & update compiler plugin for Sync

* update integration tests

* Remove sync packages

* Remove sync code and analytics

* Clean up compiler plugin

* Remove asymmetric objects

* linting

* Clean up error codes and categories

* Remove system utils constants

* Update GHA

* linting

* Remove more constants

* update tests

* Fix rogue char

* Update benchmarks

* Remove more sync references

* Fix compiler plugin not being applied

---------

Co-authored-by: KitsuneAlex <[email protected]>
Co-authored-by: Nabil Hachicha <[email protected]>
  • Loading branch information
3 people authored Oct 3, 2024
1 parent 50797be commit 49d81c2
Show file tree
Hide file tree
Showing 285 changed files with 301 additions and 40,518 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/include-check-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ on:
value: ${{ jobs.android.outputs.packages-android-cache-hit }}
android-test-base-apk-cache-hit:
value: ${{ jobs.android-test-base.outputs.android-test-base-apk-cache-hit }}
android-test-sync-apk-cache-hit:
value: ${{ jobs.android-test-sync.outputs.android-test-sync-apk-cache-hit }}
packages-macos-x64-cache-hit:
value: ${{ jobs.macos-x64.outputs.packages-macos-x64-cache-hit }}
packages-macos-arm64-cache-hit:
Expand Down Expand Up @@ -295,36 +293,6 @@ jobs:
path: ./packages/test-base/build/outputs/apk/androidTest/debug/test-base-debug-androidTest.apk
retention-days: 1

#
# Android Sync Test APK
#
android-test-sync:
runs-on: ubuntu-latest
needs: checksum
name: Android Sync Test APK
outputs:
android-test-sync-apk-cache-hit: ${{ steps.android-test-sync-apk.outputs.cache-hit }}

steps:
- name: Check Android Sync Test APK
id: android-test-sync-apk
uses: actions/cache@v4
with:
key: android-sync-test-apk-key-${{ needs.checksum.outputs.packages-sha }}
path: |
./packages/test-sync/build/outputs/apk/androidTest/debug/test-sync-debug-androidTest.apk
./packages/test-sync/build/outputs/apk/debug/test-sync-debug.apk
- name: Save Android Sync Test APK
uses: actions/upload-artifact@v4
if: always() && !cancelled() && steps.android-test-sync-apk.outputs.cache-hit == 'true'
with:
name: android-sync-test-apk-${{ needs.checksum.outputs.version-label }}
retention-days: 1
path: |
./packages/test-sync/build/outputs/apk/androidTest/debug/test-sync-debug-androidTest.apk
./packages/test-sync/build/outputs/apk/debug/test-sync-debug.apk
#
# MacOS arm64
#
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/include-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ on:
required: true
type: string

env:
REALM_DISABLE_ANALYTICS: true
REALM_PRINT_ANALYTICS: true
REALM_FAIL_ON_ANALYTICS_ERRORS: true

jobs:

# TODO: The Monkey seems to crash the app all the time, but with failures that are not coming from the app. Figure out why.
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/include-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
rsync -a --delete --ignore-errors examples/kmm-sample/shared/build/reports/ktlint/ /tmp/ktlint/example/ || true
rsync -a --delete --ignore-errors packages/cinterop/build/reports/ktlint/ /tmp/ktlint/cinterop/ || true
rsync -a --delete --ignore-errors packages/library-base/build/reports/ktlint/ /tmp/ktlint/library-base/ || true
rsync -a --delete --ignore-errors packages/library-sync/build/reports/ktlint/ /tmp/ktlint/library-sync/ || true
rsync -a --delete --ignore-errors packages/plugin-compiler/build/reports/ktlint/ /tmp/ktlint/plugin-compiler/ || true
rsync -a --delete --ignore-errors packages/gradle-plugin/build/reports/ktlint/ /tmp/ktlint/plugin-gradle/ || true
rsync -a --delete --ignore-errors benchmarks/build/reports/ktlint/ /tmp/ktlint/benchmarks/ || true
Expand Down Expand Up @@ -95,7 +94,6 @@ jobs:
rsync -a --delete --ignore-errors examples/kmm-sample/shared/build/reports/detekt/ /tmp/detekt/example/ || true
rsync -a --delete --ignore-errors packages/cinterop/build/reports/detekt/ /tmp/detekt/cinterop/ || true
rsync -a --delete --ignore-errors packages/library-base/build/reports/detekt/ /tmp/detekt/library-base/ || true
rsync -a --delete --ignore-errors packages/library-sync/build/reports/detekt/ /tmp/detekt/library-sync/ || true
rsync -a --delete --ignore-errors packages/plugin-compiler/build/reports/detekt/ /tmp/detekt/plugin-compiler/ || true
rsync -a --delete --ignore-errors packages/gradle-plugin/build/reports/detekt/ /tmp/detekt/plugin-gradle/ || true
rsync -a --delete --ignore-errors benchmarks/build/reports/detekt/ /tmp/detekt/benchmarks/ || true
Expand Down
Loading

0 comments on commit 49d81c2

Please sign in to comment.