Skip to content

Use a pattern-based group for the uv ecosystem - #397

Merged
etbyrd merged 1 commit into
mainfrom
fix-uv-dependabot-group
Sep 10, 2026
Merged

Use a pattern-based group for the uv ecosystem#397
etbyrd merged 1 commit into
mainfrom
fix-uv-dependabot-group

Conversation

@etbyrd

@etbyrd etbyrd commented Sep 10, 2026

Copy link
Copy Markdown
Member

Why

The uv group added in #395 used dependency-type, which dependabot supports inside groups only for bundler, composer, mix, maven, npm, and pip. It is not valid for uv.

This matters more than a normal config typo: an unsupported key invalidates the whole dependabot.yml, and dependabot then stops updates for every ecosystem rather than reporting a per-block error. So #395, which was meant to reduce PR noise, would have stopped dependency updates outright.

Source: Dependabot options reference, groups.

What changed

The python-runtime / python-dev split is replaced with a single python group matching all patterns, consistent with the actions and go-modules groups.

Tradeoff worth naming: patterns cannot express the runtime-vs-tooling split that dependency-type would have, so a runtime bump such as pydantic or httpx now lands in the same PR as ruff and pytest. Majors are still excluded from the group and arrive as individual PRs, which is where the upgrade risk actually concentrates. If the runtime deps do need isolating later, the way to do it is an explicit exclude-patterns list on the group, at the cost of that list drifting from pyproject.toml.

The npm group is untouched, since npm does support dependency-type.

Test plan

  • Verified against GitHub's documented ecosystem support list for groups.dependency-type
  • Script-checked every group in the file for the same class of error: npm/dev-dependencies is the only one using dependency-type and npm is on the supported list; the other three use only patterns and update-types, which are valid for all ecosystems
  • .github/dependabot.yml parses as valid YAML

Config-only change, no SDK code touched. Full local suite was run on this tree at #395 and nothing outside .github/ has changed since.

After merge, the repo's Insights > Dependency graph > Dependabot tab should show no config error. That surface is the real confirmation, since the failure mode here is silent.

The uv group added in #395 used "dependency-type", which dependabot
only supports inside "groups" for bundler, composer, mix, maven, npm,
and pip. It is not valid for uv, and an unsupported key makes the whole
config invalid, which stops every ecosystem's updates silently rather
than reporting a per-block error.

Replaced the python-runtime / python-dev split with a single "python"
group matching all patterns, consistent with the github-actions and
gomod groups. Minor and patch bumps for sdk-python now collapse into
one PR, and runtime bumps such as pydantic or httpx land in that same
PR rather than a separate one.

Majors are still excluded from the group and arrive individually, so
the higher-risk upgrades stay reviewable on their own.

The npm group is untouched: npm does support dependency-type.
@github-actions

Copy link
Copy Markdown

docfacts: no documented claims affected.

@greptile-apps

greptile-apps Bot commented Sep 10, 2026

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

The PR appears safe to merge with no outstanding correctness or repository-rule issues.

Reviews (2) · Last reviewed commit: "Use a pattern-based group for the uv eco..."

@etbyrd

etbyrd commented Sep 10, 2026

Copy link
Copy Markdown
Member Author

@greptile review

@etbyrd
etbyrd added this pull request to the merge queue Sep 10, 2026
Merged via the queue into main with commit 83d3c97 Sep 10, 2026
15 checks passed
@etbyrd
etbyrd deleted the fix-uv-dependabot-group branch September 10, 2026 17:32
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