Skip to content

Fix maintenance checker failures and sync upstream config changes#37

Merged
UltraBob merged 5 commits into
mainfrom
fix/maintenance-checker-and-upstream-sync
Jul 15, 2026
Merged

Fix maintenance checker failures and sync upstream config changes#37
UltraBob merged 5 commits into
mainfrom
fix/maintenance-checker-and-upstream-sync

Conversation

@UltraBob

Copy link
Copy Markdown
Owner

Summary

  • Add the #ddev-generated markers DDEV's addon-update-checker now requires in every file listed in install.yaml project_files, including files inside listed directories. config.drupal-code-quality.yaml gets the marker plus a note telling users to remove it when customizing; dcq-packages.json carries it as a JSON key that all consumers ignore. This fixes the scheduled maintenance-checker failures.
  • Sync prepare-cspell.php with upstream gitlab_templates, which added autorun to the injected flagwords. Applied via scripts/sync-upstream-configs.sh --update; the DCQ non_project_directories patch is preserved.
  • Record deliberately excluded core packages in dcq-packages.json. Drupal core added eslint-formatter-gitlab and stylelint-checkstyle-formatter, which serialize lint results into GitLab code-quality JSON and Checkstyle XML for CI pipelines and have no local CLI/IDE use. Instead of adopting them, an excluded map (package → reason) documents the decision and the drift check skips them. The check also flags excluded entries that disappear from core so the list can be pruned.
  • Move the maintenance checker out of the tests workflow into its own maintenance-check workflow. It still blocks PRs and pushes to main, where a failure is caused by the change under review, but on scheduled runs it files or updates a labeled issue instead of turning the tests badge red. The checker is a hosted script whose rules can change without any change in this repo, as happened here.

Fixes #36

Testing

  • DDEV addon-update-checker passes locally
  • ./scripts/sync-upstream-configs.sh reports 10/10 checked files up to date with no package drift
  • Full bats suite (DCQ_FULL_TESTS=1) passes locally; parallel runs on the local machine hit a pre-existing ddev-router recreate race unrelated to these changes, so part of the suite was validated serially

UltraBob added 4 commits July 13, 2026 17:34
DDEV's hosted addon-update-checker now requires the marker in every file
listed in install.yaml project_files, including files inside listed
directories. config.drupal-code-quality.yaml gets the marker plus a note
telling users to remove it when customizing; dcq-packages.json carries it
as a JSON key, which all consumers (PHP json_decode, the drift check, and
the colon-filtering bash fallback parser) ignore.
Upstream gitlab_templates added 'autorun' to the words injected for
environment variable names. Applied via scripts/sync-upstream-configs.sh
--update; the DCQ non_project_directories patch is preserved.
Drupal core added eslint-formatter-gitlab and stylelint-checkstyle-formatter,
which serialize lint results into GitLab code-quality JSON and Checkstyle XML
for CI pipelines. They have no local CLI/IDE use, so instead of adopting them,
record them in an 'excluded' map (package -> reason) that the upstream drift
check now skips. The check also flags excluded entries that disappear from
core so the list can be pruned.
The DDEV add-on update checker is a hosted script whose rules can change
without any change in this repo; when that happens on a scheduled run it
fails the tests workflow (the tests job needed it), turning the tests badge
red for reasons unrelated to the tests.

Give the checker its own maintenance-check workflow: it still blocks PRs
and pushes to main, where a failure is caused by the change under review,
but on scheduled runs it files or updates a labeled issue instead. The new
workflow has no markdown paths-ignore because the checker validates
README.md content.
@UltraBob UltraBob closed this Jul 15, 2026
@UltraBob UltraBob reopened this Jul 15, 2026
The test appended nodejs_version: "16" to .ddev/config.yaml, but ddev
config already writes a nodejs_version key and newer DDEV releases reject
config files with duplicate mapping keys instead of taking the last value.
Replace the existing key in place, appending only if absent.
@UltraBob
UltraBob merged commit 24965ab into main Jul 15, 2026
3 checks passed
@UltraBob
UltraBob deleted the fix/maintenance-checker-and-upstream-sync branch July 15, 2026 21:14
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.

Upstream config changes detected

1 participant