bytelyst-devops-tools/dashboard/web
Hermes VM 254ef2704c fix(dashboard): switch backend+web Dockerfiles to pnpm; add missing pino dep
The image rebuilds were broken because `backend/package-lock.json` and
`web/package-lock.json` had been regenerated inside the pnpm workspace
and contained pnpm-store symlinks (e.g. `node_modules/typescript` →
`../node_modules/.pnpm/typescript@5.9.3/...` with `link: true`). When
`npm ci` ran in Docker outside the pnpm workspace, those link targets
didn't exist, so devDeps including TypeScript were silently not
installed — leaving `tsc: not found` at build time.

Fix aligns Docker builds with the declared `packageManager: pnpm@10.6.5`
field:

  - Both Dockerfiles now use corepack + pnpm with the workspace
    `pnpm-lock.yaml` and `--filter ... --frozen-lockfile`
  - Production stage uses `pnpm deploy --prod --legacy` to carve out a
    devDep-free node_modules
  - Drop the stale `backend/package-lock.json` and
    `web/package-lock.json` (they're regenerated wrong every time anyone
    runs npm in here)
  - Add `pino` + `pino-pretty` to backend deps (used by
    `src/lib/logger.ts` from the Phase 5 P1 structured-logging work but
    never declared)
  - Fix pre-existing bug in backend runtime stage: `docker.io` package
    in debian:bookworm-slim pre-creates a `docker` group at GID ~101,
    so `groupadd --gid 999` then `useradd --gid 999` failed. Use
    `groupmod` when the group already exists.

After this commit:
  - 87/87 tests pass (74 backend + 13 web)
  - typecheck clean
  - lint: 0 errors (only pre-existing unused-var warnings)
  - `docker compose build && up` succeeds end-to-end
  - Tailscale URL serves the new dashboard with all Phase 1-7 work live
  - CORS allow-list driven by `EXTRA_CORS_ORIGINS` env var (no hot-patch
    needed in the running container)

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-30 10:13:37 +00:00
..
e2e feat(dashboard): Phase 3 slice 2 — Products pane on real service registry 2026-05-30 07:56:51 +00:00
public feat(devops): adopt trading web deployment model with docker-compose 2026-05-11 03:24:11 +00:00
src feat(dashboard): close Phase 6 (trend cards + theme toggle), drop-root scaffold, Agents inventory, Phase 0 reconfirm 2026-05-30 08:26:26 +00:00
.env.local.example feat(devops-web): fix responsive layout and add comprehensive dashboard pages 2026-05-11 03:10:31 +00:00
.gitignore feat(dashboard): Phase 2 — instance dimension across Mission Control 2026-05-30 07:43:55 +00:00
.pnpmfile.cjs feat(devops-web): add UX foundation - local package resolution and design tokens 2026-05-11 02:01:29 +00:00
Dockerfile fix(dashboard): switch backend+web Dockerfiles to pnpm; add missing pino dep 2026-05-30 10:13:37 +00:00
eslint.config.mjs fix(dashboard): Phase 5 P0 — correct CI workspace path + real ESLint 2026-05-30 06:50:32 +00:00
next-env.d.ts feat: add Hermes mission control dashboard 2026-05-26 08:27:59 +00:00
next.config.js feat: add Hermes mission control dashboard 2026-05-26 08:27:59 +00:00
package.json fix(dashboard): Phase 5 P0 — correct CI workspace path + real ESLint 2026-05-30 06:50:32 +00:00
playwright.config.ts feat: add Hermes mission control dashboard 2026-05-26 08:27:59 +00:00
postcss.config.js feat(devops-web): fix responsive layout and add comprehensive dashboard pages 2026-05-11 03:10:31 +00:00
tailwind.config.ts feat(devops-web): fix responsive layout and add comprehensive dashboard pages 2026-05-11 03:10:31 +00:00
tsconfig.json feat: add Hermes mission control dashboard 2026-05-26 08:27:59 +00:00
tsconfig.tsbuildinfo fix: systematic bug fixes — code-quality parser, env key, config warnings, auth cleanup, deployment safety 2026-05-27 18:53:20 +00:00
vitest.config.ts feat: add Hermes mission control dashboard 2026-05-26 08:27:59 +00:00