Add temp-local-stack env pointing at the Railway-hosted offline stack#18
Merged
Conversation
Registers a temp-local-stack EnvConfig targeting the local-stack-backend service in the edison-watch Railway project (demo environment), which runs the offline stack (TEST_AUTH_MODE=local) at a fixed public URL. Unlike the "local" config no origin rewriting applies. MCP_BASE_URL is left empty until the FastMCP port (3000) gets a public Railway domain. Also resolves merge-conflict markers that landed in package.json via the knip dependabot merge (pinned to the installed versions: knip ^6.18.0, prettier ^3.8.4). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Same origin as the package.json markers: the knip dependabot merge committed an unresolved conflict. Kept the locked knip 6.24.0 / prettier 3.9.4 entries, which satisfy the resolved ranges. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a
temp-local-stackentry to the env config registry, pointing at the Railway-hosted instance of the offline local stack: servicelocal-stack-backendin theedison-watchproject'sdemoenvironment (https://local-stack-backend-demo.up.railway.app, running withTEST_AUTH_MODE=local).Together with the companion desktop PR, this adds a
temp-local-stackoption to the desktop Developer > Switch Environment menu, so devs can point the app at the shared offline stack without running docker locally.Design notes
localconfig's origin rewriting, so it works in packaged Electron builds where the renderer runs fromfile://./auth/v1and reimplements the edge functions at/functions/v1, so one base URL coversSUPABASE_URL,FUNCTIONS_URL, andAPI_BASE_URL.MCP_BASE_URLis intentionally empty: FastMCP listens on container port 3000 but the Railway domain only routes to the FastAPI port (3001). An empty value only disables MCP health checks and client-config rewrites; it can be filled in once a port-3000 domain exists.Also in this PR
Resolves merge-conflict markers that landed in
package.jsonvia the knip dependabot merge (faf6216) and broke everynpm runin this repo. Pinned to the currently installed versions: knip^6.18.0, prettier^3.8.4.Verified
End-to-end against the live Railway instance: GoTrue signup, password token grant, and
GET /functions/v1/get-api-keyall succeed and return a working API key.🤖 Generated with Claude Code
Summary by cubic
Adds a
temp-local-stackenvironment pointing to the Railway-hosted offline stack so devs can use a shared backend without Docker. Also cleans up merge-conflict markers inpackage.jsonandpackage-lock.jsonto restore npm scripts.New Features
temp-local-stackwith fixed URLs for SUPABASE, Functions, and API at https://local-stack-backend-demo.up.railway.app.MCP_BASE_URLempty until port 3000 is exposed.Bug Fixes
package.json; pinknipto^6.18.0andprettierto^3.8.4.package-lock.json; keep lockedknip@6.24.0andprettier@3.9.4which satisfy the pinned ranges.Written for commit 15392b0. Summary will update on new commits.