Skip to:
Content

bbPress.org

Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#3677 closed task (blessed) (fixed)

Bring the 2.6 development tools in line with trunk

Reported by: johnjamesjacoby Owned by: johnjamesjacoby
Priority: normal Milestone: 2.6.16
Component: Tools - Build Version: 2.6.15
Severity: normal Keywords:
Cc:

Description

2.6 continues to receive fixes, but its development and CI setup has drifted far enough from trunk that each backport needs separate setup and compatibility work.

Bring the current Composer, wp-env, PHPUnit, ESLint, Stylelint, Grunt, and GitHub Actions setup from trunk into 2.6. Apply the formatting and compatibility updates required by those checks, and update test fixtures for current PHPUnit and WordPress behavior.

The runtime scope is limited to changes directly required by the adopted checks. bbPress behavior fixes already present in trunk remain out of scope and can be backported separately when they are needed in 2.6.

This also resolves #3630 by adding the missing composer.json file to 2.6.

Things to verify

  • The documented development commands match trunk where the branch requirements allow it.
  • PHP, JavaScript, CSS, text-domain, and version checks pass.
  • Standard, multisite, and BuddyPress PHPUnit suites pass.
  • The release build, package contents, installation, and smoke test pass.
  • WordPress 6.0 and PHP 5.6.20 remain the runtime requirements.
  • No unrelated bbPress behavior from trunk is included.

Attachments (1)

bbpress-2.6-tooling-final.patch​ (1.5 MB ) - added by johnjamesjacoby 2 months ago.
Bring the 2.6 development checks in line with trunk.

Download all attachments as: .zip

Change History (4)

#1 @johnjamesjacoby
2 months ago

  • Owner set to johnjamesjacoby
  • Resolution → fixed
  • Status new → closed

In 7436:

Build/Test Tools: Update 2.6 development checks.

This brings Composer, wp-env, PHPUnit, ESLint, Stylelint, Grunt, and GitHub Actions in 2.6 in line with trunk. It also applies the formatting and compatibility updates required by those checks and updates PHPUnit fixtures for current WordPress behavior.

Runtime fixes from trunk are excluded and can be backported separately.

In 2.6, for 2.6.16.

Fixes #3630.
Fixes #3677.

@johnjamesjacoby
2 months ago

Bring the 2.6 development checks in line with trunk.

#2 @johnjamesjacoby
2 months ago

Validation completed before r7436:

  • Composer lint passed with its configured non-failing warnings.
  • Standard PHPUnit passed 683 tests with 1,178 assertions and 373 incomplete tests.
  • Multisite PHPUnit passed 683 tests with 1,110 assertions, 15 skipped tests, and 373 incomplete tests.
  • The BuddyPress PHPUnit suite passed with its two existing skipped tests.
  • ESLint, Stylelint, the text-domain check, version check, strict Composer validation, npm lockfile validation, and workflow YAML parsing passed.
  • The release build, installation, activation, forum/topic/reply creation, front-end rendering, authenticated browser reply submission, and relevant administration screens passed.

The PHP token audit found only check-driven syntax and formatting changes. Unrelated trunk behavior fixes were removed from the final patch.

#3 @johnjamesjacoby
2 months ago

In 7437:

Tests: Declare user template test properties.

This prevents PHP 8.2 and newer dynamic-property deprecations from being written into output assertions.

In 2.6, for 2.6.16.

See #3677.

Note: See TracTickets for help on using tickets.