Files
zeekayandHanzo Dev c6e940442e ci: build on the native runners, and make the tree buildable again
The search fix (be64271) has been sitting on main unpublished because CI on
this forge could not produce an image. Three independent faults, each hidden
behind the one in front of it.

1. The credential. .github/workflows/build-lux.yml logged in to ghcr.io with
   secrets.GITHUB_TOKEN. On Hanzo Git that is a Hanzo Git token and ghcr.io has
   never heard of it, so every run died in about a minute with

     Get "https://ghcr.io/v2/": denied: denied

   The build was not queueing forever — it ran, and it failed. The pair that
   works here is GHCR_USER / GHCR_TOKEN, the org secrets luxfi/node already
   publishes with.

2. The lockfile. d319792b took react-icons out and put @hanzogui/lucide-icons-2
   in, and moved @luxfi/ui to 7.4.9, but pnpm-lock.yaml was never regenerated —
   it still specified react-icons and @luxfi/ui 7.3.2. The Dockerfile installs
   with --frozen-lockfile, so the image build could not have succeeded even with
   a valid registry credential:

     ERR_PNPM_OUTDATED_LOCKFILE  ... don't match specs in package.json

   Regenerated against the committed package.json; `pnpm install
   --frozen-lockfile` is green.

3. The stub. f3833dfc pointed four Turbopack resolve aliases at
   ./stubs/empty.js and the file was never added. It exists on the author's
   disk, so it builds there and nowhere else. Added.

2 and 3 are the same failure twice: a commit landed with a piece missing, and
because CI could not run, nothing said so. That is the actual cost of a broken
pipeline — not the delay, the silence.

CI moves to .hanzo/workflows, the one path this forge reads, mirroring
luxfi/node:

  release.yml  gates on the unit suite, builds, proves the image is a runnable
               build whose baked NEXT_PUBLIC_GIT_TAG equals the tag being
               published, pushes, then proves the manifest resolves. v1.1.14 and
               v1.1.15 are package.json bumps with no image behind them; the
               inverse — an image whose footer misreports its own version — is
               the one that misleads in production, and both are now unpublishable.
  ci.yml       the unit suite on push and PR.

build-lux.yml is deleted rather than repaired. Besides the dead credential its
second job deployed by driving kubectl straight at the cluster, and those
objects are reconciled by hanzo-cd — an imperative apply is drift by
construction. Deployment is a tag bump in luxfi/universe plus a CD sync; CI's
job ends at a published, resolvable image.

lint:tsc is deliberately not gated: it is red on main on its own account
(TS2304 across ui/**/*.pw.tsx, plus the unrelated vite/ scratch app). It needs
a fix, not a permanently-red job standing in for one.

Version 1.1.15 -> 1.1.16, the patch above the last published tag v1.1.13.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-04 10:25:23 -07:00

9 lines
448 B
JavaScript

// The browser's answer to a Node builtin.
//
// `configs/multichain/config.nodejs.ts` reaches for `fs`/`path` behind a
// `NEXT_RUNTIME === 'nodejs'` guard, and MetaMask's SDK reaches for a React
// Native storage module. Webpack was told to answer those with nothing
// (`resolve.fallback: { fs: false }`); Turbopack has no `fallback`, so it needs
// a module to point at. This is that module — same answer, both bundlers.
module.exports = {};