Salesforce deployment failed with no errors? Where the result keeps them"The deployment failed and there are no errors" is a common complaint. It usually means the failure is in a part of the result that the tool didn't print. This post maps where a Metadata API deploymen3 min read·diffbridge.hashnode.dev2d ago
RunLocalTests vs RunSpecifiedTests: why one passes and the other fails with 0% coverageTwo test levels cover almost every production deployment: RunLocalTests and RunSpecifiedTests. They look interchangeable, but they apply different coverage rules, and the difference explains a failure4 min read·diffbridge.hashnode.dev3d ago
Validate now, deploy later: how Salesforce quick deploy worksProduction deployments with Apex tests are slow, and the release window is short. Salesforce has a way to move the slow part out of the window: validate first, then quick deploy. This post explains wh4 min read·diffbridge.hashnode.dev3d ago
Three pushes in a row: what should your Salesforce CI do with the stale ones?Salesforce runs one deployment per org at a time, and a deployment with tests can take a long time. So what should your CI do when new commits arrive while an older one is still deploying? Most pipeli4 min read·diffbridge.hashnode.dev3d ago
When does Salesforce run Apex tests on a deployment, and how do you run fewer?Apex tests are the slowest part of most Salesforce deployments to production. This post explains when Salesforce runs them, which levels you can choose, the coverage rules that limit your options, and5 min read·diffbridge.hashnode.dev3d ago