• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

realm / realm-core / 2207
91%

Build:
DEFAULT BRANCH: master
Ran 09 Apr 2024 12:35AM UTC
Jobs 14
Files 660
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Apr 2024 12:00AM UTC coverage: 92.088% (+0.1%) from 91.974%
2207

push

Evergreen

web-flow
RCORE-2070 Allow setting a security access group for the metadata realm keychain (#7552)

Access groups are shared storage for one or more apps on iOS (and other Apple
platforms). Sharing a metadata Realm between apps requires placing the file in
the access group storage and storing the encryption key in the access group's
keychain.

Including the bundle ID in the service name breaks sharing the key between
apps, as different apps will have different bundle IDs. For everything but
un-sandboxed macOS there wasn't actually any reason to include the bundle ID in
the first place, as each app has its own keychain anyway. As such, this
switches back to not including it. On macOS this continues to include the
bundle ID when not using an access group, as otherwise different applications
could conflict with each other. This means that sharing users between macOS
applications will currently only work if an encryption key is explicitly set or
if the applications have sandboxing enabled.

Since this is slightly changing how keys are stored anyway, it also switches to
using unique keys per server app ID rather than always using "metadata" as the
account name.

The keychain code was mostly multiprocess-safe, but there was one race
condition when two apps generated a new key at once which is fixed.

96124 of 180408 branches covered (53.28%)

181 of 197 new or added lines in 10 files covered. (91.88%)

2 existing lines in 2 files now uncovered.

245163 of 266226 relevant lines covered (92.09%)

39533103.77 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
16
70.09
33.43% src/realm/object-store/impl/apple/keychain_helper.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
1
70.09
33.43% src/realm/object-store/impl/apple/keychain_helper.cpp
1
0.0
0.0% src/realm/object-store/impl/apple/keychain_helper.hpp
Jobs
ID Job ID Ran Files Coverage
13 ubuntu-x86_64 - 2207.13 09 Apr 2024 01:15AM UTC 646
91.09
14 macos-arm64 - 2207.14 09 Apr 2024 01:15AM UTC 654
89.99
10 macos-arm64 - 2204.10 08 Apr 2024 11:35AM UTC 654
90.05
8 macos-arm64 - 2203.8 08 Apr 2024 12:54AM UTC 654
90.07
7 ubuntu-x86_64 - 2203.7 08 Apr 2024 12:54AM UTC 647
91.14
5 ubuntu-x86_64 - 2198.5 05 Apr 2024 11:32AM UTC 647
91.13
6 macos-arm64 - 2198.6 05 Apr 2024 11:32AM UTC 654
90.05
4 macos-arm64 - 2197.4 05 Apr 2024 09:00AM UTC 654
90.04
3 ubuntu-x86_64 - 2197.3 05 Apr 2024 09:00AM UTC 647
91.09
1 ubuntu-x86_64 - 2195.1 05 Apr 2024 03:12AM UTC 647
91.15
2 macos-arm64 - 2195.2 05 Apr 2024 03:12AM UTC 654
90.06
11 ubuntu-x86_64 - 2205.11 08 Apr 2024 08:42PM UTC 647
91.12
12 macos-arm64 - 2205.12 08 Apr 2024 08:42PM UTC 654
90.09
9 ubuntu-x86_64 - 2204.9 08 Apr 2024 11:35AM UTC 647
91.09
Source Files on build 2207
  • Tree
  • List 660
  • Changed 395
  • Source Changed 4
  • Coverage Changed 65
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f84ff38a on github
  • Prev Build on master (#2205)
  • Next Build on master (#2209)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc