Dependabot counts only for the ecosystems it updates

Open
#581 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
devtools

Research direction

Start with checks/dependency_updates.py and inspect how it reads the Dependabot updates entries and decides whether each unit passes. Then find the policy TOML that maps profiles to ecosystems and trace the existing unit checks. Done means devcontainers-only updates fail for an R unit and npm-only updates fail for a Python unit, with each failure naming its missing ecosystem.

Written by the indexing model from the issue text.

Description

Problem

#503 made updates: [] count for nothing, but any non-empty file still passes for every unit:

  • devcontainers-only updates on an R project pass;
  • npm-only updates on a Python project pass.

checks/dependency_updates.py only tests that updates isn't empty.

Expected

  • A policy TOML maps each profile to its Dependabot package-ecosystem values.
  • An entry counts for a unit when it covers that unit's ecosystem, or github-actions for the CI unit.
  • The check is per unit, not project-wide, so each unit's result names what's missing.

Done when

Both cases above fail for the uncovered unit, with the missing ecosystem named.

Split from #480. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Dominant language
Python
Stars
4
Forks
1
Avg merge
6h 31m
Merged PRs (30d)
238

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cpp-best-practices/project_validator

All issues in cpp-best-practices/project_validator

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.