Skip to content

fix(deps): keep Renovate uv bumps green and groups on Monday #4974

Closed

Description

@dan-petty

Problem Description

A review of #4952 (merged) found two defects in the Renovate configuration.

  1. A uv update fails a pin test. The preset sets pinDigests for the dockerfile manager. Renovate thus writes ghcr.io/astral-sh/uv:<version>@sha256:<digest> in .devcontainer/Dockerfile. tests/roadmap/test_roadmap_runner_tools.py::test_the_pins_of_the_table_are_the_pins_of_the_dockerfile requires --from=ghcr.io/astral-sh/uv:<version> with a space after the version. The uv group pull request therefore fails Tests & Coverage.
  2. Renovate pushes the Monday groups on every day. docs/SDLC.md and the spec release-concurrency-and-renovate say that Renovate pushes an open pull request again only on a conflict. This is not correct. Renovate also pushes an open branch when a member of it gets a new release. updateNotScheduled is true by default, so it does this outside the schedule of the branch. With the planned run every 2 hours, each run can push each of the 8 open group branches on any day. Each push starts about 25 jobs, and the account runs at most 20 jobs at a time.

Reproduction Steps

  1. Read the Renovate 44.235.1 dry run of ci(deps): make Renovate cover every pin on a fixed schedule #4952: the dep ghcr.io/astral-sh/uv of .devcontainer/Dockerfile gets a pinDigest update (branch renovate/uv) and a patch update with a new digest (branch renovate/patch-uv). Both write uv:<version>@sha256:<digest>.
  2. Write @sha256:<digest> after uv:0.13.6 in .devcontainer/Dockerfile and run uv run pytest tests/roadmap/test_roadmap_runner_tools.py -k pins_of_the_table. The test fails.
  3. Read lib/workers/repository/update/branch/index.ts of Renovate 44.235.1: an existing branch outside its schedule is skipped only when updateNotScheduled === false.

Expected vs Actual Behavior

Expected: the uv group pull request passes the tests. A Monday group changes only on Monday; a patch and a security fix come at any time.

Actual: the uv group pull request fails a test. Renovate can push each open group branch on any day.

Environment Diagnostics

devops-cli main after #4952. Renovate 44.235.1 (dist/config/options/index.js: updateNotScheduled default true, commitHourlyLimit default 0).

Logs, Traces, or Terminal Output

commitHourlyLimit does not stop this: Renovate 44.235.1 counts the commits of the current hour once, before it writes the branches of a run (lib/workers/repository/process/write.ts), and does not add the commits of the run. With one run every 2 hours, the count at the start of each run is 0. The per-run limit prCommitsPerRunLimit is a global option, so it belongs to the self-hosted configuration of #4905.

Proposed fix

  • Pin ghcr.io/astral-sh/uv:0.13.6 in .devcontainer/Dockerfile to the digest that the service Dockerfile already pins, and make the test require @sha256: in both files.
  • Set updateNotScheduled: false in .github/renovate/base.json. Correct docs/SDLC.md, the spec and the test docstring.

Source: #4952

Activity

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

    @dan-petty
    OwnerAuthor
    • Related: feat(deps): repin tool downloads and their sha256 for Renovate #4902, which asks for a different change. Both deal with Renovate managing pins in .devcontainer/Dockerfile and the pin-equality test, but 4902 adds Renovate coverage for all 20 tool downloads while this candidate fixes the uv digest format in the test and the Monday schedule enfor
  3. added
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 12, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 12, 2026
  5. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor
  6. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-12 12:40 UTC

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/lowpriority/p2-mediumscope/depssource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions