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

supabase / realtime / 43191846854
93%

Build:
DEFAULT BRANCH: main
Ran 12 Nov 2026 09:35AM UTC
Jobs 1
Files 142
Run time 1min
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

12 Nov 2026 09:28AM UTC coverage: 93.243% (+0.05%) from 93.196%
43191846854

push

github

web-flow
feat(policy_eval): Reload snapshot after mismatch to rule out staleness (#2554)

Right now we don't really know whether a mismatch is a "real" mismatch
or whether we've been running against a stale snapshot (while the real
check always runs against the most current policy).

This makes that check and so gives us the information if it's real or
staleness.

While we observe relatively few mismatches right now in production,
it also has a security mechanism built in that prevents it from always
just reloading: A reload is only done once per TTL cycle.

To support this we have a new `Entry` struct that wraps the snapshot,
it records the reason why it was loaded and if the reason is `mismatch`
it only refreshes once the TTL is up - not for mismatch reloading.

We also make sure that for a given entry only one refresh can be in
flight at the same time.

33 of 35 new or added lines in 2 files covered. (94.29%)

1 existing line in 1 file now uncovered.

4830 of 5180 relevant lines covered (93.24%)

4724.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.0
4.09% lib/realtime/tenants/policy_eval_cache.ex
1
98.61
1.94% lib/realtime/tenants/policy_eval_shadow.ex

Coverage Regressions

Lines Coverage ∆ File
1
93.33
-6.67% lib/realtime/presence/rollcall_transport.ex
Jobs
ID Job ID Ran Files Coverage
1 43191846854.1 12 Nov 2026 09:35AM UTC 568
62.24
GitHub Action Run
Source Files on build 43191846854
  • Tree
  • List 142
  • Changed 119
  • Source Changed 3
  • Coverage Changed 119
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43191846854
  • ceeec304 on github
  • Prev Build on main (#43180742677)
  • Next Build on main (#43211929167)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc