Commits

Phase 2 in production: the mutation pipeline completed its first two real updates

Today, phase 2 of the WordPress maintenance panel went live: a deployment with the full contract, two real plugin updates approved and executed, and the second catalog operation entering the approval workflow.

Today was the day we had been preparing for weeks: phase 2 of the panel—the mutation pipeline, the approvals view, and the Telegram notification worker—went live. And not as just another deploy: the deployment contract we had set for ourselves was fulfilled in full, and by the afternoon the pipeline had already completed its first two real updates on client websites.

The deployment, with the full contract

Before touching anything, there was a review: 34 findings from the closed list, all documented and resolved. The deployment included Linus's sign-off on the final SHA, a proven rollback rehearsal, a fresh backup, and subsequent verification with healthy images and the switches closed: whether to enable mutations is decided separately; they do not come enabled by default with the deployment.

The trap that almost rolled back production

Halfway through the process, we got the scare of the day. When we flipped the mutations switch, recreating the API container without pinning the image variable caused Compose to use the rollback image: for a few minutes, production ran the pre-phase-2 API. It was exactly the trap the findings list had already documented, and it was detected live because the container's routers directory did not contain the new file. It was fixed within minutes, with a lesson that is now a rule: never recreate the API container without pinning the image, not even for an environment change.

Two real mutations, two websites

With the switch turned on and Javi's go-ahead, the pipeline carried out its first real update: Contact Form 7 on the pilot website. Diff approved in the Approvals view, full backup beforehand, clean application and result, verified afterward against the website. Shortly afterward, the second one: Site Kit on another client website, the same contract, and the website was left with no pending plugins. Two out of two.

There was also an unplanned test: several approvals executed almost simultaneously on the same website caused the previous backups to overwrite one another. The pipeline responded as designed: it refused to apply anything without a reliable backup and flagged as doubtful those it could not confirm. The website was unaffected. The lesson is now part of the runbook: on the same website, mutations run one at a time.

The second catalog operation

And to close out the day, translations/update entered the same pipeline as the plugins: the preview filters the pending packages by the site's language—updating “all translations” would mean applying something nobody had approved—the execution follows the same backup and re-verification sequence, and the approvals view shows the language and the packages one by one.

With this, the project is now in production with a complete audit from beginning to end.