Skip to content

chore(deps): update cachix/devenv-nixpkgs digest to 256551e - #580

Open
rigelbuild-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/devenv-nixpkgs-channel
Open

chore(deps): update cachix/devenv-nixpkgs digest to 256551e#580
rigelbuild-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/devenv-nixpkgs-channel

Conversation

@rigelbuild-renovate

@rigelbuild-renovate rigelbuild-renovate Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
cachix/devenv-nixpkgs digest c946ff3256551e

Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • "before 4am"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@rigelbuild-renovate rigelbuild-renovate Bot added the dependencies Pull requests that update a dependency file label Aug 24, 2026
@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown

Compass engineering docs preview: https://renovate-devenv-nixpkgs-chan.compass-eng-docs.pages.dev

Deployed from renovate/devenv-nixpkgs-channel at e830dfa.

@rigelbuild-renovate
rigelbuild-renovate Bot force-pushed the renovate/devenv-nixpkgs-channel branch from f143e40 to 4a20c14 Compare August 26, 2026 06:41
@rigelbuild-renovate rigelbuild-renovate Bot changed the title chore(deps): update cachix/devenv-nixpkgs digest to ee3d58d chore(deps): update cachix/devenv-nixpkgs digest to 256551e Aug 27, 2026
@rigelbuild-renovate
rigelbuild-renovate Bot force-pushed the renovate/devenv-nixpkgs-channel branch 4 times, most recently from 2d9432c to 0f0278f Compare August 31, 2026 12:26
@rigelbuild-renovate
rigelbuild-renovate Bot force-pushed the renovate/devenv-nixpkgs-channel branch 4 times, most recently from f76cbe3 to e830dfa Compare September 5, 2026 09:55
rigel-mintaka added a commit that referenced this pull request Sep 6, 2026
…RIG-3296)

The devenv-nixpkgs digest packageRule's `postUpgradeTasks` ran only `refresh-devenv-nixpkgs.ts`, with a comment asserting the FOD refresh was "intentionally absent" because a channel bump supposedly cannot move `agent-image/entrypoint.nix`'s `outputHash` (premise: biome is a root-only devDependency, absent from the `--filter '@compass/agent'` install).

That premise is empirically false. PR #580 (digest → 256551e) failed CI `e2e` with `hash mismatch in fixed-output derivation compass-agent-node-modules` (specified `sha256-GrsX8VmqoHIg…`, got `sha256-+ogECRp2…`). The channel bump re-resolved the `@compass/agent` closure in `bun.lock` (`@opentelemetry/sdk-metrics` 2.9→2.10 and an `@oh-my-pi/pi-coding-agent` re-nesting) **and** moved `pkgs.bun`, the nixpkgs-versioned builder the FOD installs with — both move the recursive `outputHash`. So every channel bump reds `e2e`.

Fix: add `bun tools/renovate/refresh-fod-hashes.ts` to the rule's `postUpgradeTasks.commands` (after the relock, so it self-gates on the now-changed `bun.lock` and realises the new tree) and `agent-image/entrypoint.nix` to `fileFilters` (Renovate commits only listed files — without it the recomputed hash edit is silently dropped). The command is already allowlisted in `bot-config.json5`. The exemption test in `config.test.ts` is flipped to pin the corrected wiring, and the global FOD site-count guard goes 2→3 (the FOD refresh now rides three task sites). Verified: `bun test tools/renovate/config.test.ts` 68/68, biome clean.

Spec-impact: none. Refs RIG-3296

Co-authored-by: Matt Wilkinson <matt@rigel.build>
rigel-mintaka added a commit that referenced this pull request Sep 6, 2026
…RIG-3360)

`packageRules[13]` (devenv fork root) and `packageRules[15]` (go <-> go-overlay
lockstep) each declare `devenv.lock` in `fileFilters` -- a declared trigger of
the `agent-image/entrypoint.nix` FOD entry -- while running no hash refresh. A
rule-level `postUpgradeTasks` REPLACES the top-level one on its branch, so both
evict the top-level FOD leg and can commit a lock change beside a pin that
still content-addresses the old closure. That is the failure mode which kept
Renovate PR #580 red: `hash mismatch in fixed-output derivation`.

Both sites now append the refresh AFTER the command that writes the lock (the
pin must be realised against the written file, not the still-at-base one) and
name `agent-image/entrypoint.nix` in `fileFilters` so the recomputed pin can
actually be committed -- `fileFilters` is an include allowlist, so omitting it
recomputes the pin and then silently drops it.

This is fail-safe rather than a live fix: `devenv update devenv` and
`devenv update go-overlay` each relock one non-nixpkgs input, so neither moves
the nixpkgs rev supplying `pkgs.bun`, the FOD's builder. But the coupling is
declared at file granularity, and an input-graph refactor would falsify that
causal argument silently. The refresh self-gates per entry, so the price is a
no-op.

Adds a generalized guard deriving the requirement from `FOD_ENTRIES` itself
rather than a hand-copied list: every task site naming a declared trigger must
run the refresh and name that entry's FOD file plus its mirrorFiles. Includes a
non-vacuity assertion and documents the detection boundary -- a trigger written
by a Renovate manager rather than the task never appears in `fileFilters`, which
is why the `guest-image/default.nix` vendorHash leg (triggers `go/go.mod`,
`go/go.sum`) stays covered by assertion on the top-level site instead.

Reconciles the moved counts: the refresh now rides five task sites, not three,
and the per-scope task pins for the fork and lockstep rules assert their whole
command lists so a reordering reds a test instead of shipping a stale pin.

Co-authored-by: Matt Wilkinson <matt@rigel.build>
@rigelbuild-renovate
rigelbuild-renovate Bot force-pushed the renovate/devenv-nixpkgs-channel branch from e830dfa to bf95c8d Compare September 6, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant