Files
hyperframes/packages
Wenbo ZhuandClaude Opus 5.5 f041181ebb fix(cli): measure probe --normalize replaces a link at the output name (#8738)
* fix(cli): measure probe --normalize replaces a link at the output name

normalize() handed the final --normalize path straight to ffmpeg, so a
symbolic link already at that name was followed and the file it points
at was overwritten with the encoded copy. It now encodes through
ffmpegToFile(), which writes under a private name and renames over the
requested one, as the other measure writers already do. A failed encode
leaves nothing at the destination.

Adds a test with the output name linked to a file outside the project:
that file stays untouched and the output name becomes a regular file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(cli): drop the comment the staged write no longer needs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 17:57:21 +00:00
..
2026-11-24 15:30:29 +00:00
2026-11-24 15:30:29 +00:00
2026-11-24 15:30:29 +00:00
2026-11-24 15:30:29 +00:00
2026-11-24 15:30:29 +00:00