chore: drop the last Electric traces — subprocessor entry and orphaned Caddyfile

Merged
SA
3mo ago
+1-11

Electric Cloud is decommissioned as of today. Shape sync was replaced with tRPC + React Query in #6328 (shipped in desktop-v1.21.0) and the proxy's source was deleted in #6667. These are the two remaining references in the repo.

Changes

  • subprocessors.mdx — remove ElectricSQL Ltd. As of today it processes none of our data, so listing it overstates the subprocessor set.
  • Caddyfile — delete. Its only content was the TLS shim fronting the Electric proxy (CADDY_ELECTRIC_PORT → wrangler). Verified nothing invokes caddy anywhere in .superset/, scripts/, tooling/, package.json, or turbo.jsonc — it has been dead since #6667 removed Caddy from the dev stack.

Infrastructure done outside this PR

  • Electric Cloud source deleted (by Satya). Electric dropped its own replication slot and publication on the way out.
  • Production Postgres: dropped the leftover electric_publication_default. Prod now has 0 logical replication slots and 0 publications; the 2 remaining slots are Neon's own physical wal_proposer_slot / wal_retention_slot.
  • NEXT_PUBLIC_ELECTRIC_URL GitHub secret was already gone.

The slot mattered: it had no max_slot_wal_keep_size cap, so had Electric's service gone dark while the slot remained, WAL retention would have grown unbounded against production with no safety net.

Deliberately not included

  • agent_commands table drop. Zero references outside schema/migrations, so it is droppable, but it wants its own migration and its own risk review.
  • The stale caddy prereq in the 17 READMEs. bun dev has not run caddy since #6667, so brew install jq caddy && caddy trust is already wrong. Fixing it touches 16 hand-maintained translations and deserves a separate review.

Risk

Doc + dead-config only; no runtime code. The user-visible half of this shutdown is the electric-proxy Worker deletion, which is separate and breaks sync for ~4,286 users on pre-1.21.0 builds — a knowingly accepted cost.

https://claude.ai/code/session_019bjPymf8tNyyhNXPpJTkh8


Summary by cubic

Removes the last two Electric Cloud references from the repo: the ElectricSQL Ltd. entry from the subprocessors page and the orphaned Caddyfile that fronted the deleted Electric proxy.

Context

  • Electric Cloud is decommissioned; shape sync was replaced in #6328 and the proxy source was deleted in #6667.
  • The production Postgres replication slot and publication were dropped outside this PR; there are now 0 logical replication slots and 0 publications in prod.
  • The slot had no max_slot_wal_keep_size cap, so leaving it would have risked unbounded WAL retention.

Deliberately not included

  • The agent_commands table drop, which needs its own migration and risk review.
  • Stale caddy prerequisites in the READMEs, which predate this change and touch 16 hand-maintained translations.

Summary by CodeRabbit

  • Documentation

    • Updated the Subprocessors legal page’s last-updated date to September 8, 2026.
    • Removed ElectricSQL Ltd. from the listed subprocessors.
  • Infrastructure

    • Removed the previous local proxy and HTTPS redirect configuration.