fix: async-handoff studio.deploy kickoff past HTTP 524 - #1875
Merged
Conversation
Treat Cloudflare/origin 524 and abort timeouts as a gateway miss, start an async videos/process job with the ready transcript, and run video-to-software in the background so kickoff does not HOLD HTTP 524. Co-authored-by: Hayden <groupthinking@users.noreply.github.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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 |
groupthinking
marked this pull request as ready for review
September 12, 2026 09:25
Contributor
This was referenced Sep 12, 2026
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 |
10 tasks
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
Named cut:
studio.deploy backend kickoff no HTTP 524 → live URLAXIOM on
dpl_BbFnnqTvYiVDfSFEDa43LQTFETTD/XYMcBrFSJ4ccleared #1859 YouTube bot. New HOLD:Backend kickoff returned HTTP 524(receipter:gate:v1:wrun_01M2AE6Z9Q2KZRBA0Z0Q455B0S). Transcript was already ready. No Deploy completed / no live URL.Outcome
Studio deploy kickoff no longer HOLDs solely on Cloudflare/origin HTTP 524.
The 524 is fixed at both layers CoS named:
api.uvai.io:POST /api/v1/video-to-softwareanswers within a 12s sync budget. Slow work keeps running and returns 202 +job_idso Cloudflare never waits ~100s.job_id. If origin still 524s / 504s / 408s / aborts, kickoff fails fast (20s) and hands off to asyncPOST /videos/processwith the ready transcript andpipeline: video-to-software(no YouTube re-hit).PASS still requires a verified
https://hostname URL + EventRelay receipt. Claim guard is unchanged. No Origin invent.Scope
/video-to-softwarewhen the sync budget is exceeded/videos/processfallbackVideoProcessJobRequest.transcript(backend + SDK) and async video-to-software job pathBACKEND_URL)EVENTRELAY_API_KEYRisk
Verification
pipeline-async-job+gate-transition(37) and Studio workflow/status/deploy (40)_run_video_joblive_url persist, existing vts 200/500Production evidence
Pending merge-when-core-green → prod READY
dpl_on Vercelv0-uvai/uvai.io.Agent handoff