The big version at the end of the year comes with a new default theme, and before the upgrade, the test site should be scheduled according to which nodes.
WordPress 7.2 is scheduled for release on December 8th with a new default theme, how to schedule the test site before the upgrade? The official node is as follows: The final version will be released on December 8th, the candidate version on November 17th, and the test version has been provided on the 20th of this month. To leave enough time for the candidate version phase to complete testing and the final version phase to only do the release, the scheduling of the test site should start from the third week of November, rather than starting after December 8th.
First look at the official node and then determine your own window
| Official node | Time | What should the test site achieve |
|---|---|---|
| Test version | October 20th | Only do compatibility detection, do not receive production data |
| Candidate version | November Seventeenth | Complete regression, including templates and forms |
| Official version | December Eighth | Gray-scale one, observe before full-scale |
The feature list of the test version has been frozen, and it is effective to use it to judge whether the extension conflicts; but the test version itself states that it is not suitable for production sites, and directly installing the test version on the production site is a common scheduling error. The candidate version is closer to the final form, and the regression items should be completed in this round.
Release the new default theme with 7.2, this has the greatest impact on scheduling: the theme change means that the template layer needs to be revalidated, including the rendering of article lists, category pages, search results pages within the site, and comment forms, not just checking which theme the site is using.
What aspects does the test site need to cover?
The test site covers four aspects. The first is content display: the rendering of the home page, list page, detail page, and category and tag pages on all terminals; the second is interaction entry: search, comments, form submission and captcha; the third is address and redirection: whether the pseudo-static rules are functioning normally, whether the redirection of old addresses still points to the correct target; the fourth is the operation and maintenance chain: whether the backup can be generated normally, and whether it can be completely restored.
The third category is the easiest to be skipped. After a major version upgrade, the changes in rewrite rules will make the links appear normal but actually return exceptions. When checking, select a batch of addresses from the site map and request them directly, check the status and the final landing page, which is much faster than flipping through the backend page by page.
The order on the day of the formal site upgrade
It is recommended to fix the order into five steps: first, make a recoverable backup and confirm that the backup file can read the content; then select one or a group to do a grayscale test; run the four types of surfaces of the grayscale site; confirm there are no exceptions before doing a full scale; finally, review the jump and index status.
The backup must be a 'verified recoverable' backup. Backups that only generate files without performing recovery drills often discover missing static files or incorrect permissions when problems occur during upgrades. AnQiCMS supports handling data along with static files for backups and restores, and the recovery link can be practiced once on a test site, treating it as a fixed item on the schedule rather than an emergency action.
The fallback path when problems occur
The rollback path should be written before the upgrade, usually three methods: restore backup, switch back to the old version directory, and direct traffic to the unupgraded gray node. The choice depends on the scope of damage, and content data that has been rewritten can only be rolled back with backups. It is faster to switch back to the old version only when there are exceptions in template rendering.
The deployment method affects the rollback speed. For sites deployed with containers or panels, rollback usually involves changing the image tag or version directory, with a smaller operation surface; for sites deployed by manual upload, it is necessary to first confirm whether the old version code is still completely retained, otherwise the rollback will have to rely on backup reconstruction, which can take hours.
There is a buffer on the content side: before the upgrade, put the content that is not finalized in draft or pending release status to avoid exceptions during the upgrade appearing directly on the official page. The same applies to scheduled publishing; arrange the content released after a major version to be published after the upgrade is completed and reviewed.
Common questions
Is it enough to run tests on only one site?One site can verify rendering and links, but it cannot cover the diversity of content. It is recommended that the test site at least have a batch of content with attachments, comments, and old address redirection for comparison.
Should the full version be released on the day of the official version?Not necessary. On the first day of the official version, test one machine in gray scale, observe for one to two days, and then expand to all at once if there are no exceptions with the extension and template, which is a low-cost scheduling method.
After the upgrade, all old addresses show a 404 error, what should be done first?First confirm whether the rewrite rules and pseudo-static configuration have been overwritten, and then check the backup and rollback plan. Such problems often occur at the configuration layer, and restoring the configuration is usually faster than rolling back the entire site.