ci(renovate): group updates and open them on Mondays #438

Merged
Defame1297 merged 2 commits from ci/renovate-group-schedule into main 2026-11-27 16:02:49 +00:00
Owner

What and why

Closes #422

Renovate opens its pull requests on Mondays (UTC), in groups, so a week's updates cost fewer pull requests and fewer CI runs:

  • own CI images: the ci and both molecule image pins in one pull request, exempt from the schedule, so main follows a new image within minutes and one Molecule run tests them together.
  • ubuntu base images: the Dockerfile FROM ubuntu digests and the image.yml job_image digests of one Ubuntu update share one branch. A group automerges only if every update in it does, and job-container bumps never automerge, so this pull request is manual. Every Dockerfile is FROM ubuntu, so base-image bumps are manual; the dockerfile automerge rule stays as the safety net for a future base image that isn't ubuntu.
  • lint tooling (apm-cli, antsibull-changelog, galaxy-importer, reuse, pre-commit, uv) and pre-commit hooks (still never automerged). These two groups go beyond issue #422's proposal; the maintainer approved them separately.
  • Schedule on monday, for lock file maintenance too, with no hourly limit (prHourlyLimit: 0): any Monday run (cron, dispatch or Images-triggered) can act, so a failed or capped run does not lose the week; the weekly window and the groups limit the volume.
  • osvVulnerabilityAlerts: true: Renovate 44.161.0 forces OSV fixes with the vulnerabilityAlerts defaults (schedule: [], minimumReleaseAge: null, no group), so they skip the schedule. Because they also skip the release-age wait the threat model relies on against a compromised upstream, vulnerabilityAlerts.automerge: false keeps a person on every fix; it is part of the forced config, so no package rule overrides it.

Verified

  • renovate-config-validator --strict (Renovate 44.161.0, the version in renovate.yml) on the final file: valid as the repo config and with RENOVATE_PLATFORM=gitea.
  • renovate --platform=local (44.161.0) on main's config and on the final file, branches per pending update:
    • ci 0.2.48 (build.yml, lint.yml, gitea-release-key.yml, molecule.yml) and molecule-ubuntu2404 0.1.11: renovate/git.rkdr.net-mortis-ci-0.x + renovate/git.rkdr.net-mortis-molecule-ubuntu2404-0.x → renovate/own-ci-images
    • galaxy-importer 0.4.45, apm-cli 0.39.1, uv 0.13.10: renovate/galaxy-importer-0.x, renovate/apm-cli-0.x, renovate/uv-0.x → renovate/lint-tooling
    • molecule 26.11.1: renovate/molecule-26.x (unchanged)
    • ubuntu 24.04 → resolute major (Dockerfile and job_image, disabled by the ubuntu-major rule): renovate/ubuntu-26.x + renovate/job-container-ubuntu-26.x → renovate/major-ubuntu-base-images
  • With Renovate's own defaults and mergeChildConfig, the resolved vulnerabilityAlerts keeps every default and adds automerge: false, and a later automerge: true rule does not override it (checked against the 44.161.0 source: vulnerabilities.js, config/utils.js, generate.js).
  • pre-commit run --files renovate.json; commit hooks; python3 -m unittest discover -s tests/scripts (273 tests OK); ansible-test sanity (pre-push).
  • Three review rounds by a separate agent (rule order, group automerge, OSV forcing, schedule vs. renovate.yml cron, threat model).

Not verified

  • Schedule, automerge and rebase behaviour cannot be checked locally; they show on the first runs after the merge. The local platform does not print the resolved schedule or osvVulnerabilityAlerts; both are set in config and validated only.
  • Not exercised because nothing was pending: an ubuntu digest bump (the ubuntu base images group within a release), the pre-commit hooks group, and an osv.dev vulnerability fix.

  • I confirm third-party material is recorded in NOTICE and REUSE.toml, or there is none.

Assisted-by: Claude Code

## What and why Closes #422 Renovate opens its pull requests on Mondays (UTC), in groups, so a week's updates cost fewer pull requests and fewer CI runs: - `own CI images`: the ci and both molecule image pins in one pull request, exempt from the schedule, so main follows a new image within minutes and one Molecule run tests them together. - `ubuntu base images`: the Dockerfile `FROM ubuntu` digests and the image.yml `job_image` digests of one Ubuntu update share one branch. A group automerges only if every update in it does, and job-container bumps never automerge, so this pull request is manual. Every Dockerfile is `FROM ubuntu`, so base-image bumps are manual; the dockerfile automerge rule stays as the safety net for a future base image that isn't ubuntu. - `lint tooling` (apm-cli, antsibull-changelog, galaxy-importer, reuse, pre-commit, uv) and `pre-commit hooks` (still never automerged). These two groups go beyond issue #422's proposal; the maintainer approved them separately. - Schedule `on monday`, for lock file maintenance too, with no hourly limit (`prHourlyLimit: 0`): any Monday run (cron, dispatch or Images-triggered) can act, so a failed or capped run does not lose the week; the weekly window and the groups limit the volume. - `osvVulnerabilityAlerts: true`: Renovate 44.161.0 forces OSV fixes with the `vulnerabilityAlerts` defaults (`schedule: []`, `minimumReleaseAge: null`, no group), so they skip the schedule. Because they also skip the release-age wait the threat model relies on against a compromised upstream, `vulnerabilityAlerts.automerge: false` keeps a person on every fix; it is part of the forced config, so no package rule overrides it. ## Verified - `renovate-config-validator --strict` (Renovate 44.161.0, the version in renovate.yml) on the final file: valid as the repo config and with `RENOVATE_PLATFORM=gitea`. - `renovate --platform=local` (44.161.0) on main's config and on the final file, branches per pending update: - ci 0.2.48 (build.yml, lint.yml, gitea-release-key.yml, molecule.yml) and molecule-ubuntu2404 0.1.11: `renovate/git.rkdr.net-mortis-ci-0.x` + `renovate/git.rkdr.net-mortis-molecule-ubuntu2404-0.x` → `renovate/own-ci-images` - galaxy-importer 0.4.45, apm-cli 0.39.1, uv 0.13.10: `renovate/galaxy-importer-0.x`, `renovate/apm-cli-0.x`, `renovate/uv-0.x` → `renovate/lint-tooling` - molecule 26.11.1: `renovate/molecule-26.x` (unchanged) - ubuntu 24.04 → resolute major (Dockerfile and job_image, disabled by the ubuntu-major rule): `renovate/ubuntu-26.x` + `renovate/job-container-ubuntu-26.x` → `renovate/major-ubuntu-base-images` - With Renovate's own defaults and `mergeChildConfig`, the resolved `vulnerabilityAlerts` keeps every default and adds `automerge: false`, and a later `automerge: true` rule does not override it (checked against the 44.161.0 source: `vulnerabilities.js`, `config/utils.js`, `generate.js`). - `pre-commit run --files renovate.json`; commit hooks; `python3 -m unittest discover -s tests/scripts` (273 tests OK); `ansible-test sanity` (pre-push). - Three review rounds by a separate agent (rule order, group automerge, OSV forcing, schedule vs. renovate.yml cron, threat model). ## Not verified - Schedule, automerge and rebase behaviour cannot be checked locally; they show on the first runs after the merge. The local platform does not print the resolved `schedule` or `osvVulnerabilityAlerts`; both are set in config and validated only. - Not exercised because nothing was pending: an ubuntu digest bump (the `ubuntu base images` group within a release), the `pre-commit hooks` group, and an osv.dev vulnerability fix. --- - [x] I confirm third-party material is recorded in `NOTICE` and `REUSE.toml`, or there is none. Assisted-by: Claude Code
Claude added 1 commit 2026-11-27 14:32:21 +00:00
ci(renovate): group updates and open them on Mondays
Build / build (pull_request) Successful in 23s
Molecule / molecule (pull_request) Successful in 1m13s
Lint / lint (pull_request) Successful in 2m11s
16b1aa4136
Updates, lock file maintenance included, open on Mondays (UTC) so any
Monday run can act, with no hourly pull request limit; the weekly window
and the groups bound the volume. Groups: own CI images (ci and both
molecule pins, exempt from the schedule), ubuntu base images (Dockerfile
FROM and image.yml job_image digests in one branch, so manual), lint
tooling and pre-commit hooks. osvVulnerabilityAlerts brings fixes from
osv.dev; they skip the schedule and the release-age wait, so
vulnerabilityAlerts.automerge false keeps a person on each one.

Assisted-by: Claude Code:claude-opus-5-5
CODEOWNERS rules requested review from Defame1297 2026-11-27 14:32:21 +00:00
Defame1297 added 1 commit 2026-11-27 15:59:48 +00:00
Merge branch 'main' into ci/renovate-group-schedule
Build / build (pull_request) Successful in 31s
Molecule / molecule (pull_request) Successful in 4s
Lint / lint (pull_request) Successful in 1m36s
6c031acc26
Defame1297 scheduled this pull request to auto merge when all checks succeed 2026-11-27 16:00:18 +00:00
Defame1297 approved these changes 2026-11-27 16:02:48 +00:00
Defame1297 merged commit 7dbf9a1bd0 into main 2026-11-27 16:02:49 +00:00
Defame1297 deleted branch ci/renovate-group-schedule 2026-11-27 16:02:50 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#438