fix: wire BACKEND_URL so studio.deploy can emit a live URL receipt - #1848
Merged
Conversation
Studio Attempt deploy HOLDs when getBackendConfig only reads BACKEND_URL while .env.production already pins NEXT_PUBLIC_API_URL=https://api.uvai.io. Resolve BACKEND_URL || NEXT_PUBLIC_BACKEND_URL || NEXT_PUBLIC_API_URL so G.A.T.E. can emit a verified live URL receipt when the backend returns one. Co-authored-by: Hayden <groupthinking@users.noreply.github.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 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 |
Vercel does not inject unset dashboard env vars. Statically read BACKEND_URL / NEXT_PUBLIC_* and pin https://api.uvai.io on production builds so G.A.T.E. can emit a verified live URL receipt. PASS shows a clickable live URL; HOLD/REJECT still keep the EventRelay receipt chip. Co-authored-by: Hayden <groupthinking@users.noreply.github.com>
Co-authored-by: Hayden <groupthinking@users.noreply.github.com>
Contributor
This was referenced Sep 12, 2026
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.
Canonical issue
CoS-named UVAI cut (Hayden / AXIOM E2E): studio.deploy live-URL receipt HOLDs solely because
BACKEND_URL is not configured.Outcome
Studio Attempt deploy on uvai.io / v0-uvai no longer treats a missing dashboard
BACKEND_URLas “unconfigured.” Production builds pin the verified Cloud Run hostnamehttps://api.uvai.io(live/api/v1/health= 200). G.A.T.E. PASSes only with a verifiedhttps://live URL + EventRelay receipt (clickable). Otherwise honest HOLD/REJECT/ESCALATE with visible receipt id/hash. No “Deploy completed” overclaim.Scope
BACKEND_URL||NEXT_PUBLIC_BACKEND_URL||NEXT_PUBLIC_API_URLapps/web/.env.productionandnext.config.js(env.BACKEND_URL) tohttps://api.uvai.ioon production buildslive_url(never invent one)studio-gate-live-url)EVENTRELAY_API_KEY) — this environment has no Vercel env-write tokenRisk
Verification
pipeline-backend,pipeline-backend-health,action-tools,gate-transition,pipeline-async-job, isolation)apps/webvitest on prior SHA: 602 passed / 1 skipped5ac85930eProduction evidence
https://api.uvai.io/api/v1/health→ HTTP 200POST /api/v1/videos/processwithoutX-API-Key→ HTTP 401 (Authentication required)https://api.uvai.iodpl_…on v0-uvai. AXIOM re-dogfoods XYMcBrFSJ4c — must not HOLD solely for missing BACKEND_URL.Agent handoff
EVENTRELAY_API_KEYon Vercel (Hayden-only secret)