chore(deps): regenerate connect-helpers vendor#503
Conversation
Runs composer update for instawp/connect-helpers, pulling in the core_updater transient-refresh fix (connect-helpers PR #18): core updates now force a fresh wp_version_check() before find_core_update(), so an update right after a rollback succeeds on the first attempt instead of failing with "WordPress is at the latest version.". Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Claude finished @randhirinsta's task —— View job PR Review: chore(deps): regenerate connect-helpers vendorTodo List
Review SummaryThis PR successfully addresses a critical timing issue in the WordPress core update flow. The changes are well-implemented and ready to merge. Key Changes AnalysisThe core fix adds transient refresh logic to // Refresh WordPress's cached core-update offer before resolving the target
if ( empty( $args['skip_core_check'] ) ) {
delete_site_transient( 'update_core' );
wp_version_check( [], true );
}This solves the "WordPress is at the latest version" error that occurred when attempting a core update immediately after a rollback. Architecture & Code Quality Assessment✅ Follows Architectural Principles
✅ Security Considerations
✅ Performance Considerations
✅ Error Handling & Robustness
Code QualityStrengths:
No Issues Found:
Testing ConsiderationsThe fix addresses a timing-dependent bug that requires specific conditions:
Manual testing recommended: This race condition is difficult to unit test due to WordPress transient caching behavior. Recommendation✅ APPROVE - This is a well-engineered fix for a legitimate technical issue. The implementation is clean, efficient, and follows WordPress best practices. The vendor code update is appropriate and safe to merge. |
Finalises the 0.1.3.3 changelog heading (Beta → 19 May 2026). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Claude finished @randhirinsta's task —— View job Claude finished this review PR Review: chore(deps): regenerate connect-helpers vendorTodo List
Review SummaryThis PR successfully addresses a critical timing issue in the WordPress core update flow. The changes are well-implemented and ready to merge. Key Changes AnalysisThe core fix adds transient refresh logic to // Refresh WordPress's cached core-update offer before resolving the target
if ( empty( $args['skip_core_check'] ) ) {
delete_site_transient( 'update_core' );
wp_version_check( [], true );
}This solves the "WordPress is at the latest version" error that occurred when attempting a core update immediately after a rollback. Architecture & Code Quality Assessment✅ Follows Architectural Principles
✅ Security Considerations
✅ Performance Considerations
✅ Error Handling & Robustness
Code QualityStrengths:
No Issues Found:
Testing ConsiderationsThe fix addresses a timing-dependent bug that requires specific conditions:
Manual testing recommended: This race condition is difficult to unit test due to WordPress transient caching behavior. Recommendation✅ APPROVE - This is a well-engineered fix for a legitimate technical issue. The implementation is clean, efficient, and follows WordPress best practices. The vendor code update is appropriate and safe to merge. |
What
Regenerates the vendored
instawp/connect-helperspackage viacomposer update, pulling in thecore_updatertransient-refresh fix.Why
Bundles connect-helpers PR #18:
core_updater()now forces a freshwp_version_check()beforefind_core_update().Previously, a core update performed right after a rollback failed on its first attempt with "WordPress is at the latest version." — the rollback request had rebuilt the
update_coretransient from a stalewp_get_wp_version()(a per-request static), sofind_core_update()returned a staleresponse='latest'offer. The fix rebuilds the transient in the fresh update request, so the update succeeds on the first try. The downgrade path passesskip_core_check=true(it installs its own doctored offer).Changes
vendor/instawp/connect-helpers/src/Updater.php— regenerated with the fixvendor/composer/installed.json,vendor/composer/installed.php— composer metadataGenerated output only — no hand-written source changes in this repo.
🤖 Generated with Claude Code