Skip to content

ci(deps): make Renovate cover every pin on a fixed schedule #4896

Closed

Description

@dan-petty

Problem or Motivation

Renovate opened 0 pull requests since 2026-10-01, because no instance runs (#4893 adds one). The config in .github/renovate.json also stops most updates when an instance runs:

  • A package rule turns off pep621, pip_requirements, pip-compile and setup-cfg. A rule turns off npm; only the Style Dictionary lock has an exception. A rule turns off helm-values and helmv3. The pre-commit manager is off by default, and its rule only adds labels.
  • The config has no schedule, no groups, no limits for the CI cap, no vulnerabilityAlerts or osvVulnerabilityAlerts settings and no lockFileMaintenance.
  • rebaseWhen: behind-base-branch pushes each open update pull request again after each merge to main. Each push starts about 25 jobs, and the account runs at most 20 at a time.
  • Default Renovate titles can be longer than 60 characters, the limit of the required Semantic PR title check.
  • Fail-to-Pass Check runs on each fix( title and fails when no changed test fails on the base. So each fix(deps) security pull request shows a red check.
  • release.yml uses setup-uv version: "latest" in 3 places (lines 133, 181 and 244).
  • 3 action version comments are wrong: docker/build-push-action # v6 is v7.4.0, docker/setup-buildx-action # v3 is v4.4.1, and actions/attest-build-provenance # v2 matches no tag.

Measured behind on 2026-11-11: Python direct 53 of 101 (5 majors), uv.lock 54 packages, Argo CD charts 16 of 20 (3 majors), k8s images 7 of 9, GitHub Actions 5 of 23 action repositories, Grafana plugins 4 of 4, pre-commit hooks 2 of 2.

Proposed Solution & Architectural Design

Write the tests first: change the spec release-concurrency-and-renovate and tests/core/test_renovate_config.py. Then add a shared preset and make .github/renovate.json extend it. Use Renovate managers, presets and postUpgradeTasks only; add no new code.

(A) Shared preset .github/renovate/base.json. Each Service repository extends it with github>dan-petty/devops-cli//.github/renovate/base.

  • extends: ["config:recommended"], timezone: "UTC", schedule: ["* * * * 1"] (Monday).
  • prHourlyLimit: 2, prConcurrentLimit: 8, rebaseWhen: "conflicted", separateMinorPatch: true.
  • labels: ["type/chore", "scope/deps"]. addLabels scope/ci for github-actions, pre-commit and devcontainer. addLabels scope/infra for dockerfile, kubernetes, argocd, helm-values and terraform. All labels exist in .github/labels.yml.
  • commitMessagePrefix: "chore(deps):", commitMessageTopic: "{{depName}}". The longest summary of the inventory is update ghcr.io/cloudnative-pg/postgresql to v17.11 (50 characters).
  • platformCommit: "enabled". No gitAuthor. No minimumReleaseAge.
  • prBodyTemplate with no controls and no footer section, because the pull request body is the squash commit message.
  • dependencyDashboard: true, dependencyDashboardTitle: "Dependency Dashboard", dependencyDashboardLabels: ["type/chore", "scope/deps"], dependencyDashboardOSVVulnerabilitySummary: "unresolved", dependencyDashboardReportAbandonment: true, abandonmentThreshold: "1 year".
  • osvVulnerabilityAlerts: true. vulnerabilityAlerts: labels: ["type/security", "scope/deps"], commitMessagePrefix: "fix(deps):", prConcurrentLimit: 4, vulnerabilityFixStrategy: "highest". Alert pull requests skip the schedule and prHourlyLimit by design.
  • lockFileMaintenance: on, on Monday. pre-commit: on. pinDigests: true for github-actions and dockerfile.
  • packageRules, in this order:
    1. One group of non-major updates for each ecosystem: python dependencies, github actions, container images (with digests), helm charts, tools, pre-commit hooks, devcontainer features, opentofu providers.
    2. matchUpdateTypes: ["patch"] gets schedule: ["at any time"]. separateMinorPatch gives each patch its own patch-<group> branch.
    3. ghcr.io/renovatebot/renovate and searxng/searxng stay on Monday, also for a patch, because they publish several tags a day.
    4. dependencyDashboardApproval: true for runtime and data majors that need a migration: a Python minor or major (3.14 to 3.15), a Node major (24 to 26), a PostgreSQL major and a Mattermost major.
    5. Each other major: one pull request on Monday.

(B) .github/renovate.json extends the preset and adds the repository parts:

  • Remove the rules that turn off pep621, pip_requirements, pip-compile, setup-cfg, npm, helm-values and helmv3. The Style Dictionary rule is then not necessary.
  • helm-values managerFilePatterns for the 6 values files under k8s/.
  • pip-compile managerFilePatterns for src/devops_cli/tools_lock/*.txt. npm for src/devops_cli/tools_lock/{openspec,devcontainers-cli}.
  • terraform-provider registryUrls: ["https://registry.opentofu.org"].
  • Custom regex managers: runner_tools.py (UV_VERSION, GH_VERSION, NODE_MAJOR); the Python minor in the setup-uv python-version inputs, the apt python3.14 line, the tools.lock python_version and the pyproject requires-python; the CNPG imageName and the Mattermost CR version (docker datasource); the tools.lock version lines of semgrep, bandit, openspec and devcontainers-cli. feat(deps): track regular version updates with Renovate #4893 child 3 adds the [binary.<name>] managers.
  • Keep the Grafana plugin manager with its <4.0.0 hold, and the argocd git-tags off rule.
  • Coupled groups, so that the tests that compare files pass in one pull request: trivy (tools.lock, .devcontainer/Dockerfile, 7 trivy-action version inputs); argo (tools.lock, Dockerfile, argo-workflows values images.tag); cloudflared (tools.lock, Dockerfile, k8s image); uv (2 Dockerfiles, 2 setup-uv inputs, runner_tools.py); gh (Dockerfile url and sha256, runner_tools.py); node (.node-version, 2 images, the devcontainer node feature, runner_tools.py); the Python runtime (all 3.14 places); ruff (dev dependency and the ruff-pre-commit rev); bandit (dev dependency, tools.lock, bandit.in and bandit.txt); actionlint (Dockerfile and the ci.yml image); openspec (package.json, lock, tools.lock).
  • postUpgradeTasks with installTools (python, uv, node) where each needs them: openspec installs the pinned openspec and runs uv run --frozen devops openspec regenerate, because the skills under .agents, .claude and .kilocode hold the version; devcontainer features run devcontainer upgrade --workspace-folder . --config .devcontainer/image/devcontainer.json with the pinned Dev Containers CLI to write devcontainer-lock.json again. The global allowedCommands of feat(deps): track regular version updates with Renovate #4893 child 4 allows these commands.
  • prBodyNotes where a person or agent must act: the SearXNG engine names, the gh-dash schema fixture, the tuicr test, the OpenSpec test recording, and LiteLLM (link chore(k8s): plan the LiteLLM upgrade beyond 1.103 #4406).

Other changes in the same pull request:

  • Pin the 3 setup-uv version: "latest" inputs of release.yml.
  • Fix the 3 wrong action version comments.
  • Scope the Fail-to-Pass Check trigger: skip a pull request whose author is devops-cli-renovate[bot]. A bump has no test that fails on the base. This scopes the trigger and adds no escape. Agent fix pull requests keep the check.
  • Update CONTRIBUTING.md "Dependency Versions": security and patch releases come at once, other updates on Monday, and majors that need a migration through the Dashboard.

Target Subsystem

SDLC, Git & PR Governance (dependency updates).

Existing Tool Considered

Renovate managers, presets, customManagers and postUpgradeTasks cover the need. No new code.

Acceptance Criteria

  • Tests fail on the base and pass on the branch for each of these: each pin class of the inventory has a manager or a custom manager; pep621, npm, pip-compile, helm-values and pre-commit are on; rebaseWhen is conflicted; no minimumReleaseAge; prHourlyLimit 2, prConcurrentLimit 8 and vulnerabilityAlerts.prConcurrentLimit 4; the patch rule runs at any time; each label exists in .github/labels.yml; each depName of the inventory gives a title summary of 60 characters or fewer.
  • npx --yes --package renovate@<newest> renovate-config-validator --strict .github/renovate.json .github/renovate/base.json exits 0. Use the newest Renovate release (44.235.0 on 2026-11-12). Put the result in a pull request comment.
  • Fail-to-Pass Check has a trigger condition that excludes devops-cli-renovate[bot].
  • The spec and CONTRIBUTING.md agree with the config.

Dependencies

None. Child 1 of #4893. Nothing changes until the CronJob of #4893 child 4 runs.

Source: #4893

Activity

  1. added
    source/agent
    on Nov 12, 2026
  2. added
    type/infra
    scope/deps
    status/new
    value/high
    effort/medium
    on Nov 12, 2026
  3. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/infra. The ci prefix of the title gives the type.
    • Scope: scope/deps. The (deps) scope of the title gives the scope.
    • Priority: P2-Medium. Dependency updates are fully stalled since 2026-10-01, but no active outage or security incident is cited.
    • Value: High. Without this change no dependency or security updates are proposed, leaving 53+ Python packages and 16+ Helm charts behind.
    • Effort: Medium. The change is configuration-only (JSON presets and package rules) plus test updates, with no new application code.
    • Related: chore(ci): group release concurrency by branch and expand renovate #4278, which asks for a different change. Both expand Renovate coverage in .github/renovate.json, but #4278 added specific managers and fixed concurrency while the candidate adds the shared preset, schedule, all-ecosystem package rules, and vulnerability alerts.
  4. added
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 12, 2026
  5. removed
    status/in-progress
    owner/agent
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/depssource/agenttype/infravalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions