Skip to content
CAI
Software that uses CAICheck a score

supabase/realtime

52.1

Adequate · 10 November 2026

44.9k

lines of production code

Elixir

primary language

9

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

How this codebase got here

Score

  • CAI 53 → 52 (-1.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 58 → 58 (+0.0)
  • Architecture 82 → 84 (+2.6)
  • Maturity 69 → 59 (-10.1)
  • Readiness 59 → 60 (+0.2)
  • Security 46 → 44 (-1.4)
  • Accessibility 55 → 55 (+0.0)
  • Performance 97 → 97 (+0.0)

Resolved (18)

  • Change-coupling hub: mix.exs → dev.exs, prod.exs, runtime.exs, message.ex, gen_rpc.ex, pub_sub.ex, helpers.ex, metrics_cleaner.ex, latency.ex, tenant.ex, tenants.ex, repo.ex, rpc.ex, batch_broadcast.ex, cache.ex, connect.ex, janitor.ex, migrations.ex, replication_connection.ex, channels_authorization.ex, broadcast_handler.ex, logging.ex, broadcast_controller.ex, fallback_controller.ex, open_api_schemas.ex, assign_tenant.ex, auth_tenant.ex, tenant_broadcaster.ex, seeds.exs (mix.exs)
  • High secret: WD-SECRET-0005 (assets/package-lock.json)
  • Hotspot: lib/realtime_web/live/inspector_live/event_log_component.ex (lib/realtime_web/live/inspector_live/event_log_component.ex)
  • Hotspot: test/e2e/src/orchestrator.ts (test/e2e/src/orchestrator.ts)
  • Leaked secret: high-entropy-secret (dev/bench/secrets.exs)
  • Leaked secret: signing-key (dev/bench/secrets.exs)
  • Medium CVE: EEF-[CVE redacted] (mix.lock)
  • Off-boarding risk: anonymized user #1
  • Outdated: opentelemetry_exporter
  • Outdated: req
  • RealtimeChannel.join (cognitive 26) (lib/realtime_web/channels/realtime_channel.ex)
  • RealtimeChannel.join (cyclomatic 19) (lib/realtime_web/channels/realtime_channel.ex)
  • Repeated repair: lib/realtime/application.ex (lib/realtime/application.ex)
  • Repeated repair: lib/realtime/database.ex (lib/realtime/database.ex)
  • Repeated repair: lib/realtime/monitoring/prom_ex/plugins/tenant.ex (lib/realtime/monitoring/prom_ex/plugins/tenant.ex)
  • Repeated repair: lib/realtime_web/channels/auth/jwt_verification.ex (lib/realtime_web/channels/auth/jwt_verification.ex)
  • Repeated repair: lib/realtime_web/controllers/broadcast_single_controller.ex (lib/realtime_web/controllers/broadcast_single_controller.ex)
  • TodoComment (lib/realtime_web/controllers/broadcast_single_controller.ex)

New (27)

  • Change coupling: authorization.ex ↔ broadcast_policies.ex (lib/realtime/tenants/authorization.ex)
  • Change coupling: message.ex ↔ migrations.ex (lib/realtime/api/message.ex)
  • Change-coupling hub: mix.exs → dev.exs, prod.exs, runtime.exs, message.ex, gen_rpc.ex, pub_sub.ex, helpers.ex, metrics_cleaner.ex, latency.ex, tenants.ex, repo.ex, rpc.ex, broadcast_policies.ex, batch_broadcast.ex, cache.ex, connect.ex, janitor.ex, migrations.ex, replication_connection.ex, channels_authorization.ex, broadcast_handler.ex, logging.ex, broadcast_controller.ex, fallback_controller.ex, open_api_schemas.ex, assign_tenant.ex, auth_tenant.ex, tenant_broadcaster.ex, seeds.exs (mix.exs)
  • FileTooLong: dashboard/tenant_info.ex (lib/realtime_web/dashboard/tenant_info.ex)
  • Hotspot: lib/realtime_web/request_metrics.ex (lib/realtime_web/request_metrics.ex)
  • Medium CVE: EEF-[CVE redacted] (mix.lock)
  • Medium CVE: EEF-[CVE redacted] (mix.lock)
  • Medium IaC: WD-COMPOSE-0002 (sql_logex/compose.yml)
  • Medium IaC: WD-COMPOSE-0002 (sql_logex/compose.yml)
  • Medium IaC: WD-COMPOSE-0002 (sql_logex/compose.yml)
  • Off the main sequence: rollcall
  • Off the main sequence: sql_logex
  • Off-boarding risk: anonymized user #1
  • Outdated: lazy_html
  • Outdated: libcluster
  • Outdated: mimic
  • Outdated: mimic
  • Outdated: tailwind
  • RealtimeChannel.join_topic (cognitive 27) (lib/realtime_web/channels/realtime_channel.ex)
  • RealtimeChannel.join_topic (cyclomatic 20) (lib/realtime_web/channels/realtime_channel.ex)
  • …and 7 more

Changes since last survey

  • 132 commits — 99 feature/other, 33 fixes

By area

  • (root) — 61 commits
  • lib/realtime_web — 12 commits
  • rollcall/lib — 11 commits
  • test/realtime — 9 commits
  • lib/realtime — 7 commits
  • rollcall/test — 7 commits
  • .github/workflows — 4 commits
  • .github/db-images.json — 3 commits
  • .github/scripts — 3 commits
  • lib/extensions — 3 commits
  • sql_logex/test — 3 commits
  • priv/repo — 2 commits
  • test/integration — 2 commits
  • config/runtime.exs — 1 commit
  • rollcall/mix.exs — 1 commit
  • rollcall/tla — 1 commit
  • test/e2e — 1 commit
  • test/realtime_web — 1 commit

Notable commits

  • fix: chore(ci): fix db dump action (#2430)
  • fix: ci: fix update-supabase-js workflow after assets moved to realtime-js (#2503)
  • fix: fix(broadcast): restart event sampling for send-only channels (#2466)
  • fix: fix(deps): Update jose (#2438)
  • fix: fix(deps): Upgrade plug_crypto (#2427)
  • fix: fix(deps): Upgrade security relevant dependencies (#2527)
  • fix: fix(deps): bump heroicons from v2.1.1 to v2.2.0 (#2448)
  • fix: fix(deps): bump opentelemetry_exporter from 1.10.0 to 1.11.0 (#2425)
  • fix: fix(deps): bump req from 0.7.4 to 0.7.5 (#2475)
  • fix: fix(migration): restrict realtime.schema_migrations (#2429)
  • fix: fix(presence): count authorized fallback diffs (#2462)
  • fix: fix(socket): return 401 for tokens with an invalid JWT claim (#2489)
  • fix: fix: accept log_level warn from realtime-js clients (#2420)
  • fix: fix: allow the documented maximum of 500 refs in bulk tenant health (#2470)
  • fix: fix: evaluate postgres_changes filters against the raw wal2json values (#2362)
  • fix: fix: index subscription filters by digest so large in lists fit (#2097)
  • fix: fix: isolate Postgres Changes frame cache by serializer (#2310)
  • fix: fix: keep Postgres Changes subscriptions when a subscriber node disconnects (#2301)
  • fix: fix: keep adds made while a counter resets (#2482)
  • fix: fix: rename invalid_persist_ttl error to persistence_invalid_ttl (#2479)
  • …and 112 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

supabase/realtime was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 10 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 23784e6ef5ccf692299e55c422f2afa80da86c63 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.9+preprod-cba156920af5.