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

realm / realm-core / github_pull_request_301264
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: ni/cstdlib-fix
DEFAULT BRANCH: master
Ran 07 Aug 2024 04:14PM UTC
Jobs 2
Files 658
Run time 4min
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

30 Jul 2024 07:11PM UTC coverage: 91.111% (+0.009%) from 91.102%
github_pull_request_301264

Pull #7936

Evergreen

web-flow
Add support for multi-process subscription state change notifications (#7862)

As with the other multi-process notifications, the core idea here is to
eliminate the in-memory state and produce notifications based entirely on the
current state of the Realm file.

SubscriptionStore::update_state() has been replaced with separate functions for
the specific legal state transitions, which also take a write transaction as a
parameter. These functions are called by PendingBootstrapStore inside the same
write transaction as the bootstrap updates which changed the subscription
state. This is both a minor performance optimization (due to fewer writes) and
eliminates a brief window between the two writes where the Realm file was in an
inconsistent state.

There's a minor functional change here: previously old subscription sets were
superseded when the new one reached the Completed state, and now they are
superseded on AwaitingMark. This aligns it with when the new subscription set
becomes the one which is returned by get_active().
Pull Request #7936: Fix connection callback crashes when reloading with React Native

102800 of 181570 branches covered (56.62%)

216840 of 237996 relevant lines covered (91.11%)

5918493.47 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
84.84
-0.19% src/realm/util/file.cpp
1
57.73
-0.14% test/fuzz_tester.hpp
1
99.83
-0.17% test/test_dictionary.cpp
2
75.85
-0.16% src/realm/cluster.cpp
2
92.19
-0.11% src/realm/db.cpp
2
82.27
-0.99% src/realm/sync/network/http.hpp
3
94.5
0.0% src/realm/sync/noinst/client_reset.cpp
4
76.2
-0.51% src/realm/sync/instructions.hpp
4
60.92
-0.25% src/realm/sync/transform.cpp
4
90.42
-0.17% src/realm/table.cpp
4
99.0
-0.0% test/object-store/sync/app.cpp
5
83.17
2.17% src/realm/replication.hpp
5
82.57
-0.26% src/realm/sync/noinst/client_impl_base.cpp
6
72.55
-0.98% src/realm/bplustree.cpp
7
85.28
-0.53% src/realm/sync/network/network.hpp
7
74.46
-0.26% src/realm/sync/noinst/server/server.cpp
8
0.0
-66.67% src/realm/sync/impl/clamped_hex_dump.hpp
12
93.6
-3.03% src/realm/sync/noinst/pending_reset_store.cpp
12
95.75
-0.01% src/realm/sync/subscriptions.cpp
13
74.0
-2.27% src/realm/sync/noinst/protocol_codec.hpp
20
80.89
0.34% src/realm/replication.cpp
21
82.05
-8.97% src/realm/string_data.cpp
21
73.46
-3.04% src/realm/sync/noinst/sync_metadata_schema.cpp
Jobs
ID Job ID Ran Files Coverage
1 macos-arm64 - github_pull_request_301264.1 07 Aug 2024 04:57PM UTC 653
90.62
2 ubuntu-x86_64 - github_pull_request_301264.2 07 Aug 2024 04:57PM UTC 645
90.8
Source Files on build github_pull_request_301264
  • Tree
  • List 658
  • Changed 403
  • Source Changed 16
  • Coverage Changed 54
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #7936
  • PR Base - master (#2546)
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