Skip to content

feat(renovate): track the agent-image nixpkgs channel pin (RIG-3365) - #1046

Open
rigel-mintaka wants to merge 1 commit into
mainfrom
dependencies/rig-3365-agent-image-nixpkgs
Open

feat(renovate): track the agent-image nixpkgs channel pin (RIG-3365)#1046
rigel-mintaka wants to merge 1 commit into
mainfrom
dependencies/rig-3365-agent-image-nixpkgs

Conversation

@rigel-mintaka

@rigel-mintaka rigel-mintaka commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

This PR is part of a stack containing 2 PRs:

  1. main
  2. "feat(renovate): track the agent-image nixpkgs channel pin (RIG-3365)" (this PR)
  3. feat(renovate): verify the agent-image FOD through its own builder (RIG-3365) #1047

The agent base image's devenv scope pins both a devenv-nixpkgs channel rev and
a RigelBuild/devenv fork rev, but only the fork was tracked. Three of the four
devenv pins in the tree moved on a Renovate cadence; agent-image's channel rev
only ever moved when someone relocked it by hand.

Add the fourth pin: a customManager over agent-image/devenv.lock's nixpkgs node
under its own depName, a solo-branched packageRule, and a scope-correct
refresher that relocks via the devenv CLI the lock itself pins.

The refresher is separate from refresh-devenv-nixpkgs.ts rather than a widened
scope on it. That script's tail is root-only: it mirrors the channel's biome
into the catalog and locksteps the repo-root flake.nix. agent-image bakes
nothing into a shell and has no flake, so widening would put the whole tail
behind a conditional on a path two live rules already depend on.

Co-authored-by: Matt Wilkinson matt@rigel.build

@linear-code

linear-code Bot commented Sep 9, 2026

Copy link
Copy Markdown

RIG-3365

@trunk-io

trunk-io Bot commented Sep 9, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@rigel-mintaka
rigel-mintaka added this pull request to stack #1048 September 9, 2026 20:35
The agent base image's devenv scope pins both a devenv-nixpkgs channel rev and
a RigelBuild/devenv fork rev, but only the fork was tracked. Three of the four
devenv pins in the tree moved on a Renovate cadence; agent-image's channel rev
only ever moved when someone relocked it by hand.

Add the fourth pin: a customManager over agent-image/devenv.lock's nixpkgs node
under its own depName, a solo-branched packageRule, and a scope-correct
refresher that relocks via the devenv CLI the lock itself pins.

The refresher is separate from refresh-devenv-nixpkgs.ts rather than a widened
scope on it. That script's tail is root-only: it mirrors the channel's biome
into the catalog and locksteps the repo-root flake.nix. agent-image bakes
nothing into a shell and has no flake, so widening would put the whole tail
behind a conditional on a path two live rules already depend on.

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@rigel-mintaka
rigel-mintaka force-pushed the dependencies/rig-3365-agent-image-nixpkgs branch from ea34c5f to 9145227 Compare September 10, 2026 01:30
@rigel-mintaka
rigel-mintaka marked this pull request as ready for review September 10, 2026 01:30
@github-actions

Copy link
Copy Markdown

Compass engineering docs preview: https://dependencies-rig-3365-agent-77ej.compass-eng-docs.pages.dev

Deployed from dependencies/rig-3365-agent-image-nixpkgs at 9145227.

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