Commit Graph

7 Commits

Author SHA1 Message Date
23d495dec9 feat(dbal): run real C++ CLI binary from Query Console
- Build metabuilder-cli C++ binary into DBAL frontend Docker image
  via multi-stage build (conan-deps → cli-builder → nextjs → ubuntu runner)
- New /api/cli route executes the real C++ binary via child_process
- CLI mode runs actual metabuilder-cli commands (dbal, auth, user, tenant, package)
- Admin token forwarded via DBAL_ADMIN_TOKEN env var
- Ubuntu 24.04 runtime for glibc 2.38 compatibility with Conan builds
- Added standalone CLI Dockerfile at frontends/cli/Dockerfile

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 23:20:28 +00:00
8ff699e776 fix: resolve DBAL frontend client-side errors and deployment issues
- Fix DBAL overview page: basePath doubled in NavTabs and Link hrefs
- Fix client-side fetch URLs: prepend basePath for /api/status and /api/query
- Remove unused workspace deps (api-clients, core-hooks, redux) from DBAL frontend
- Simplify DBAL Dockerfile to standalone build (no monorepo workspace deps needed)
- Add null guards for health array in ServerStatusPanel
- Fix Prometheus nginx proxy: don't strip prefix (web.external-url handles it)
- Fix caproverforge portal: remove onMouse handlers from Server Component

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 22:17:42 +00:00
9df6e1c64f fix: upgrade all Dockerfiles to node:24-alpine, fix portal build errors
- Update all 12 Dockerfiles from node:18/20/22 to node:24-alpine
- Fix caproverforge portal: remove event handlers from Server Component
- Fix repoforge/caproverforge portals: ensure public/ dir exists in builder
- Fix packagerepo Dockerfile: node:18 → node:24 (Next.js 16 requires >=20)
- Fix DBAL frontend port conflict: 3009 → 3015 (3009 in use by external container)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 21:43:28 +00:00
7e12140e41 feat: wire up 5 missing frontends, add analytics dashboard + Starlink monitoring
- Wire DBAL frontend, Docker Terminal, Package Repo into Docker stack
  with Dockerfiles, docker-compose entries, and nginx reverse proxy
- Create APK download portals for RepoForge and CaproverForge (Next.js)
- Add DBAL Query Console (REST query interface with history sidebar)
- Add C++ Prometheus /metrics endpoint to DBAL daemon (request counters,
  error rates, method breakdown, uptime, active connections)
- Enable Grafana/Prometheus via nginx sub-path routing (/grafana, /prometheus)
- Auto-provision 4 Grafana dashboards: DBAL Overview, Infrastructure,
  Starlink Dish
- Add Starlink exporter (danopstech/starlink_exporter) to monitoring profile
- Add alert rules for DBAL error rate, Starlink latency, Starlink obstruction
- Update welcome portal with all new app cards and monitoring section

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 21:35:19 +00:00
13d04d0767 fix(deployment): resolve run() shadowing in stack.py and disable broken storybook build
stack.py line 130 `run = run_cmd` shadowed the imported `run` helper from
cli.helpers, causing a recursive TypeError on `stack up`. Renamed import to
`run_shell` to avoid the collision. Moved storybook behind a profile since
its Docker build fails due to @storybook/addon-docs version mismatch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 10:49:25 +00:00
rw
45daa18bb1 fix(ci): add Verdaccio to stack and Gate 7 for @esbuild-kit registry
The base-node-deps Docker build failed because .npmrc routes @esbuild-kit
packages to localhost:4873 (Verdaccio), which is unreachable inside BuildKit.

- Add Verdaccio service to docker-compose.stack.yml with patched tarballs
- Start Verdaccio in Gate 7 Tier 1 before base-node-deps build
- Configure buildx with network=host so BuildKit can reach localhost:4873
- Update verdaccio.yaml storage path for container volume mount

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 22:38:17 +00:00
862cc29457 various changes 2026-03-09 22:30:41 +00:00