Skip to content

Dependencies: minor/patch updates, ignore major versions in Dependabot - #472

Merged
irvingpop merged 3 commits into
masterfrom
deps/minor-patch-consolidated
Nov 24, 2026
Merged

irvingpop merged 3 commits into
masterfrom
deps/minor-patch-consolidated

Conversation

@irvingpop

Copy link
Copy Markdown
Member

Why

Stop the flood of Dependabot PRs. Take minor and patch updates in one PR, and take major versions only when a security fix needs one.

What changes

  • Dependencies: minor and patch updates only, through poetry update. No package changes its major version, which I checked by comparing poetry.lock before and after. Versions released less than 72 h ago are held back: sentry-sdk, coverage, charset-normalizer, packaging.
  • .github/dependabot.yml: every ecosystem (pip, github-actions, docker) ignores version-update:semver-major. The minor and patch group stays, so Dependabot opens one PR per week per ecosystem. The docker python rule is kept.

Security

GitHub applies ignore rules to security updates too, so Dependabot will not open a PR for a security fix that needs a major version. That fix still appears as a Dependabot alert. Alerts and security updates are both on, and 0 alerts are open now. We do those majors by hand.

Supersedes #468.

Checks

  • ruff check and ruff format pass.
  • pytest: 291 passed.
  • An independent review passed, with only minor findings.

🤖 Generated with Claude Code

…n Dependabot

poetry update within existing caret constraints (all already cap the major).
Supersedes Dependabot PR #468. Add a semver-major ignore rule to every
Dependabot ecosystem; security alerts still surface majors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude of Duty review, run 45438439315: 1 inline finding(s). Model output from untrusted input. Check it before you act on it. The gate result is in the summary comment.

Comment thread .github/dependabot.yml
- "minor"
- "patch"
ignore:
- dependency-name: "*"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

low security, confidence medium, pass security

Wildcard major ignore suppresses Dependabot security PRs

Ignoring all semver-major updates also stops Dependabot from opening PRs for vulnerabilities whose only fix is a major version. The PR body acknowledges this. The vulnerability will then show only as an alert that someone must act on by hand, so a fix can be delayed if alerts are not watched. The same rule is repeated for github-actions and docker.

Model output from untrusted input. Check it before you act on it.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🟡 Clear to proceed: Claude of Duty logged 2 items to consider

Mission: Review the code. Protect the branch. Deploy the future.

Note

2 findings to consider. They do not block this PR.
Next step for the author: read the findings and fix what you agree with.

Severity Effect Where Finding Found by
🟡 Low Does not block .github/dependabot.yml:11 Dependabot cooldown cut from 7 to 3 days See the inline comment. Supply chain (low)
🟡 Low Does not block .github/dependabot.yml:18 Ignoring majors suppresses security-update PRs for major-only fixes See the inline comment. Security (low), Supply chain (low)
File checks Review Security Supply chain Dependency review Coverage
✅ ok ✅ ran, 0 findings ✅ ran, 1 finding ✅ ran, 2 findings ✅ ok ✅ complete

Run 45440088514, attempt 1 for head 8c263e2 into master. The required workflow in the merge box is the result that counts.

Claude of Duty never approves a PR. A human reviewer gives the final approval.

📋 Full review record: reasons, checks, signals, finding details, model summaries, token usage

Reviewed snapshot

Head SHA Merge base SHA Base branch Run
8c263e21d99efd8e07562c137a05ccfdbdbf1593 cfc44a73c3762e38c549e9ce9738b7f58aa1224d master 45440088514, attempt 1

Reasons the gate failed

None. No reason applies.

Checks (code, no model)

Check Result Detail
Hard blocks ✅ none
Coverage ✅ complete files in comparison 2, files collected 2, trees complete
Model view full estimate 29,238 tokens, limit 200,000 tokens, multiplier 1x
Dependency changes ℹ️ listed below
Dependency review job ✅ success

Signals (context only, never block)

None.

Dependency changes

  • pypi coverage: 7.17.2 to 7.17.3, source registry pypi.org, in poetry.lock, published 2026-11-12T12:23:59.975085+00:00
  • pypi markdown-it-py: 4.2.0 to 4.3.0, source registry pypi.org, in poetry.lock, published 2026-11-10T16:18:28.975379+00:00
  • pypi pytest-asyncio: 1.4.1.post1 to 1.5.0, source registry pypi.org, in poetry.lock, published 2026-11-12T16:35:48.446342+00:00
  • pypi ruff: 0.17.4 to 0.17.5, source registry pypi.org, in poetry.lock, published 2026-11-12T17:54:09.314934+00:00
  • pypi sentry-sdk: 2.74.0 to 2.75.0, source registry pypi.org, in poetry.lock, published 2026-11-12T13:24:11.923045+00:00
  • pypi stevedore: 5.9.1 to 5.10.0, source registry pypi.org, in poetry.lock, published 2026-11-12T11:47:04.273958+00:00

Finding details

Model output from untrusted input. Check it before you act on it. Verified means only that the quoted text is at that place. It does not mean the claim is true.

Blocking is decided by code from category and severity, never by the model. A finding in a blocking category blocks only at high or critical severity.

Each row above merges findings of several passes at the same file, line and gate effect.

Pass Severity Category Confidence Citation Posted Model title
Security low security medium ✅ checked inline Ignoring majors suppresses security-update PRs for major-only fixes
Supply chain low supply chain high ✅ checked inline Dependabot cooldown cut from 7 to 3 days
Supply chain low supply chain medium ✅ checked inline Wildcard ignore of major versions also blocks security PRs

The Review pass completed and reported no findings.

Model summaries

Model output from untrusted input. Check it before you act on it. Verified means only that the quoted text is at that place. It does not mean the claim is true.

Pass Status Model Summary
Review ✅ ok claude-sonnet-5-5 The PR updates six dev/runtime dependencies in poetry.lock to minor/patch versions and adds semver-major ignore rules to every ecosystem in dependabot.yml. I found no correctness bugs. The dependabot.yml structure is valid YAML, and the docker ecosystem keeps its python-specific ignore rule alongside the new wildcard rule.
Security ✅ ok claude-sonnet-5-5 The PR bumps minor and patch versions in poetry.lock and updates dependabot.yml to ignore semver-major updates and shorten the cooldown to 3 days. The one security-relevant change is that ignoring majors also suppresses Dependabot security-update PRs for fixes that need a major version. The author documents this and relies on alerts and manual bumps. I found no injected instructions and no code vulnerabilities.
Supply chain ✅ ok claude-sonnet-5-5 This PR updates six dev and runtime dependencies in poetry.lock (coverage, markdown-it-py, pytest-asyncio, ruff, sentry-sdk, stevedore) and edits .github/dependabot.yml. All package changes are minor or patch bumps from the official PyPI registry, with no new packages, no install scripts, no source changes and no prefilter signals. No obfuscation, no prompt injection and no CI workflow changes. The Dependabot config does weaken two protections: it halves the cooldown from 7 to 3 days, and it suppresses all major-version PRs, including security fixes. The PR body discloses both, so these are reduced-protection notes rather than malicious behaviour.

Token usage

Pass Input Output Cache write Cache read Attempts
Review 721 135 0 29028 1
Security 1047 399 0 29028 1
Supply chain 1239 985 29028 0 1
Total 3007 1519 29028 58056 3

Dependabot cooldown is 7 days, so match it: certifi and pyyaml stay at
current, coverage 7.17.3, ruff 0.17.5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude of Duty review, run 45439603114: 2 inline finding(s). Model output from untrusted input. Check it before you act on it. The gate result is in the summary comment.

Comment thread .github/dependabot.yml
- "minor"
- "patch"
ignore:
- dependency-name: "*"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

low security, confidence medium, pass security

Major-version ignore also suppresses Dependabot security-fix PRs

Ignoring all semver-major updates applies to security updates too, so a vulnerability fixable only by a major bump will get no automatic PR, only an alert. This weakens an automated security control and relies on someone watching alerts and patching by hand. The PR acknowledges this tradeoff, so impact is limited.

Model output from untrusted input. Check it before you act on it.

Comment thread .github/dependabot.yml
- "minor"
- "patch"
ignore:
- dependency-name: "*"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

low supply-chain, confidence medium, pass supply-chain

Blanket major-version ignore also suppresses security-fix PRs

The wildcard ignore rule for semver-major updates applies to pip, github-actions and docker. Per the PR's own note, it also stops Dependabot opening security-update PRs when the fix needs a major bump. A vulnerable dependency or action could then stay unpatched until someone acts on an alert by hand. The same rule is added at lines 34 and 44 of the head file. It takes effect whenever Dependabot runs. The risk is reduced because it is disclosed and alerts stay on.

Model output from untrusted input. Check it before you act on it.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude of Duty review, run 45440088514: 3 inline finding(s). Model output from untrusted input. Check it before you act on it. The gate result is in the summary comment.

Comment thread .github/dependabot.yml
- "minor"
- "patch"
ignore:
- dependency-name: "*"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

low security, confidence medium, pass security

Ignoring majors suppresses security-update PRs for major-only fixes

The wildcard ignore rule for semver-major also applies to Dependabot security updates. A vulnerability whose fix exists only in a new major version will get an alert but no automated PR, so it could stay unpatched if nobody watches alerts. The PR acknowledges this and plans manual handling, so the impact is limited. The cooldown cut from 7 to 3 days also shortens the delay before new releases are adopted, which slightly raises exposure to freshly published malicious releases.

Model output from untrusted input. Check it before you act on it.

Comment thread .github/dependabot.yml
day: "monday"
cooldown:
default-days: 7
default-days: 3

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

low supply-chain, confidence high, pass supply-chain

Dependabot cooldown cut from 7 to 3 days

The cooldown delays Dependabot PRs for newly published releases, which gives time for compromised or yanked packages to be caught. This change shortens it from 7 to 3 days for pip and github-actions (line 28 too). Newly released versions will now be proposed sooner, which weakens a supply-chain safeguard. It takes effect whenever Dependabot runs.

Model output from untrusted input. Check it before you act on it.

Comment thread .github/dependabot.yml
- "minor"
- "patch"
ignore:
- dependency-name: "*"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

low supply-chain, confidence medium, pass supply-chain

Wildcard ignore of major versions also blocks security PRs

Ignoring semver-major for every dependency in pip, github-actions and docker means Dependabot will not open a PR for a security fix that requires a major bump. The PR body acknowledges this and relies on alerts and manual work. Such vulnerabilities could stay unpatched if alerts are missed. This is a weakened automated security control, not malicious.

Model output from untrusted input. Check it before you act on it.

@irvingpop
irvingpop merged commit a482324 into master Nov 24, 2026
11 checks passed
@irvingpop
irvingpop deleted the deps/minor-patch-consolidated branch November 24, 2026 16:44
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