Skip to content

fix(web): avoid restarting processing during thumbnail generation - #2885

Merged
richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/web-processing
Oct 22, 2026
Merged

richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/web-processing

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

the claim that moves an upload into processing skipped videos already processing or complete, but not ones in the thumbnail phase. the media server sets that phase partway through a run, so a retried upload completion landing then would start a second full processing run, or fail with a confusing error if the phase changed under it.

now the thumbnail phase counts as already processing for implicit starts. the explicit retry still restarts a stale thumbnail phase on purpose. tests check the generated sql and the returned status.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; it blocks duplicate starts without removing explicit recovery.

Summary

The PR prevents duplicate processing runs while a video is generating its thumbnail.

  • Upload retries leave videos alone while thumbnails are being made.

Tests were inspected but not run.

Reviews (1) · Last reviewed commit: "fix(web): avoid restarting processing du..." · Reviewed by Greptile

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 22, 2026 07:29 Inactive
@vercel

vercel Bot commented Oct 22, 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 Oct 22, 2026 12:13pm UTC

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 22, 2026 12:13 Inactive
@richiemcilroy
richiemcilroy merged commit 7ef6b5a into CapSoftware:main Oct 22, 2026
29 of 30 checks passed

This branch was previously deployed

1 inactive deployment
Preview – cap-status — c9964b07 Deployed Oct 22, 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.

2 participants