At a certain point in WebVideoTranscodeJob::run() $status changes from a bool to a Status object, and is then returned. The return value of Job::run() is expected to be a status, and if it's otherwise, that may lead to issues.
Since Gerrit 48860, any non-boolean result is interpreted as true, which makes the issues less severe, but this should nevertheless be fixed.
Version: master
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=42715