On July 20th, 2022 at 6:40 AM ET, Gatsby was made aware of an internal change that impacted our open-source customers with any sites with a custom npmrc file. This resulted in a few customers unable to build or preview their site on Gatsby Cloud while Gatsby Engineering resolved the issue.
The issues was resolved with a code fix in 5 hours and 32 minutes.
gatsby-plugin-gatsby-cloud
Identified: 6:40 AM ET
Resolved: 11:12 AM ET
We made a switch from using npm to yarn for installing dependencies. In certain situations, this meant that customers were unable to build or preview their site on Gatsby Cloud.
The issue was resolved by rolling back the change and deploying the fix for testing on a single site and then releasing it fully after passing the testing phase.
Gatsby’s Engineering Team identified areas in the codebase where they could apply better monitoring. They will implement additional monitoring and improve the process with incremental rollouts so future instances will not occur.
The root cause was the result of working with an older area of the codebase and not appropriately accounting for the switch from npm to yarn. Making adjustments to monitoring and testing should prevent this issue in the future.