Skip to content

merging branch anik into main - #89

Merged
AnikMajumdar merged 2 commits into
mainfrom
anik
Sep 12, 2026
Merged

AnikMajumdar merged 2 commits into
mainfrom
anik

Conversation

@AnikMajumdar

Copy link
Copy Markdown
Collaborator

Addressing comments left by copilot reviewer about time-outs

AnikMajumdar and others added 2 commits September 12, 2026 13:26
Addresses PR #86 review round 2:

- make_streamable_mp4 now raises on an ffmpeg timeout / exhausted encode budget
  instead of returning the unencoded original, which run_pipeline would otherwise
  upload as a non-playable processed.mp4 and mark the match done.
- _upload_resumable resumes a TUS upload from the server's offset (via HEAD) after
  a transient chunk failure instead of restarting the session; the create step is
  retried and the whole upload stays within the 600s budget.
- upload_results_parallel blocks on the mandatory video first and shuts the pool
  down without waiting, so a video failure (e.g. 413) is not delayed by optional
  heatmap retries burning their budget.

Adds tests for the encode-timeout raise and the video fail-fast behavior (9 pass).
…mments

fix: fail on hung encode, resume TUS uploads, fail-fast on video upload
@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
courtcheck Ready Ready Preview Sep 12, 2026 8:36pm UTC

@AnikMajumdar
AnikMajumdar merged commit 263e8bc into main Sep 12, 2026
8 checks passed
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