repowiserepowise
Sign in
supabase/realtime
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowisesupabase/realtime
RE
RE

supabase / realtime

elixirmain5357e3365.5K linessynced 1mo ago

Code health

8.7out of 10Excellent

This codebase scores 8.7 out of 10 on defect risk, which we rate excellent. It also scores maintainability 10.0 and static performance risk 10.0 out of 10. The three are scored separately and never blended into one number. The files you change most are the weak spot: 50 of 585 files are git hotspots, and they average 6.5.

Full health report →
Documentation43pages43 with model-written prose, 0 built from the indexScore validation20/202.42× baselineOf the 20 lowest-health files, 20 were bug-fixed in the last 6 months — 2.42× the 41% baseline
Lines of code
65.5K
Files
585
Symbols
19
Modules
64
Languages
12

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • 2. Bring up the full supabase stack. We use its realtime container only as the source of truth for…proposed
  • 3. Swap realtime: copy supabase's exact env (via env inside their container, so we avoid…proposed
  • Add OpenAPI v3 docsproposed
  • Add partitioning to realtime.messagesproposed
  • Add tenant flag to control presence defaultproposed
  • Add write permission checks for channels via transactional update/revertproposed

Needs attention

69 open
  • medium severity. Proposed2. Bring up the full supabase stack. We use its realtime container only as the source of truth for…Auto-proposed decision awaiting review
  • medium severity. Proposed3. Swap realtime: copy supabase's exact env (via `env` inside their container, so we avoid…Auto-proposed decision awaiting review
  • medium severity. ProposedAdd OpenAPI v3 docsAuto-proposed decision awaiting review
  • medium severity. ProposedAdd partitioning to realtime.messagesAuto-proposed decision awaiting review
  • medium severity. ProposedAdd tenant flag to control presence defaultAuto-proposed decision awaiting review

Where the risk concentrates

All 50 hotspots →

Ranked by prior bug fixes and change frequency, mined from full git history rather than from the code alone.

FileChurnPrior fixesMaintainersCommits 90d
realtime-check.tstest/e2e99.8th02bus factor 124
subscriptions_test.exstest/realtime/extensions/cdc_rls99.6th0317
postgres_changes_test.exstest/integration/rt_channel99.3th01bus factor 15
tenant_migrations.exlib/realtime_web/dashboard99.1th01bus factor 112
subscriptions.exlib/extensions/postgres_cdc_rls98.9th0311

Composition

Open the graph →
elixir 76%unknown 15%yaml 3%external 2%markdown 1%Other 3%

Explore this codebase

  • Docs43 pages across 64 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files585 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 8 entry points→
  • Code healthPer-file scores, 403 open findings, coverage and refactoring targets→
  • Knowledge graphEntities, communities, and the paths between them→
  • Change couplingFiles that keep changing together, mined from commit history→
  • CommitsChange-risk ranked history with agent provenance→
  • ContributorsBus factor, per-file maintainers, and the human/agent split→
  • StatsSize class, origin, lifetime churn, rhythm and records→
  • CostsWhat indexing this snapshot cost, by model and by run→