Skip to content

Refuse to leave a truncated concat file when cleanup fails - #206

Merged
jmjava merged 1 commit into
mainfrom
cursor/concat-incomplete-remains
Nov 1, 2026
Merged

jmjava merged 1 commit into
mainfrom
cursor/concat-incomplete-remains

Conversation

@jmjava

@jmjava jmjava commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • When ffmpeg timed out, a failed delete of the partial mp4 was ignored and the error still said the file was removed.
  • Cleanup failure is now refused, and a unit test fails if that error is swallowed.

Test plan

  • tests/test_concat.py keeps a directory named full.mp4 and expects the removal error
  • complexity and hotspot gates pass against origin/main

Made with Cursor

A failed delete used to be ignored, and the timeout error still said the file was removed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jmjava
jmjava merged commit 71c97a9 into main Nov 1, 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