Skip to content

Exclude bundled Julia stdlibs from root Dependabot group updates (#52) - #53

Merged
bernalde merged 1 commit into
mainfrom
fix/dependabot-stdlib-group-refresh-52
Oct 25, 2026
Merged

bernalde merged 1 commit into
mainfrom
fix/dependabot-stdlib-group-refresh-52

Conversation

@bernalde

Copy link
Copy Markdown
Member

Closes #52

Summary

Diagnoses and prevents the Dependabot::NotImplemented failure on grouped Julia PR refreshes in /:

  1. Root-cause diagnosis from hosted Dependabot updater logs:
    • In Run 38969028956 (job 117202538331, 2026-10-16T21:25:06Z), run_dependabot_helper.jl evaluated the 15 entries in Project.toml. For registered General packages (QUBOTools, MathOptInterface, QUBODrivers, ToQUBO, JuMP), run_dependabot_helper.jl returned concrete latest versions (0.16.2, 1.54.0, 0.6.6, 0.7.1, 1.32.1).
    • For the 10 bundled Julia standard libraries (Dates, Distributed, LinearAlgebra, Pkg, Random, SHA, SparseArrays, Statistics, TOML, Test) in a library repository without a committed Manifest.toml, run_dependabot_helper.jl logged Latest version is (an empty string / nil).
    • When SHA triggered a [compat] widening (0.7 -> 0.7, 1), Dependabot::Julia logged Creating dependency change for SHA () in group root-julia-dependencies (| created | SHA ( to ) |) and created PR Update SHA requirement from 0.7 to 0.7, 1 in the root-julia-dependencies group #48 (0039888a7f8ff47fb946fc7c44327fc14b293230) with a blank dependency-version: in its updated-dependencies YAML commit metadata.
    • When main subsequently advanced in PR Add bounded certified root preprocessing candidate #50 (c5a207caf059f8f35fd91eb7ba1e0b4001e6c799) and PR Prepare 0.1.5 certified root preprocessing release #51 (e2a81976a8b7e9971c42d4c16108f0adfd19fbc3), GitHub's Dependabot service dispatched automatic recreate jobs (Run 39513113649 / job 118938723612 and Run 39516739741 / job 118950595082) for PR Update SHA requirement from 0.7 to 0.7, 1 in the root-julia-dependencies group #48 with "command": "recreate", "updating-a-pull-request": true, "dependency-group-to-refresh": "root-julia-dependencies", and "dependencies": [] (because dependency-version in PR Update SHA requirement from 0.7 to 0.7, 1 in the root-julia-dependencies group #48 was null). Inside dependabot-updater/lib/dependabot/updater.rb:47, RefreshGroupUpdatePullRequest requires job.dependencies.any?, so the empty dependencies: [] payload fell through all operation matchers and raised Dependabot::NotImplemented.
  2. Recovery of PR Update SHA requirement from 0.7 to 0.7, 1 in the root-julia-dependencies group #48 and subsequent scheduled runs:
    • PR Update SHA requirement from 0.7 to 0.7, 1 in the root-julia-dependencies group #48 was updated to main (58c64b98e0610ff7d95bfa8394812f5dbe1621cc), passed all required CI gates, and merged via Dependabot Auto-merge at 2026-10-21T01:37:53Z (6e4501a4b0ff3661d5a4bc4ddfe870e8eb9a7fa4), preserving its full history.
    • Subsequent weekly scheduled Dependabot updates on 2026-10-23T21:24:08Z (Run 40026490301 for /., Run 40026490006 for /docs, and Run 40026490032 for /examples/toqubo) all completed with conclusion: "success".
  3. Permanent prevention in .github/dependabot.yml:
    • Excludes (exclude-patterns) and ignores (ignore) the 10 bundled Julia standard libraries (Dates, Distributed, LinearAlgebra, Pkg, Random, SHA, SparseArrays, Statistics, TOML, Test)—whose compatibility is governed by julia = "1.10" in [compat]—from the / julia Dependabot entry so Dependabot::Julia cannot open another versionless stdlib PR in root-julia-dependencies (or ungrouped stdlib PRs), while keeping all registered General package dependencies (JuMP, MathOptInterface, QUBODrivers, QUBOPreprocessing, QUBOTools, ToQUBO) grouped in root-julia-dependencies and preserving all existing schedules and environments.
    • Adds test_dependabot_config_excludes_julia_stdlibs_from_root_updates in .github/tests/test_dependabot_automerge.py.

Maintainer Triage

  • Change type: Maintenance / CI
  • Docs-only: No
  • Release impact: None (unreleased)
  • Needs design review: No (accepted design; identify deviations)

Verification

  • Tests updated or not needed (python3 -m unittest discover -s .github/tests -p 'test_dependabot_automerge.py': 18/18 pass)
  • Documentation updated or not needed

Assistance disclosure

AI-assisted root-cause analysis from hosted Dependabot updater logs (117202538331, 118938723612, 118950595082, 120663885121) and configuration test coverage; reviewed by independent Astra reviewer subagent.

@codecov

codecov Bot commented Oct 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bernalde
bernalde marked this pull request as ready for review October 25, 2026 07:32
@bernalde
bernalde merged commit 7c33140 into main Oct 25, 2026
10 checks passed
@bernalde
bernalde deleted the fix/dependabot-stdlib-group-refresh-52 branch October 25, 2026 07: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.

Investigate Dependabot Julia grouped PR refresh raising NotImplemented

1 participant