From b439936b82896cb9e9cfd58725af6d2c97e16131 Mon Sep 17 00:00:00 2001 From: "Brian D. Evans" <252620095+briandevans@users.noreply.github.com> Date: Fri, 24 Apr 2026 16:44:41 -0700 Subject: [PATCH] fix(nix): refresh tui + web npmDepsHash to unblock CI on every PR (#15244, #15272, #15314) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Nix Lockfile Check on ``main`` has been failing across every open PR for several days because two pinned ``fetchNpmDeps`` hashes drifted out of sync with the actual ``package-lock.json`` contents in ``ui-tui/`` and ``web/``. The CI run helpfully prints the correct hash on each failure, so this is a one-character-precision drive-by: | File | Old → New | |---|---| | ``nix/tui.nix`` | ``RU4qSHgJPMyfRSEJDzkG4+MReDZDc6QbTD2wisa5QE0=`` → ``/lL0IXurF4WlyFYVVwDI0Btcx0uChHdmKQ8ZW3NQf5E=`` | | ``nix/web.nix`` | ``TS/vrCHbdvXkPcAPxImKzAd2pdDCrKlgYZkXBMQ+TEg=`` → ``4Z8KQ69QhO83X6zff+5urWBv6MME686MhTTMdwSl65o=`` | Both new hashes are exactly what every ``Nix Lockfile Check`` run on fresh PRs is reporting (e.g. run 24916813199 from a few minutes ago). The drift was caused by recent dependency-touching commits in ``ui-tui/`` (PTY WebSocket bridge ``f49afd31``, package.json updates across the chat-unification series ``c61547c0``) and ``web/`` (docs embedding ``0fdbfad2``, sidebar layout ``e5d2815b``, dashboard extension points ``f593c367``). None of those PRs ran the ``nix flake update`` follow-up, so the cached hashes never got refreshed. Reported in: - #15244 (nix ubuntu check failing on main again) - #15272 (nix CI broken on main — npmDepsHash out of date) - #15314 (hermes-tui npmDepsHash is out of date) This unblocks the ``Nix Lockfile Check`` lane for every open PR (several dozen at the time of writing) and restores the green-CI baseline that ``main`` is supposed to maintain. No production behaviour changes. Closes #15244, #15272, #15314 Co-Authored-By: Claude Opus 4.7 (1M context) --- nix/tui.nix | 2 +- nix/web.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/tui.nix b/nix/tui.nix index 04bbfa034e8..e78f9252f29 100644 --- a/nix/tui.nix +++ b/nix/tui.nix @@ -4,7 +4,7 @@ let src = ../ui-tui; npmDeps = pkgs.fetchNpmDeps { inherit src; - hash = "sha256-RU4qSHgJPMyfRSEJDzkG4+MReDZDc6QbTD2wisa5QE0="; + hash = "sha256-/lL0IXurF4WlyFYVVwDI0Btcx0uChHdmKQ8ZW3NQf5E="; }; npm = hermesNpmLib.mkNpmPassthru { folder = "ui-tui"; attr = "tui"; pname = "hermes-tui"; }; diff --git a/nix/web.nix b/nix/web.nix index fc777289662..e79826feea5 100644 --- a/nix/web.nix +++ b/nix/web.nix @@ -4,7 +4,7 @@ let src = ../web; npmDeps = pkgs.fetchNpmDeps { inherit src; - hash = "sha256-TS/vrCHbdvXkPcAPxImKzAd2pdDCrKlgYZkXBMQ+TEg="; + hash = "sha256-4Z8KQ69QhO83X6zff+5urWBv6MME686MhTTMdwSl65o="; }; npm = hermesNpmLib.mkNpmPassthru { folder = "web"; attr = "web"; pname = "hermes-web"; };