Skip to content

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

Merged
saddlepaddle merged 1 commit into
mainfrom
electric-cloud-shutdown
Sep 8, 2026
Merged

saddlepaddle merged 1 commit into
mainfrom
electric-cloud-shutdown

Conversation

@saddlepaddle

@saddlepaddle saddlepaddle commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

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 chore(dev): remove Electric and Caddy from the dev stack #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 chore(dev): remove Electric and Caddy from the dev stack #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

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.

Written for commit 73982b5. Summary will update on new commits.

Review in cubic

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.

…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
@coderabbitai

coderabbitai Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 01625e46-ce2c-40e2-9270-2c682a714031

📥 Commits

Reviewing files that changed from the base of the PR and between fb84c31 and 73982b5.

📒 Files selected for processing (2)
  • Caddyfile
  • apps/marketing/content/legal/subprocessors.mdx
💤 Files with no reviewable changes (1)
  • Caddyfile

Included review availability: Your plan provides up to 10 included reviews per hour; 5 remain after this review.


📝 Walkthrough

Walkthrough

Changes

Caddy configuration removal

Layer / File(s) Summary
Remove Caddy reverse proxy configuration
Caddyfile
The Caddyfile and its HTTPS redirect and reverse-proxy settings are deleted.

Subprocessors legal page

Layer / File(s) Summary
Update subprocessors listing
apps/marketing/content/legal/subprocessors.mdx
The lastUpdated date changes to 2026-09-08, and the ElectricSQL Ltd entry is removed.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 73982

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)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the two main changes: removing the final Electric reference from the subprocessors page and deleting the orphaned Caddyfile. It is concise and uses conventional commit syn…
Description check ✅ Passed The description provides clear context, motivation, change details, validation information, scope exclusions, and risk assessment. It does not use the template headings for testing and checklist, but …
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch electric-cloud-shutdown

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ✅ Neon database branch

Thank you for your contribution! 🎉

This branch was previously deployed

1 inactive deployment
preview — 73982b58 Deployed Sep 8, 2026 by saddlepaddle via Deploy Marketing #9450
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant