Skip to content

D11-11: Bump core version, and address some issues flagged by upgrade_status#169

Open
adam-vessey wants to merge 8 commits intomainfrom
update/d11
Open

D11-11: Bump core version, and address some issues flagged by upgrade_status#169
adam-vessey wants to merge 8 commits intomainfrom
update/d11

Conversation

@adam-vessey
Copy link
Contributor

@adam-vessey adam-vessey commented Oct 23, 2025

Builds on #168

Summary by CodeRabbit

  • Chores
    • Updated Drupal core compatibility to versions 10 and 11; dropped support for Drupal 9
    • Updated dependencies: ImageMagick to support version 4; Symfony to support version 7
    • Added requirement for Drupal core 10.1 or later
    • Updated module dependencies and internal code standards for improved compatibility

✏️ Tip: You can customize this high-level summary in your review settings.

@adam-vessey adam-vessey added the patch Backwards compatible bug fixes. label Oct 23, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 23, 2025

📝 Walkthrough

Walkthrough

Updates package constraints and Drupal core compatibility, adds select module dependencies, adjusts tests, and tightens PHP method signatures. One database helper switches from tablePrefix() to getPrefix(). No new features introduced.

Changes

Cohort / File(s) Summary
Composer & Drush config
composer.json
Bump drupal/imagemagick to `^3.2
Core compatibility (info.yml)
dgi_migrate.info.yml, modules/devel/dgi_migrate_devel.info.yml, modules/dgi_migrate_alter/dgi_migrate_alter.info.yml, modules/dgi_migrate_big_set_overrides/dgi_migrate_big_set_overrides.info.yml, modules/dgi_migrate_dspace/dgi_migrate_dspace.info.yml, modules/dgi_migrate_edtf_validator/dgi_migrate_edtf_validator.info.yml, modules/dgi_migrate_foxml_standard_mods/dgi_migrate_foxml_standard_mods.info.yml, modules/dgi_migrate_foxml_standard_mods/modules/xslt/dgi_migrate_foxml_standard_mods_xslt.info.yml, modules/dgi_migrate_imagemagick_cleanup/dgi_migrate_imagemagick_cleanup.info.yml, modules/dgi_migrate_paragraphs/dgi_migrate_paragraphs.info.yml, modules/dgi_migrate_regenerate_pathauto_aliases/dgi_migrate_regenerate_pathauto_aliases.info.yml
Update core_version_requirement from `^9
New/updated module dependencies
modules/devel/dgi_migrate_devel.info.yml, modules/dgi_migrate_foxml_standard_mods/dgi_migrate_foxml_standard_mods.info.yml, modules/dgi_migrate_foxml_standard_mods/modules/xslt/dgi_migrate_foxml_standard_mods_xslt.info.yml
Add drupal:devel; add dgi_migrate:dgi_migrate_paragraphs, dgi_migrate:dgi_migrate_edtf_validator, foxml:foxml; add dgi_saxon_helper:dgi_saxon_helper_migrate.
Tests adjustments
modules/dgi_migrate_foxml_standard_mods/tests/src/Kernel/RoleMapperMigrationTest.php, modules/dgi_migrate_foxml_standard_mods/tests/src/Unit/RoleMapperTest.php
Change $modules visibility to protected; replace assertSame(count(...), count(...)) with assertCount(...).
PHP signature typing
src/MigrateBatchExecutable.php, src/Plugin/migrate/source/Migration.php, src/StompQueue.php
Add return type array to __sleep(): array.
DB prefix method usage
src/Plugin/migrate/id_map/SmartSql.php
Replace $this->database->tablePrefix() with $this->database->getPrefix() for prefix length calculation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • jordandukart

Poem

I thump my paws—new bounds we seek,
From ten to eleven, a tidy tweak.
Dependencies hop in neat array,
Typehints nibble doubts away.
Prefix trails adjusted, clean and bright—
A rabbit signs off: ship it light. 🐇✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main changes: bumping Drupal core version to D11 and addressing upgrade_status issues, which aligns with the changeset.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Warning

Review ran into problems

🔥 Problems

Errors were encountered while retrieving linked issues.

Errors (1)
  • JIRA integration encountered authorization issues. Please disconnect and reconnect the integration in the CodeRabbit UI.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@adam-vessey adam-vessey changed the title D11-11: Bump core version D11-11: Bump core version, and address some issues flagged by upgrade_status Oct 28, 2025
@adam-vessey adam-vessey marked this pull request as ready for review October 28, 2025 15:02
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@composer.json`:
- Line 34: The current Composer platform config entry for
"drush.11-12.services.yml" uses an open-ended constraint ">=11.6"; update this
to a bounded version to avoid accidentally allowing incompatible Drush major
releases (e.g., change the constraint to ">=11.6,<14.0" or another agreed upper
bound) and document the chosen bound in a brief comment or commit message;
locate the key "drush.11-12.services.yml" in composer.json and replace the
version string accordingly, ensuring composer validate passes and running a
quick compatibility test (e.g., install or update) to confirm no regressions.

"drush": {
"services": {
"drush.11-12.services.yml": "^11.6 || ^12",
"drush.11-12.services.yml": ">=11.6",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

Drush 13 release Drupal 11 compatibility

💡 Result:

  • Drush 13.0.0 release date: August 2, 2024. [1]
  • Drupal 11 compatibility: Yes — Drush 13 is marked as supported/recommended for Drupal 11 (and compatible with Drupal 10.2+). [2]
  • Key requirement: Drush 13 requires PHP 8.3+. [2]

Sources:
[1] endoflife.date (Drush release timeline)
[2] Drush docs (Drupal compatibility table)


Revisit the open-ended Drush services constraint now that Drush 13 is released.

Drush 13 was released in August 2024 and is compatible with Drupal 11. The constraint >=11.6 does match Drush 13 as intended, but given the commit message indicated this was a "temporary/compatibility change," the constraint approach should be formally reassessed. Determine whether this open-ended constraint will remain appropriate for Drush 14+ or if it requires tightening to a specific upper bound (e.g., >=11.6,<14.0).

🤖 Prompt for AI Agents
In `@composer.json` at line 34, The current Composer platform config entry for
"drush.11-12.services.yml" uses an open-ended constraint ">=11.6"; update this
to a bounded version to avoid accidentally allowing incompatible Drush major
releases (e.g., change the constraint to ">=11.6,<14.0" or another agreed upper
bound) and document the chosen bound in a brief comment or commit message;
locate the key "drush.11-12.services.yml" in composer.json and replace the
version string accordingly, ensuring composer validate passes and running a
quick compatibility test (e.g., install or update) to confirm no regressions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Backwards compatible bug fixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants