Skip to content

Conversation

@jbmorley
Copy link
Contributor

@jbmorley jbmorley commented Jan 23, 2026

Apple have deprecated the previous function in favor of a new throwing one. Since I encountered this while trying to root-cause the video conversion hangs, I figured I should use the new one. Sadly, in spite of my initial assessment, it does not do anything to resolve the hangs.

It looks like a now-deprecated `AVKit` export API would hang if it ever encountered an error, leading to hangs in site builds. This change adopts the new throwing API to ensure these hangs don’t occur any more. Unfortunately the export API itself seems to be entirely non-deterministic (especially on Tahoe?) and fails randomly, so now, builds will just fail instead. I guess that’s progress? 🤦
@jbmorley jbmorley changed the title fix: Address intermittent hangs when importing movies fix: Address intermittent hangs when importing video Jan 23, 2026
@jbmorley jbmorley changed the title fix: Address intermittent hangs when importing video fix: Resolve intermittent hangs when importing video Jan 23, 2026
@jbmorley jbmorley changed the title fix: Resolve intermittent hangs when importing video refactor: Adopt new throwing AVAssetExportSession export method Jan 23, 2026
@jbmorley jbmorley changed the title refactor: Adopt new throwing AVAssetExportSession export method refactor: Adopt new throwing AVAssetExportSession export function Jan 23, 2026
@jbmorley jbmorley enabled auto-merge (squash) January 23, 2026 04:58
@jbmorley jbmorley merged commit d4de262 into main Jan 23, 2026
6 checks passed
@jbmorley jbmorley deleted the jbmorley/ensure-video-imports-fail branch January 23, 2026 05:07
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