refactor(mana-media): migrate from NestJS to Hono/Bun

Replace NestJS framework with Hono + Bun, eliminating the last
NestJS service from the stack. All business logic preserved:
- CAS upload with SHA-256 dedup
- BullMQ image processing (Sharp thumbnails/variants)
- Matrix MXC URL import
- EXIF extraction
- File streaming/transforms
- Prometheus metrics

23 NestJS files → 12 Hono files. Zero NestJS in the monorepo.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-28 18:12:42 +01:00
parent 27b70e8197
commit 73181ab91d
34 changed files with 625 additions and 1239 deletions

View file

@ -569,8 +569,7 @@ services:
mana-media:
build:
context: .
dockerfile: services/mana-media/apps/api/Dockerfile
context: services/mana-media/apps/api
image: mana-media:local
container_name: mana-core-media
restart: always
@ -601,11 +600,11 @@ services:
ports:
- "3011:3011"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3011/api/v1/health"]
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3011/health"]
interval: 120s
timeout: 10s
retries: 3
start_period: 40s
start_period: 10s
mana-landing-builder:
build: