Opened 8 hours ago
Last modified 8 hours ago
#65391 new defect (bug)
Build/Test Tools: Update stale step comment lists in reusable workflow files
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Build/Test Tools | Keywords: | has-patch |
| Focuses: | Cc: |
Description
The step comment lists (the # - Step description. comment blocks at the top of workflow jobs) in two reusable workflow files are out of sync with their actual steps.
In .github/workflows/reusable-phpstan-static-analysis-v1.yml, the comment list was not updated when the workflow was refactored in [62440] to remove the Get last Monday's date step and add Set up Node.js, Install npm dependencies, and Build WordPress steps. Three steps are missing from the comment list and the order of Logs debug information and Installs Composer dependencies is also incorrect.
In .github/workflows/reusable-coding-standards-php.yml, the Get last Monday's date step — which is needed to generate the cache key for the PHPCS scan cache — is present in the actual job steps but absent from the step comment list.
Change History (1)
This ticket was mentioned in PR #12054 on WordPress/wordpress-develop by @khokansardar.
8 hours ago
#1
- Keywords has-patch added; needs-patch removed
The step comment lists (the
# - Step description.comment blocks at the top of workflow jobs) in two reusable workflow files were out of sync with their actual steps.In
reusable-phpstan-static-analysis-v1.yml, the comment list was not updated when the workflow was refactored to remove theGet last Monday's datestep and addSet up Node.js,Install npm dependencies, andBuild WordPresssteps. Three steps were missing from the comment list and the order of two others was incorrect.In
reusable-coding-standards-php.yml, theGet last Monday's datestep is present in the job but was absent from the step comment list.Trac ticket: https://core.trac.wordpress.org/ticket/65391
## Use of AI Tools
N/A