Skip to content

fix: return 202 from video-to-software before CF 524 - #1878

Closed
groupthinking wants to merge 1 commit into
mainfrom
cursor/studio-deploy-origin-524-d09a
Closed

fix: return 202 from video-to-software before CF 524#1878
groupthinking wants to merge 1 commit into
mainfrom
cursor/studio-deploy-origin-524-d09a

Conversation

@groupthinking

Copy link
Copy Markdown
Owner

Canonical issue

Same named cut as #1875: studio.deploy backend kickoff no HTTP 524 → live URL.

#1875 squash (7ac0dd740) already landed the Studio fail-fast + async /videos/process handoff. That squash happened before the origin-layer commit. CoS asked to fix the 524 on api.uvai.io as well — this PR is that residual only.

Outcome

POST /api/v1/video-to-software answers within a 12s sync budget. Slow work keeps running and returns 202 + job_id. Studio uses that job_id. Cloudflare never waits ~100s on this route.

PASS still requires a verified https:// hostname URL + EventRelay receipt. No Origin invent.

Scope

Risk

Verification

  • Cherry-picked onto current main (698ce0ee6)
  • Focused Vitest 37 + pytest origin 202 / vts 200/500 / job persist
  • Required CI

Production evidence

#1875 cut prod READY: dpl_A3dbu89tSLg4wgwG5KoxS5b6WnSK (sha 7ac0dd740). Current live aliases may have moved to later main deploys.

Open in Web Open in Cursor 

Origin answers within a 12s sync budget. Slow deploys persist a
pollable job_id so Studio never waits for Cloudflare 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:32am UTC

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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.

@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
@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 c4ede7f.
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

@groupthinking groupthinking added the bug Something isn't working label Sep 12, 2026
@cursor

cursor Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Closing as superseded. HTTP 524 async handoff and ready-transcript skip already landed on main via #1875 and #1880. This draft is CONFLICTING and must not be reopened as a live-cut redo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working 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