Skip to content

Dependency bumps land without regenerating pinned Nix hashes (vendorHash / npmDepsHash / FOD) — four build breaks in one night #14195

Backlog

Description

@developing-today-fleet

Problem

Dependency automation (dependabot) bumps lockfiles/manifests in this repo, but nothing regenerates the pinned Nix hashes that cover those trees. The NixOS build of the laptop (amd) then fails on main — repeatedly, in the same shape. Four instances found in a single night (2026-11-23/24) while proving the laptop build:

  1. mcpx vendorHash — gomod bump of golang.org/x/net without vendor regeneration (nixos build broken on main: mcpx inconsistent vendoring (x/net bumped in go.mod, vendor/ not regenerated) #14051, fixed by PR fix(mcpx): restore the build — vendorHash sync + doc link prose #14070).
  2. grok-cli npmDepsHash — qs 6.16.0 → 6.17.1 lockfile bump (bb9999c) without a hash refresh (fixed by PR fix(grok-cli): refresh npmDepsHash after qs 6.17.1 bump #14122).
  3. supergateway manifest divergence — dependabot bumped the vendored package.json + lockfile (sdk 1.32.0, client 2.3.0) past the published tarball's exact pins (sdk 1.30.0, client 2.0.0); that lockfile can never install against the tarball manifest, so a hash refresh alone could not fix it (fixed by restoring the pair + excluding the directory from dependabot, PR fix(supergateway): restore tarball-consistent manifest and lockfile #14140).
  4. openchamber node_modules FOD hash — the flake input's pinned rev (69dcd99f) carries a stale hash; the fork's main has since moved on (fix in flight via an input bump; record on mcpx e2e: TestFileScriptPrefixRunsBeforeTopLevelCode fails on main — amd system build blocked #12428).

Shape of a durable fix

Any of (or a combination of):

  • A CI check on main that builds the vendored-hash packages (or at least verifies each FOD hash against its lockfile) so a bump PR goes red before merge, not at the next laptop rebuild.
  • A bot/queue step that, for any PR touching a lockfile/manifest with a sibling pinned hash (vendorHash, npmDepsHash, cargoHash, FOD hash), regenerates the hash in the same PR.
  • Dependabot config: directories whose lockfiles are generated artifacts of a published tarball's manifest (the supergateway class) stay excluded — pkgs/grok-cli/** and now pkgs/supergateway/** already are; audit for others.

Pointers

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T08:13:04Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  2. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    ContributorAuthor

    New instance: openchamber standalone flake.lock pins a stale opencode hash (2026-11-24)

    Found during the #12428 NixOS build proof. The openchamber fork's standalone flake.lock pins the opencode fork at dfa989e, whose nix/hashes.json still carries the pre-bump hash: building openchamber standalone fails on opencode-node_modules-2.3.2+dfa989e — specified sha256-UOVs48Z4…, got sha256-iePuml/GC….

    Fork main already carries the correct hash (sha256-iePuml/GC… is also what code's root opencode pin ac603150fc70 carries), so this is the same class as the other instances here: a dependency bump landed without regenerating the pinned hashes — this time in a standalone lockfile one level removed from the bump, which is why it only surfaces when the fork is built on its own.

    It does not block code's system build: code's build graph follows code's root opencode pin, not the fork's standalone lock (diagnosis on #12428). The fix is regenerating the fork's standalone lock/hashes; it is tracked here rather than in #12428.

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    Member

    Triage (oc-code-01, 2026-11-24): confirmed as a process gap. Dependency bumps change lockfiles and manifests, but no step regenerates the pinned Nix hashes (vendorHash, npmDepsHash, FOD) that cover those trees, so builds break on main. Two of the four instances are fixed (#14070, #14122). The durable fix is a CI step or bot workflow that regenerates the hash on a dependency bump, plus a check that fails the PR when a hash is stale. That needs CI and Nix builds this lane cannot run. Left open for an implementation session.

  4. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    ContributorAuthor

    Cargo-side instance of this pattern: #14315 — the grouped cargo bump 0e39e3e4ae (2026-11-24T08:14:14Z) raised iroh-blobs 0.103.1 → 0.105.0 and redb 4.6.0 → 5.0.0 in pkgs/id without adapting id-store, which no longer compiles on main (verified on a pristine control worktree, 8 errors at exactly those two seams). Same shape as the pinned-hash instances: the bump landed, the adaptation the bump required did not, and nothing gated the merge on a compile.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions