On this page11
  1. At a glance
  2. The decision
  3. One source, many sites
  4. What a release has to pass
  5. When an update reaches a site
  6. When a release failed
  7. Status that tells the truth
  8. Learning from a real failure
  9. Twenty points where hosting fails
  10. What the update feed knows
  11. Hiring for production engineering?

Part of the TFI PHP App. By Mohammad Javad Dastouri, full-stack and AI engineer.

Shipping fast is easy when nothing has to stay up. Here, one mistake can reach every site, so a release has gates to pass first. Those gates grew over time, mostly after something went wrong.

At a glance

Releases
193 since 5 October 2026
Automatic checks today
More than 1,280, in 52 groups
A failing check
Stops the release, unless I have recorded that exact failure as accepted
Package
Signed, and verified before install
Update
Verified backup, then one atomic switch
If it fails
Automatic rollback
Releases
193 since 5 October 2026
Automatic checks today
More than 1,280, in 52 groups
A failing check
Stops the release, unless I have recorded that exact failure as accepted
Package
Signed, and verified before install
Update
Verified backup, then one atomic switch
If it fails
Automatic rollback

The decision

Context
Every site runs the same code, so a bad change reaches all of them, and files copied by hand stop matching.
Decision
Sites fetch a signed package, verify it, take a backup and roll back by themselves if a check fails.
Not chosen
Pushing files to each site from one place. Simple and quick, but the central machine needs a way into every account, and sites installed elsewhere cannot be reached.
Cost
Even a one-line fix goes through the whole gate.
Result
On 3 November 2026 a bad update stopped on five sites, with none left broken.
Context
Every site runs the same code, so a bad change reaches all of them, and files copied by hand stop matching.
Decision
Sites fetch a signed package, verify it, take a backup and roll back by themselves if a check fails.
Not chosen
Pushing files to each site from one place. Simple and quick, but the central machine needs a way into every account, and sites installed elsewhere cannot be reached.
Cost
Even a one-line fix goes through the whole gate.
Result
On 3 November 2026 a bad update stopped on five sites, with none left broken.

One source, many sites

I build and test on one source site. A release is a signed package that the other sites fetch for themselves. Sites receive only signed packages, because hand-copied files are how sites drift apart.

What a release has to pass

  • Public-address checks

    Tests go through the real address, as a visitor would, with no localhost shortcuts.

  • Rules that read the code

    Banned functions, hard-coded addresses and CSS that breaks the layout system.

  • Real installs

    A fresh install from a real WordPress copy has to finish and work, on more than one PHP and database setup.

  • Right-to-left lines

    A real browser checks Arabic pages, and a line falling the wrong way blocks the release.

  • Public-address checks

    Tests go through the real address, as a visitor would, with no localhost shortcuts.

  • Rules that read the code

    Banned functions, hard-coded addresses and CSS that breaks the layout system.

  • Real installs

    A fresh install from a real WordPress copy has to finish and work, on more than one PHP and database setup.

  • Right-to-left lines

    A real browser checks Arabic pages, and a line falling the wrong way blocks the release.

When an update reaches a site

The site takes a verified backup, then switches to the new version in one step. If a health check fails, it goes back by itself. A visitor gets the old version, the new one, or a short "come back shortly" during the switch, never half of each.

When a release failed

On 3 November 2026, an update hit a database step that existing rows on one site could not pass, and that site rolled itself back. The same release stopped on four more sites, which stayed on the previous version. Two conflicting schema statements were the cause. Visitors kept a working site, and the fix went out as a new release.

Status that tells the truth

One screen once showed a red cross for a release the site was already running. I treated that as a root-cause bug, because a status nobody can trust is worse than none.

Learning from a real failure

On 20 October 2026, shared code was edited on my live source site before the database column it needed existed, and that site answered errors for four and a half minutes. Since then the database changes first, and a site with a mismatch answers 503 and repairs itself.

Twenty points where hosting fails

A separate audit ranked 20 ways ordinary shared hosting can break an app like this. I fixed 17 with tests, and each now fails in plain words instead of a blank error.

What the update feed knows

Each installation reports to the feed with a random code and a masked address. No IP address is stored.

Hiring for production engineering?

Tell me what has to stay up. Next: how a WordPress site moves across.

Section
Web platforms and migration
Updated
November 9, 2026
Reading time
3 min read

Hiring for this kind of work?

Tell me about the role and I will reply by email.

Discuss a role with me