fix: restore ready-transcript reuse on studio.deploy (no YouTube re-fetch) - #1887
Merged
Merged
Conversation
Stop remapping timeout/524/empty poll copy to the reuse-miss HOLD. Return origin 202 immediately when a usable transcript is already ready so Attempt Deploy never re-hits YouTube /videos/process. 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 |
Contributor
🔴 E2E Test Results: FAILURE DETECTED
Test Output |
kk-agent
marked this pull request as ready for review
September 12, 2026 14:36
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches. Re-running this action after a short time may resolve the issue. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
kk-agent
deleted the
cursor/studio-deploy-ready-transcript-reuse-ae8e
branch
September 12, 2026 14:48
Contributor
8 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: restore ready-transcript reuse on studio.deploy (no YouTube re-fetch) without regressing timeout/524
Outcome
When the Studio transcript / pack is already ready, Attempt Deploy /
studio.deployreuses it and never re-hits YouTube via/videos/process.#1884remapped timeout / 524 / empty poll messages to the residual:Ready transcript was not reused. Deploy must not re-fetch YouTube. No verified deploy receipt.even when the transcript was already posted to origin
POST /video-to-software. That false reuse-miss is cleared.Continue polls stay
Deploy job … still pending. Timeout / 524 become an honest origin miss (Studio transcript was reused. Origin video-to-software returned no verified live URL.) — not this residual and not prior cleared residuals. A YouTube bot string still maps to the reuse HOLD. Origin vts with a usable transcript returns202+job_idimmediately so WDK can poll for a verifiedhttps://live URL + EventRelay receipt. Claim guard unchanged: no invented Origin / live URL.AXIOM:
dpl_BL2mQMcrQEyuKB1LjmwCgEeA4V9Y/XYMcBrFSJ4c, receipter:gate:v1:wrun_01M2B05JJZNTD7MKANV0RN0J28. Transcript already ready. No live URL until origin supplies one.Scope
/videos/processon that pathstudioDeployReadyTranscriptHoldremaps YouTube re-fetch only; timeout/524/empty → origin-no-live HOLDdecideStudioDeployPollcontinue never inherits the reuse-miss stringstudioDeployReadyTranscriptHold())/video-to-softwarereturns 202 immediately when a usable transcript is providedEVENTRELAY_API_KEYcontinue-on-error: true; missingVERCEL_AUTOMATION_BYPASS_SECRET)Must not regress
sleep('10s')poll)Risk
Verification
Tied to head
7cf708e3b.7cf708e3b: validate, guards, lint-python, lint-frontend, build, test, test-frontend — all successcontinue-on-error: true); same historical flake as fix: studio.deploy no abort-timeout → live URL #1884 (preview 401 / empty bypass secret); not in this cutProduction evidence
Vercel preview exists for this branch. Cannot signed-in dogfood AXIOM here. No invented live URL. Loop merge/squash → prod READY
dpl_for AXIOMXYMcBrFSJ4c.Agent handoff