The image lacked a font the document builder needs, and every test pointed the builder at its own bundled font. So production made no documents at all while CI stayed green.
Test the path production takes, not only the override. If every test sets the escape hatch, the default path is never run.