Skip to content

fix(web): Studio transcript stages, ETA, and retry - #1700

Merged
kk-agent merged 1 commit into
mainfrom
cursor/studio-transcript-stages-9093
Sep 8, 2026
Merged

kk-agent merged 1 commit into
mainfrom
cursor/studio-transcript-stages-9093

Conversation

@groupthinking

Copy link
Copy Markdown
Owner

Canonical issue

Hayden dogfood residual B after A/#1692 and F/#1695 on https://uvai.io/studio?video=https://www.youtube.com/watch?v=pBsT6v-ciO8. No GitHub issue number was attached to this cut.

Outcome

While a pack run is working, Studio names the real transcript stages (pack identity → captions → transcript → events), shows a ~45s ETA, and offers Retry transcript on failure or a stuck poll. Caption wait copy does not invent transcript text.

Scope

  • Included:
    • studioTranscriptStage / studioTranscriptEtaLabel / studioCanRetryTranscript
    • Transcript panel stage + retry control in OneLoopStudio
    • Elapsed timer stays live while status === 'processing' after processVideo returns
  • Explicitly excluded:
    • Origin G.A.T.E., fake events
    • Player loading/error (C), export toast (D), review_action cards (E), overclaim copy (G)
    • Ship checkout

Risk

  • Risk level: low
  • Failure mode: Stage label lags actual backend stage because we infer from elapsed/progress, not invented SSE events.
  • Rollback: revert this PR; Studio returns to “Fetching transcript…” / “Waiting on captions…”.

Verification

Head SHA: e1e7312ac

  • Focused tests: cd apps/web && npx vitest run src/lib/__tests__/studio-pipeline-status.test.ts src/lib/__tests__/uvai-surface-unification.test.ts src/lib/__tests__/home-sell-surface.test.ts → 3 files, 27 passed
  • Required CI
  • Review threads resolved

Production evidence

UI-only. Preview on Vercel v0-uvai after CI. Live GET of the pack is unchanged.

Agent handoff

  • One canonical issue is linked
  • No competing PR implements the same issue
  • Acceptance criteria are satisfied (stages + ETA + retry; no fake transcript)
  • Required checks pass on the current head
  • Human decision is requested only for product, security, irreversible infrastructure, or production approval

QA on pBsT6v-ciO8

  1. Open /studio?video=https://www.youtube.com/watch?v=pBsT6v-ciO8.
  2. While the run is working, the transcript panel shows a named stage and an ETA (typical ~45s), not dead “Waiting on captions…”.
  3. On a failed or stuck run, Retry transcript is visible and re-runs the same URL.
  4. Confirm the panel does not invent caption text.
Open in Web Open in Cursor 

Name pack/captions/transcript/events while a run is working, show a ~45s ETA, and offer Retry on failure or a stuck poll. Do not invent transcript text.

Co-authored-by: Hayden <groupthinking@users.noreply.github.com>
@vercel

vercel Bot commented Sep 8, 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 8, 2026 5:13pm UTC

@github-actions github-actions Bot added javascript Pull requests that update javascript code tests labels Sep 8, 2026
@github-actions

github-actions Bot commented Sep 8, 2026

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 e1e7312.
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

@coderabbitai

coderabbitai Bot commented Sep 8, 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.

@kk-agent
kk-agent marked this pull request as ready for review September 8, 2026 17:20
@kk-agent
kk-agent merged commit 142302a into main Sep 8, 2026
25 of 26 checks passed
@kk-agent
kk-agent deleted the cursor/studio-transcript-stages-9093 branch September 8, 2026 17:20
@linear-code

linear-code Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

GRV-500

This branch was successfully deployed

1 active deployment
Preview — e1e7312a Deployed Sep 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants