You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make TranscodePreviewVX tolerant of missing per-language shape-tags
When previewing MU2/CLN files, the workflow generates an audio preview track
for every language defined in LanguagesByMU2/LanguageBySoftron and tries to
register each as a Vidispine shape using the language's MBPreviewTag. For
languages whose tag is not configured in Vidispine (e.g. mul_yue_low), the
import would fail and tank the entire preview workflow.
- Iterate the audio preview map deterministically with GetMapKeysSafely.
- Skip languages with an empty MBPreviewTag.
- Treat per-language import failures as non-fatal: log + telegram warning,
then continue. Don't leak the loop variable through return err.
- Parse Vidispine's structured error envelope in AddShapeToItem and surface
shape-tag-not-found via ErrShapeTagNotFound. ImportFileAsShapeActivity
wraps that as a non-retryable Temporal error so missing tags fail fast
instead of burning through the default retry policy.
- Add unit tests for parseVSError covering the shape-tag, generic, and
non-JSON cases.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments