docs/contribution/releases/troubleshooting.md
This page provides guidance for troubleshooting and recovering from issues that may arise during the WooCommerce release process. It covers common scenarios, recommended actions, and best practices to help ensure releases are handled smoothly and any problems are resolved efficiently.
⚠️ Do not re-run any workflows until you understand the cause of the failure. Re-running without fixing the root issue can make things more complicated.
During the release process, you may encounter CI test failures on release-related PRs. These failures sometimes occur because test fixes were merged to trunk but not backported to the release branch before it was cut.
If, after downloading and unzipping the generated artifact, something seems off (e.g., missing files, incorrect changelog, or version mismatch), this usually means:
Before you try to build the version again:
release/X.Y branch (either in the GitHub UI or locally after pulling the latest changes).Once you know which step failed, re-run only that step as described in the Building & Publishing guide. Make sure to run skipped workflows in the correct order and double-check all configuration (version number, release type, etc.) before proceeding.
<h3 id="deploy-serious-bug">A serious bug was detected during internal checks / monitoring</h3>For RC and stable releases, deploying to our staging environment and monitoring for errors is required before the release is made publicly available. If a serious bug is detected during this monitoring period, follow these steps:
-rc.2 if the bug was detected during -rc.1, or x.y.2 if detected while monitoring x.y.1) by running the Release: Create Tracking Issue workflow. Do not reuse the existing tracking issue.If a severe regression or bug is discovered (e.g., checkout failure or unrecoverable data loss):
Release: Update stable tag workflow, making sure to check the Revert option to allow downgrading.Remember to not plan the patch release too close to the weekend.
<h3 id="release-delay-weekend-id">The release was delayed. Can we still release after Tuesday?</h3>In general, avoid releasing after Tuesday, especially close to a weekend.
Even if a patch is ready and seems to fix the problem, it's hard to be sure there aren't other hidden issues and a rushed release late in the week means most of the team won't be available to monitor or respond to problems.
As a rule of thumb, when in doubt, consider to delay the release by a week for confidence.