Skip to content

chore(ci): give the Doctrine packages their own Dependabot group - #207

Merged
smarcet merged 1 commit into
mainfrom
chore/dependabot-doctrine-group
Nov 24, 2026
Merged

smarcet merged 1 commit into
mainfrom
chore/dependabot-doctrine-group

Conversation

@smarcet

@smarcet smarcet commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

ref: https://app.clickup.com/t/1k5eh578mb6

Summary

Puts the Doctrine packages in their own Dependabot group, so the monthly grouped update of the other Composer packages is no longer blocked by them.

The grouped update #192 cannot pass. The current releases of laravel-doctrine/* pull doctrine/dbal from 3.10.6 to 4.6.0, a major version that the group label does not show because it is a transitive dependency. The application does not run on it yet:

  • On doctrine/dbal 4.6.0 the migrations fail with MySQL84Platform requires the length of a VARCHAR column to be specified. The failing column is an ENUM in the database, and config/doctrine.php maps the enum type to string.
  • With that mapping removed the schema migrations pass, and a migration that seeds data through the ORM fails with SAVEPOINT DOCTRINE_13 does not exist.
  • Holding doctrine/dbal at 3.10.6 is not a way out: laravel-doctrine/migrations 3.4.1 and later use Doctrine\DBAL\Schema\PrimaryKeyConstraint, which only exists from doctrine/dbal 4.3.

Changes

  • .github/dependabot.yml: a composer-doctrine group for doctrine/* and laravel-doctrine/*, and the same two patterns excluded from composer-minor-and-patch.

After this, Dependabot opens two grouped pull requests for Composer. The Doctrine one stays red until the move to doctrine/dbal 4 is done, and keeps that work visible.

Tests

The current releases of laravel-doctrine/* need doctrine/dbal 4, and the entity mappings are not ready for it, so the grouped update fails. With Doctrine in its own group the other updates are no longer blocked by it.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Dependabot now groups doctrine/* and laravel-doctrine/* packages separately from other Composer minor and patch updates.

Changes: Composer update grouping

Layer / File(s) Summary
Separate Doctrine update group
.github/dependabot.yml
Adds the composer-doctrine group for doctrine/* and laravel-doctrine/*. Excludes those patterns from composer-minor-and-patch.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Possibly related PRs

Suggested reviewers: romanetar

Merge Risk: Minimal · up to 85b0f

This changes how Dependabot batches Composer updates so Doctrine upgrades are separated from other updates. It has no production impact and is easy to revert, so merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: a separate Dependabot group for Doctrine packages in .github/dependabot.yml. The raw summary confirms a new composer-doctrine group that matches doctrine/* and laravel…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the main change: a separate Dependabot group for Doctrine packages in .github/dependabot.yml. The raw summary confirms a new composer-doctrine group that matches doctrine/* and laravel-doctrine/*, with those patterns excluded from composer-minor-and-patch. The title uses the conventional commit prefix chore(ci), which fits a CI configuration change. It is specific and concise.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 80ff98fb-d2ec-45ba-8606-cbd0069d57f7
Commits

Reviewing files that changed from the base of the PR and between b7e97c0 and 85b0f15.

Files selected for processing: 1

  • .github/dependabot.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@github-actions

Copy link
Copy Markdown

📘 OpenAPI / Swagger preview

➡️ https://OpenStackweb.github.io/openstackid/openapi/pr-207/

This page is automatically updated on each push to this PR.

@smarcet
smarcet merged commit bb9a664 into main Nov 24, 2026
11 checks passed
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.

1 participant