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

realm / realm-core / 2532
91%

Build:
DEFAULT BRANCH: master
Ran 30 Jul 2024 07:42PM 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.116% (+0.05%) from 91.07%
2532

push

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().

102790 of 181570 branches covered (56.61%)

459 of 465 new or added lines in 13 files covered. (98.71%)

51 existing lines in 15 files now uncovered.

216859 of 238002 relevant lines covered (91.12%)

6214921.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
95.75
1.78% src/realm/sync/subscriptions.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.48
-1.09% src/realm/index_string.hpp
1
93.85
0.0% src/realm/query_expression.hpp
1
57.73
-0.14% test/fuzz_tester.hpp
1
99.51
-0.03% test/test_table.cpp
1
95.56
-0.06% test/test_util_network.cpp
2
87.37
-0.29% src/realm/list.cpp
2
74.58
0.41% src/realm/sync/noinst/server/server.cpp
2
93.03
-0.04% test/test_sync.cpp
3
91.22
0.44% src/realm/sync/client.cpp
3
74.0
-0.52% src/realm/sync/noinst/protocol_codec.hpp
3
93.04
-1.9% src/realm/table_view.hpp
4
98.3
-0.1% test/object-store/sync/flx_sync.cpp
5
68.64
0.12% src/realm/sync/instruction_applier.cpp
6
60.8
-0.38% src/realm/sync/transform.cpp
16
50.24
3.67% test/fuzz_group.cpp
Jobs
ID Job ID Ran Files Coverage
1 macos-arm64 - 2532.1 30 Jul 2024 08:18PM UTC 653
90.6
2 ubuntu-x86_64 - 2532.2 30 Jul 2024 08:19PM UTC 645
90.8
Source Files on build 2532
  • Tree
  • List 658
  • Changed 398
  • Source Changed 16
  • Coverage Changed 63
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 819bb98c on github
  • Prev Build on master (#2531)
  • Next Build on master (#2534)
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