Call for Code Review Help: Repairing Gutenberg GitHub Actions

What's Happening Behind the Scenes of Gutenberg's Older Branches

Repairing Gutenberg Github Actions - SiteHale

If you mostly interact with WordPress through the dashboard, it’s easy to forget how much machinery sits underneath every release. A recent post on the Make WordPress Core blog described one piece of that machinery that has fallen into disrepair: the automated testing setup attached to the older release branches of the Gutenberg repository.

Some context first. Gutenberg is the project that produces the block editor. Since WordPress 5.0 shipped in late 2018, code developed in the Gutenberg repository has been bundled into every major WordPress release. To track exactly which Gutenberg code went into which WordPress version, the project keeps a set of branches named after each release, following a wp/X.Y pattern. Each one works like a time capsule. It is a frozen snapshot of the editor code that the wordpress-develop repository pulled in when it built that version.

Those snapshots are supposed to stay quiet. Nobody adds new features to them. They still matter, though. When a security problem is discovered, fixes sometimes have to be applied to those older branches so that sites running earlier WordPress versions can be patched too.

Here’s the problem. The automated checks that run against those branches have not been kept up to date. These are the GitHub Actions workflows that lint the code, run the test suites, and confirm nothing broke. Tooling changes, dependencies get deprecated, third-party actions are retired, and the virtual environments that run these jobs keep evolving. A workflow that passed cleanly years ago may fail today for reasons that have nothing to do with the code it is testing. As a result, many of these older branches currently show broken or failing checks.

The core team is asking for help reviewing the fixes being proposed to get those workflows running again. It isn’t a glamorous project. It is the kind of maintenance that keeps the rest of the system trustworthy, and it affects far more sites than its low profile suggests.

Why Working Tests Matter for Security Backports

To see why broken test workflows on old branches deserve attention, you need to know how WordPress handles support. Officially, only the most recent version of WordPress is actively supported. As a courtesy, the security team backports selected security patches to older branches. Every version from 4.7 onward is currently in a security-only support state.

That covers a lot of branches. Every release from 5.0 onward also contains block editor code that originated in the Gutenberg repository. If a vulnerability turns up in that editor code, the fix may need to land in several frozen wp/X.Y branches before it can ship in updated releases of those older WordPress versions.

Automated tests are what make that process safe. When a maintainer applies a patch to a years-old branch, they need to know two things quickly:

  • Does the patch actually fix the vulnerability?
  • Did the patch accidentally break something else that worked before?

A healthy test suite answers the second question in minutes. A broken one leaves maintainers with poor options. They can test by hand, which is slow and easy to get wrong across many branches. Or they can rely on reasoning and careful review alone, which raises the risk of a regression reaching sites that run older versions.

There’s also a quieter problem: alert fatigue. When failing checks are the normal state of a branch, a red X stops meaning anything. If a security patch really did break something, that warning would look exactly like all the failures that were already there. Repairing the workflows restores the signal. A failure becomes meaningful again, and a pass becomes real reassurance.

None of this means older WordPress versions are currently unpatched or unsafe because of this issue. It means the infrastructure that supports careful, efficient backporting needs work. Fixing it now, before an urgent security release forces the issue, is much better than scrambling during an active vulnerability disclosure.

What This Means If Your Site Runs an Older WordPress Version

Plenty of live WordPress sites don’t run the latest release. Some were built years ago and rarely touched since. Others are pinned to an older version because a critical plugin or custom theme never got updated. Agencies often manage dozens of client sites at different update levels. If any of that sounds familiar, this news is a useful reminder of how your safety net actually works.

The key word in WordPress’s support policy is courtesy. Security backports to older branches are a goodwill effort, not a guarantee. The policy describes them as select security patches, so not every fix will reach every older branch. The work depends on volunteer and sponsored contributor time. When the tooling around that work is fragile, it gets harder to deliver.

If your site runs anything from WordPress 5.0 onward, block editor code is part of your installation. That’s true even if your team writes content with the Classic Editor plugin. The block editor packages still ship with core, and block-related code can still run when your site renders content. Gutenberg’s security health is therefore part of your site’s security health.

Some practical implications to keep in mind:

  • Patches for older versions may take more effort to produce. Maintainers have less automated verification to lean on, which can affect how smoothly backports are prepared.
  • Older branches carry more uncertainty. The further back you are, the more you depend on a shrinking pool of attention.
  • Being on the current release is the only fully supported position. Everything else is best effort.

This isn’t a reason to panic. It is a reason to stop treating an older WordPress install as stable and finished. A site that never changes still sits on code that someone else has to keep secure. The less of that burden you place on courtesy backports, the better your odds over time.

Practical Steps for Site Owners Right Now

You don’t need to read GitHub workflow files to benefit from this news. You can use it to tighten your own maintenance habits. Here’s a practical checklist for anyone responsible for one or more WordPress sites.

  1. Confirm which version each site is running. Check the dashboard’s At a Glance widget or the Updates screen. If you manage several sites, keep a simple inventory that lists each site’s WordPress version, PHP version, and major plugins.
  2. Make sure minor and security updates install automatically. WordPress applies minor releases automatically by default, but some hosts, plugins, or configuration constants turn that off. Check that nothing on your sites is blocking these updates.
  3. Identify what’s holding older sites back. Usually it’s one or two plugins, a custom theme, or an outdated PHP version on the server. Name the blocker so you can plan around it.
  4. Set up a staging copy before major upgrades. Test the jump to the current release on a staging site first. Pay close attention to custom blocks, page builders, and anything that hooks into the editor.
  5. Look for replacements for abandoned plugins. A plugin that hasn’t been updated in years is often the real reason a site is stuck. Replacing it may unlock your whole upgrade path.
  6. Watch the official release announcements. Security releases explain which branches received fixes. Reading them tells you whether your version was covered.

The goal is to stop depending on courtesy backports at all. Older-branch patches are a valuable safety net, but they work best as a fallback while you upgrade, not as a long-term plan. Every site you move to the current release is one you no longer have to worry about in this situation.

If a full upgrade isn’t realistic yet, set a deadline and write down why the site is staying behind. A documented, temporary exception is much safer than a site that has slowly been forgotten.

How Developers Can Help, and the Lesson for Everyone Else

The core team’s request is aimed at developers who are comfortable with continuous integration. If you’ve worked with GitHub Actions, Node and npm version management, PHPUnit, or JavaScript test runners, your review time could make a real difference.

Reviewing these fixes is different from reviewing feature work. The goal is not to change what WordPress shipped. It is to get the testing machinery around that shipped code running again. Good reviews in this context tend to focus on a few questions:

  • Does the change touch only workflow and tooling files? The frozen product code in a wp/X.Y branch should stay exactly as released.
  • Is the fix appropriate for the branch’s era? An older branch may need older Node versions, pinned dependencies, or legacy action versions instead of the newest options.
  • Do the checks actually pass, and pass for the right reasons? A workflow that goes green because tests were silently skipped isn’t fixed.
  • Can you reproduce the results on your own machine? Checking out the branch and running the suites yourself adds valuable confidence.

Even one careful review moves things forward. Maintainer time is limited, and an extra set of experienced eyes helps fixes merge sooner.

There’s a broader lesson here for anyone who builds on WordPress. Plugin and theme authors often maintain older release branches of their own products, and their CI pipelines decay in exactly the same way. If you support older versions of your code, check whether those branches still build and test cleanly today. It is far easier to repair a workflow during a quiet week than in the middle of an urgent security fix.

For site owners, the takeaway is simpler. The security of the WordPress ecosystem depends on unglamorous maintenance that rarely makes headlines. The best way to reduce how much you rely on that work is to keep your own sites current, so courtesy backports are a backup rather than your main source of protection.

Source

Based on reporting from Make WordPress Core.

Does Your Site Have This Problem?

Every check in this article runs automatically on the sites we look after. You can run the same health checks on your own site in seconds with the free SiteHale plugin — no account, nothing transmitted anywhere. Or have us do it: we’ll crawl your site and send you a written report, free.

Leave a Comment