Repository navigation
chore: drop the last Electric traces — subprocessor entry and orphaned Caddyfile - #7334
Conversation
…d Caddyfile Electric Cloud is being decommissioned. 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. - `subprocessors.mdx`: remove ElectricSQL Ltd. It no longer processes any of our data once the replication slot and publications are dropped, so listing it overstates the set of subprocessors. - `Caddyfile`: delete. Its only content was the TLS shim fronting the Electric proxy (`CADDY_ELECTRIC_PORT` -> wrangler), and nothing has invoked caddy since #6667 removed it from the dev stack. Not included, deliberately: the `agent_commands` table drop (own migration, own risk profile) and the stale `caddy` prereq in the 17 READMEs (predates this change; touching 16 hand-maintained translations wants its own review). Claude-Session: https://claude.ai/code/session_019bjPymf8tNyyhNXPpJTkh8
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughChangesCaddy configuration removal
Subprocessors legal page
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This removes retired Electric proxy configuration and its outdated subprocessor listing without changing the legal page’s route or canonical metadata behavior. No current merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
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 invokescaddyanywhere in.superset/,scripts/,tooling/,package.json, orturbo.jsonc— it has been dead since chore(dev): remove Electric and Caddy from the dev stack #6667 removed Caddy from the dev stack.Infrastructure done outside this PR
electric_publication_default. Prod now has 0 logical replication slots and 0 publications; the 2 remaining slots are Neon's own physicalwal_proposer_slot/wal_retention_slot.NEXT_PUBLIC_ELECTRIC_URLGitHub secret was already gone.The slot mattered: it had no
max_slot_wal_keep_sizecap, 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_commandstable drop. Zero references outside schema/migrations, so it is droppable, but it wants its own migration and its own risk review.caddyprereq in the 17 READMEs.bun devhas not run caddy since chore(dev): remove Electric and Caddy from the dev stack #6667, sobrew install jq caddy && caddy trustis 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-proxyWorker 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
max_slot_wal_keep_sizecap, so leaving it would have risked unbounded WAL retention.Deliberately not included
agent_commandstable drop, which needs its own migration and risk review.caddyprerequisites in the READMEs, which predate this change and touch 16 hand-maintained translations.Written for commit 73982b5. Summary will update on new commits.
Summary by CodeRabbit
Documentation
Infrastructure