Add a 'test' stage to the Containerfile (production base image plus pytest) and build it in the release workflow before the push step, so a failing test stops the release. Fix the eight tests that were failing: media validation returns a PIL Image since v1.5.0, and the migration test needs TESTING to skip production config checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>