Skip to content

Fix the stubbed update checks and bump upload-artifact - #72

Merged
ahegyes merged 2 commits into
trunkfrom
fix/update-check-reply
Nov 9, 2026
Merged

ahegyes merged 2 commits into
trunkfrom
fix/update-check-reply

Conversation

@ahegyes

@ahegyes ahegyes commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

Trunk's Tests run on the merge of #70 failed one row each in Integration, the multisite lane and the prefer-lowest lane. The admin-request harness answered WordPress.org's update checks with an empty JSON object, and wp_update_themes() reads themes, no_update and translations from any decoded array without checking them, so on a fresh site, whose theme update transient is stale, every admin request warned three times and the harness failed its test. The stub's reply now carries empty plugins, themes, no_update and translations, which every check reads as no updates. Dependabot's #71, actions/upload-artifact 7.0.1 to 7.0.2 in Quality's build upload, rides along as its own commit.

Affected packages

  • wp-framework-bootstrap
  • wp-framework-shared
  • wp-framework-core
  • wp-framework-settings
  • wp-framework-woocommerce

Checklist

  • Tests added or updated (Unit and/or Integration as appropriate)
  • composer quality-check passes locally (PHPCS, PHPStan and the tests)
  • Public API changes are documented in the affected package's README.md
  • Breaking changes are explicitly justified below

Breaking changes / migration notes

None: the change is in the Integration harness and one pinned action. Local runs with fresh update transients skip the theme check, so composer quality-check and the multisite lane ran after wp transient delete update_themes --network (and update_plugins, update_core), which reproduced the failure before the fix.

ahegyes and others added 2 commits November 9, 2026 16:25
The admin-request harness answered WordPress.org's update checks with
an empty JSON object. wp_update_themes() reads themes, no_update and
translations from any array it decodes without checking them, so on a
site whose theme update transient was stale, as every fresh CI site's
is, each admin request warned three times and failed its test: trunk's
Tests run on the merge of #70 failed one row in Integration, the
multisite lane and the lowest lane. The core check returns without
offers and the plugin check skips an empty array, so only the theme
check warned, and local runs whose transients were fresh never ran it.

The reply carries empty plugins, themes, no_update and translations,
which every check reads as no updates.

Assisted-by: Claude Code:claude-opus-5-5
Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).

Updates `actions/upload-artifact` from 7.0.1 to 7.0.2
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@043fb46...cf430e0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit dbc6d1c)
@ahegyes ahegyes changed the title Fix/update check reply Fix the stubbed update checks and bump upload-artifact Nov 9, 2026
@ahegyes
ahegyes merged commit 18f92dd into trunk Nov 9, 2026
32 checks passed
@ahegyes
ahegyes deleted the fix/update-check-reply branch November 9, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant