Skip to content

fix(web): forget web edits when a desktop reupload replaces the recording - #3616

Open
yashranaway wants to merge 2 commits into
CapSoftware:mainfrom
yashranaway:fix/edit-video
Open

yashranaway wants to merge 2 commits into
CapSoftware:mainfrom
yashranaway:fix/edit-video

Conversation

@yashranaway

@yashranaway yashranaway commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

after trimming a video on the web we keep an edit record and a copy of the original. if you then reupload from the desktop editor to the same link, the new file replaced the video but both of those stayed. so "restore original" brought back the old recording and threw away the reupload, the next web trim rendered from the old original and silently dropped the reupload, and the transcript editor kept the old words.

now the reupload deletes the edit record in the same transaction that publishes it. the first trim after that throws away any leftover original copy and preserves the current recording again (after it has claimed the upload row, so nothing races it), and stored words are ignored until the new transcription finishes.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge with the remaining copy race explicitly accepted.

Summary

Desktop reuploads clear saved web edits. The next trim replaces the leftover original copy after claiming the recording, and transcript reuse now requires transcriptionStatus to be COMPLETE.

  • Desktop reuploads clear the web edits for the recording they replace.
  • The first trim after a reupload saves the current recording as its original.
  • Edit workflows skip stored words until transcription is complete.

Reviews (4) · Last reviewed commit: "fix(web): rebuild the edit original and ..." · Reviewed by Greptile

@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

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

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Nov 1, 2026 8:22am UTC

@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 07:33 Inactive
Comment thread apps/web/lib/desktop-reupload.ts Resolved
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status November 1, 2026 09:22 Inactive
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

Comment thread apps/web/actions/videos/save-edits.ts Resolved

This branch was previously deployed

1 inactive deployment
Preview – cap-status — 7827036b Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant