Skip to content

Consolidate loop proxy on LOOP_BACKEND_URL#260

Merged
jon-devlapaz merged 1 commit into
mainfrom
dev
Jun 2, 2026
Merged

Consolidate loop proxy on LOOP_BACKEND_URL#260
jon-devlapaz merged 1 commit into
mainfrom
dev

Conversation

@jon-devlapaz

Copy link
Copy Markdown
Owner

Summary

  • Remove Vercel edge rewrites for /loop, /health, /api/session/* from vercel.json
  • Document LOOP_BACKEND_URL in .env.example
  • Production already has LOOP_BACKEND_URL set on Vercel; FastAPI loop_backend_proxy.py becomes the single proxy path

Test plan

  • pytest tests/test_loop_backend_proxy.py -q (3 pass)
  • After merge + deploy, verify:
    curl -s https://app.socratink.ai/health | jq .
    curl -s https://app.socratink.ai/api/health | jq .
    curl -s -X POST https://app.socratink.ai/api/session | jq .sessionId

Made with Cursor

Single path: FastAPI loop_backend_proxy.py forwards /loop, /health, and
/api/session/* to Railway. Production requires LOOP_BACKEND_URL on Vercel.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
learn-ops-tamagachi Ready Ready Preview, Comment Jun 2, 2026 6:44pm

@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@jon-devlapaz, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 54 minutes and 26 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 1d93c5fc-33bd-4eae-8a47-1665608caafd

📥 Commits

Reviewing files that changed from the base of the PR and between ada72ac and bc35b6e.

📒 Files selected for processing (2)
  • .env.example
  • vercel.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

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 and usage tips.

@jon-devlapaz jon-devlapaz merged commit 2bedab8 into main Jun 2, 2026
7 checks passed
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