Skip to content

fix: async-handoff studio.deploy kickoff past HTTP 524 - #1875

Merged
groupthinking merged 2 commits into
mainfrom
cursor/studio-deploy-kickoff-524-d09a
Sep 12, 2026
Merged

fix: async-handoff studio.deploy kickoff past HTTP 524#1875
groupthinking merged 2 commits into
mainfrom
cursor/studio-deploy-kickoff-524-d09a

Conversation

@groupthinking

@groupthinking groupthinking commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Canonical issue

Named cut: studio.deploy backend kickoff no HTTP 524 → live URL

AXIOM on dpl_BbFnnqTvYiVDfSFEDa43LQTFETTD / XYMcBrFSJ4c cleared #1859 YouTube bot. New HOLD: Backend kickoff returned HTTP 524 (receipt er: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:

  1. Origin / api.uvai.io: POST /api/v1/video-to-software answers within a 12s sync budget. Slow work keeps running and returns 202 + job_id so Cloudflare never waits ~100s.
  2. Studio path: Kickoff uses that job_id. If origin still 524s / 504s / 408s / aborts, kickoff fails fast (20s) and hands off to async POST /videos/process with the ready transcript and pipeline: 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

  • Included:
    • Origin 202 job handoff on /video-to-software when the sync budget is exceeded
    • Gateway-timeout detection and async /videos/process fallback
    • VideoProcessJobRequest.transcript (backend + SDK) and async video-to-software job path
    • Skip YouTube extract when a usable transcript is provided
  • Explicitly excluded:

Risk

Verification

  • Focused Vitest: pipeline-async-job + gate-transition (37) and Studio workflow/status/deploy (40)
  • Focused pytest: origin 202 on sync-budget exceed, models, transcript reuse, _run_video_job live_url persist, existing vts 200/500
  • Required CI
  • Review threads resolved

Production evidence

Pending merge-when-core-green → prod READY dpl_ on Vercel v0-uvai / uvai.io.

Agent handoff

  • One named cut
  • Acceptance: no HTTP 524 HOLD on kickoff; origin answers before CF 524; claim guard kept
  • Required checks pass on the current head
  • Human decision only if a new residual is not this 524 miss
Open in Web Open in Cursor 

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>
@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Sep 12, 2026 9:26am UTC

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 9127859b-4710-4c02-a8ab-2a023972551e


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.

@groupthinking
groupthinking enabled auto-merge (squash) September 12, 2026 09:25
@groupthinking
groupthinking merged commit 7ac0dd7 into main Sep 12, 2026
19 of 23 checks passed
@groupthinking
groupthinking deleted the cursor/studio-deploy-kickoff-524-d09a branch September 12, 2026 09:25
@linear-code

linear-code Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

GRV-532

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA cbd5abd.
Ensure 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 Files

None

@github-actions github-actions Bot added documentation Improvements or additions to documentation javascript Pull requests that update javascript code python tests labels Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation javascript Pull requests that update javascript code python tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants