Skip to content

Dependencies matched by group patterns are marked as "handled" regardless of update-types, suppressing major version PRs #14202

@RasmanTuta

Description

@RasmanTuta

Summary

When using dependency groups with update-types limited to minor and patch, major version updates are silently suppressed. According to the documentation, dependencies with major version updates should be opened as separate, individual PRs when the group only includes minor/patch. Instead, they are never checked at all.

Configuration

updates:
- package-ecosystem: maven
  directory: "/"
  schedule:
    interval: daily
  open-pull-requests-limit: 15
  groups:
    fiks-deps:
      patterns:
      - "no.ks.fiks*"
      update-types:
      - "minor"
      - "patch"
    other-deps:
      patterns:
      - "*"
      exclude-patterns:
      - "no.ks.fiks*"
      update-types:
      - "minor"
      - "patch"

Expected behavior

Dependencies matching a group's patterns but having a major version update available should be opened as individual PRs, since major is not included in update-types.

Actual behavior

All dependencies matching a group's patterns are marked as "handled" during group processing, regardless of update-types. No individual update check is performed afterward for major versions.

Evidence from job logs

The grouped update job processes groups sequentially. When processing the fiks-deps group:

INFO Starting grouped update job for ks-no/fiks-porten
INFO Found 2 group(s).
INFO Detected existing pull request # for the dependency group 'fiks-deps'.
INFO Deferring creation of a new pull request. The existing pull request will update in a separate job.
INFO Marking group 'fiks-deps' as handled.
INFO Adding dependencies as handled: (no.ks.fiks:fiks-parent, no.ks.fiks:commons, ...)

no.ks.fiks:fiks-parent (which has a major version update available) is marked as handled based solely on pattern matching. It never appears in the subsequent "Checking if X needs updating" phase, which only runs for the other-deps group.

After both groups are processed, the job ends immediately with "Finished job processing" — there is no phase for creating individual PRs for dependencies that matched a group's pattern but not its update-types.

Impact

Any repository using groups with update-types limited to minor/patch will silently miss all major version updates. This is particularly problematic because:

  1. The configuration appears to work correctly (minor/patch PRs are created as expected)
  2. There is no warning or indication that major updates are being skipped
  3. The documentation explicitly states that non-matching update types should result in individual PRs

Metadata

Metadata

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions