salesforce-notestrun-blocked-on-production-orgs

Salesforce API enforces that NoTestRun test level is not permitted for deployments to production orgs. This is a Salesforce business rule, not a code bug. Production deployments must use RunLocalTests, RunAllTestsInOrg, or RunSpecifiedTests. Validation-only (check_only=true) deploys are the safe way to verify fix correctness without side effects.