Skip to content

Release every 4 weeks and auto-merge passing Renovate updates - #58

Open
chrapkowski-sg wants to merge 2 commits into
mainfrom
release-automation
Open

chrapkowski-sg wants to merge 2 commits into
mainfrom
release-automation

Conversation

@chrapkowski-sg

@chrapkowski-sg chrapkowski-sg commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

scip-rust ships as a Docker image built from flake.lock, but it's only released by hand and lock file maintenance waits for a manual merge, so nixpkgs security fixes don't reach the image. A new workflow runs every Monday and, every 4 weeks from 2026-11-23 (the same week as the other indexers), starts release.yml with the next patch version if flake.nix, flake.lock or scip-rust changed since the last published release; without those changes the image would be identical. There's no version in the tree, so it dispatches the existing release workflow instead of opening a release PR, and running it manually releases right away. Since nobody reviews these releases, release.yml now refuses to tag a commit unless ci-pass passed on it, which applies to manual releases too.

Renovate now auto-merges lock file maintenance and minor, patch and digest updates once ci-pass passes, groups GitHub Actions and the CI test projects into one PR each, and runs on Monday mornings (Europe/Warsaw). ci-pass now builds the image and indexes ripgrep with it on both amd64 and arm64, the architectures release.yml publishes, and indexes four projects natively, so test project bumps merge regardless of update type. It doesn't run release.yml's actions, so major GitHub Actions bumps, which used to auto-merge, now need a manual merge, as do NixOS release upgrades such as nixos-26.05 to nixos-26.11.

Known follow-ups, not fixed here: lock file maintenance (#57) fails because cacert 3.131.1 dropped emSign ECC Root CA - G3, which the blocklist in flake.nix still names, so no nixpkgs updates land and scheduled releases skip until that entry is removed. Also, nixos-26.05 support ends on December 31, so the flake needs to move to 26.11 to keep getting fixes; Renovate should open that PR once the nixos-26.11 branch exists.

@chrapkowski-sg

Copy link
Copy Markdown
Collaborator Author

This change is part of the following stack:

Change managed by git-spice.

scip-rust ships as a Docker image built from flake.lock, so it needs regular
releases to pick up the nixpkgs updates from lock file maintenance even when
the code doesn't change. A scheduled workflow runs every Monday and, every 4
weeks after 2026-11-23, starts the release workflow with the next patch
version if the image inputs changed since the last published release. Since
nobody reviews these releases, the release workflow now only tags a commit
that passed CI.
@chrapkowski-sg
chrapkowski-sg force-pushed the release-automation branch 2 times, most recently from ef0a71f to 0de5113 Compare November 25, 2026 12:40
Renovate merged every update on its own, including major GitHub Actions
bumps, while lock file maintenance waited for a manual merge even though it
is how the image picks up nixpkgs security fixes. Minor, patch and digest
updates and lock file maintenance now merge once ci-pass passes, which builds
the image and indexes four projects with it. CI now builds and tests the
image on arm64 too, since release.yml publishes both architectures. Major
GitHub Actions updates and NixOS release upgrades need a manual merge, since
release.yml's actions don't run in CI and a new NixOS release swaps the whole
toolchain. Updates to the CI test projects merge regardless of type, because
CI indexes the new version. GitHub Actions and the CI test projects are
grouped into one PR each, and Renovate runs on Monday mornings
(Europe/Warsaw). The custom manager uses managerFilePatterns, which replaced
fileMatch.
@chrapkowski-sg
chrapkowski-sg marked this pull request as ready for review November 25, 2026 13:31
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