Files
zeekay 51460827d4 Merge the forge's lux/universe into GitHub's, the one main from here
The two mains shared no history, so this is a per-file three-way merge:
for each file the 65 forge-only commits touched (by patch-id), the base is
the newest version both histories held. 105 files merged or took one side
cleanly, 48 were already identical, and the 45 true conflicts and 31
modify/delete pairs were resolved by what runs on the cluster:

- The forge wins where it is live: explorer 1.5.56 (digest 45db11ff) and
  its archive readers, explore-fe-hanzo's ConfigMap env (AI coin,
  /v1/indexer/hanzo, /v1/chain/hanzo/rpc), exchange-api reading
  luxd-archive, and explore-fe-{lux,zoo}-testnet, pinned to what they run
  (v2.8.5-lux / v2.8.4-lux).
- GitHub wins where it is live: explore-fe-lux v2.8.5-lux, explore-fe-zoo
  v2.8.4-lux, bankd v1.0.18, lux-build's routes.
- The forge's retirement of workloads that run nowhere stands: lux-mainnet
  dex, lux-hb2, lux-market, traffic, wallet-web; the lux-testnet frontends,
  indexer, exchange and gateways; lux-operator. deploy/lux-testnet/luxd.yaml
  stays, since roll_luxd.sh reads it.
- GitHub's deletions stand: lux-finance and lux-financial (static sites
  now), the k8s/ operator manifests, .hanzo/workflows/cicd.yml.
- Paths are /v1/chain/C/rpc where the forge had written /v1/chain/c. All
  four spellings answer; this one is the documented form. The forge's
  /{network}/v1 doc lines are dropped: a network is a host, and the prefix
  404s.

Dry-run against the running objects (server-side, as CD applies), the
merged explorer shows no change where GitHub's showed 152 lines, and no
other live workload moves further from what runs. Every deploy/*/*.yaml
renders with charts/app; price.yaml, which failed on GitHub, now renders.

Claude-Session: https://claude.ai/code/session_01TzirYkGmD88w4GipqivUtV
2026-09-23 20:20:03 -07:00

130 lines
4.0 KiB
YAML

# The RUNTIME environment, and only that. luxfi/explore's .env.example.lux
# mixes build-time and runtime variables in one file -- NEXT_PUBLIC_BRAND is
# read by `pnpm build`, and the branding, marketplace and homepage URLs were
# dropped from the image -- so feeding that file to the container fails the
# validator outright. These are the variables v2.8.1-lux accepts.
cd:
automated: false
replicas: 1
selectorLabels:
app: explore-fe
brand: zoo
network: mainnet
containerName: explore
image:
repository: ghcr.io/zooai/explore
# v2.8.4-lux: on a brand host the validators page counts only Zoo, /dex (the
# Lux D-Chain markets) answers 404, and the footer links to the zooai org and
# Zoo's own accounts. Built from luxfi/explore v2.8.4-lux in hanzo-build and
# pushed to the Zoo registry only; the other brands move on their own release.
tag: v2.8.4-lux
digest: sha256:d20f0c8465a8e462a66d37072ff3c8cbc719a7f478438d1d3ede6b497f5a363d
pullPolicy: IfNotPresent
labels:
brand: zoo
network: mainnet
env:
- name: PORT
value: '3000'
# Zoo pageviews go to Zoo's publishable Insights key, not the Lux default the
# image carries.
- name: NEXT_PUBLIC_PUBLISHABLE_KEY
value: pk-3TKpKnERV9AQSsBUERWkZejC1O1mUxc1jRzsP3MPbs4
envFrom:
- configMapRef:
name: explore-env-zoo
resources:
limits:
cpu: '1'
memory: 2Gi
requests:
cpu: 100m
memory: 256Mi
livenessProbe:
failureThreshold: 5
httpGet:
path: /
port: ui
scheme: HTTP
initialDelaySeconds: 90
periodSeconds: 60
successThreshold: 1
timeoutSeconds: 10
readinessProbe:
failureThreshold: 6
httpGet:
path: /
port: ui
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 15
successThreshold: 1
timeoutSeconds: 10
startupProbe:
failureThreshold: 30
httpGet:
path: /
port: ui
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
ports:
- containerPort: 3000
name: ui
servicePort: 80
imagePullSecrets:
- name: ghcr-luxfi
# One replica: a rollout keeps it serving until the new pod is Ready.
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
topologySpread:
enabled: false
lifecycle: null
terminationGracePeriodSeconds: 30
configMaps:
- name: explore-env-zoo
data:
NEXT_PUBLIC_NETWORK_NAME: Zoo Network
NEXT_PUBLIC_NETWORK_SHORT_NAME: ZOO
NEXT_PUBLIC_NETWORK_ID: '200200'
NEXT_PUBLIC_NETWORK_CURRENCY_NAME: ZOO
NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL: ZOO
NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS: '18'
# This chain's own RPC, never another brand's: the page shows only the
# chain it names.
NEXT_PUBLIC_NETWORK_RPC_URL: https://api.zoo.network/v1/chain/c/rpc
NEXT_PUBLIC_API_HOST: api-explore.lux.network
NEXT_PUBLIC_API_PROTOCOL: https
# The Blockscout-shaped API this UI reads is mounted per chain at
# /v1/indexer/<slug>. With "/" the page asks api-explore.lux.network for
# /stats, /main-page/blocks and /config/backend-version, all of which 404,
# so every card stays a skeleton that never resolves while the same paths
# under this prefix answer 200.
NEXT_PUBLIC_API_BASE_PATH: /v1/indexer/zoo
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: wss
NEXT_PUBLIC_APP_HOST: explore.zoo.network
NEXT_PUBLIC_APP_PROTOCOL: https
NEXT_PUBLIC_IS_TESTNET: 'false'
# The hosts this brand answers on. Without this the Deployment runs and nothing
# can reach it: every explore.* host resolves to Cloudflare and Cloudflare hands
# the request to an ingress with no router that matches, which is the 404 these
# five have been serving. The set is the one k8s/lux-mainnet/ingress-chains.yaml
# carried by hand, minus explore.spc.network, which does not resolve.
routes:
- name: explore-zoo
spec:
entryPoints: [websecure]
routes:
- match: Host(`explore-zoo.lux.network`) || Host(`explore.zoo.network`) || Host(`explore.zoo.ngo`)
kind: Rule
services:
# The Service publishes ui:80 -> 3000; a router that names 3000 is
# answered with `service port not found: 3000` and the host 404s.
- name: explore-fe-zoo
port: 80
tls: {}