Skip to content

chore: drop dead EXPO_PUBLIC_ELECTRIC_URL from env examples - #6393

Merged
saddlepaddle merged 1 commit into
mainfrom
drop-electric-env
Aug 12, 2026
Merged

saddlepaddle merged 1 commit into
mainfrom
drop-electric-env

Conversation

@saddlepaddle

@saddlepaddle saddlepaddle commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

Unused since #6328 removed Electric sync — no code reads EXPO_PUBLIC_ELECTRIC_URL anymore (verified via repo-wide grep). Also removes the stale electric-proxy comment in .env.local.example.

The matching variable in the EAS-hosted production environment is deleted alongside this PR.


Summary by cubic

Removes the unused EXPO_PUBLIC_ELECTRIC_URL from .env.example and .env.local.example and drops a stale electric-proxy comment. Electric sync was removed in #6328; nothing reads this variable now, so there is no behavior change.

Migration

  • Local: remove EXPO_PUBLIC_ELECTRIC_URL from any local .env.*; it is ignored.
  • Production (EAS): the corresponding variable has been deleted; no further action needed.

Written for commit cb35ec1. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Chores
    • Simplified mobile environment configuration templates by removing the obsolete Electric service URL setting and its explanatory comment.
    • The API URL configuration remains available and unchanged.

Unused since #6328 replaced Electric sync with plain tRPC + React Query;
nothing in the codebase reads it anymore.
@coderabbitai

coderabbitai Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9837508f-065d-477b-9f32-fa70750f9262

📥 Commits

Reviewing files that changed from the base of the PR and between 4979a6c and cb35ec1.

📒 Files selected for processing (2)
  • .env.example
  • .env.local.example
💤 Files with no reviewable changes (2)
  • .env.local.example
  • .env.example

📝 Walkthrough

Walkthrough

The mobile Expo environment templates remove EXPO_PUBLIC_ELECTRIC_URL. .env.local.example also removes its explanatory comment. EXPO_PUBLIC_API_URL remains unchanged.

Changes

Mobile environment configuration

Layer / File(s) Summary
Remove Electric proxy variables
.env.example, .env.local.example
The templates remove EXPO_PUBLIC_ELECTRIC_URL. The local template also removes its explanatory comment. EXPO_PUBLIC_API_URL remains unchanged.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title uses conventional commit format and clearly states removal of the unused environment variable.
Description check ✅ Passed The description explains the change, rationale, grep verification, and production impact, but it omits the repository checklist.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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 drop-electric-env

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 Aug 12, 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! 🎉

@saddlepaddle
saddlepaddle merged commit c83f904 into main Aug 12, 2026
19 checks passed

This branch was previously deployed

1 inactive deployment
preview — cb35ec1a Deployed Aug 12, 2026 by saddlepaddle via Deploy Docs #7537
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