feat(infra): add load testing + finalize CI/CD for Go and Hono services

Load testing:
- k6 test suite for mana-sync (HTTP sync, WebSocket stress, mixed)
- 3 scenarios: mixed workload, WebSocket-only, sync throughput
- Custom metrics: push/pull latency, WS connect time, conflict count

CI/CD:
- Add 6 missing services to ci.yml: mana-sync, mana-notify,
  mana-api-gateway, mana-crawler, mana-media, mana-credits
- Add same services to cd-macmini.yml for auto-deploy
- Add mana-sync + mana-media to docker-validate.yml
- Go services trigger on shared-go/ changes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-28 18:22:33 +01:00
parent 1cb48b797a
commit 92557ee835
6 changed files with 642 additions and 8 deletions

View file

@ -403,8 +403,8 @@ Alle 5 Services laufen auf Hono + Bun.
- [x] Prometheus Metrics für mana-sync (`/metrics` Endpoint)
- [x] `services/mana-core-auth/` gelöscht + alle Referenzen bereinigt (15+ Dateien)
- [x] `services/mana-media/` von NestJS auf Hono/Bun migriert (23 → 12 Files, -50% LOC)
- [ ] Load Testing: Sync-Protokoll unter Last testen
- [ ] CI/CD: Go Build + Bun Build Pipeline finalisieren
- [x] Load Testing: k6 Test-Suite für mana-sync (HTTP sync + WebSocket stress)
- [x] CI/CD: Go + Bun Build Pipeline (6 Go + 2 Hono Services in ci.yml + cd-macmini.yml)
---
@ -472,7 +472,8 @@ Alle 5 Services laufen auf Hono + Bun.
|---|---|---|
| ~~mana-core-auth archivieren~~ | ~~Niedrig~~ | ✅ Gelöscht + alle Referenzen bereinigt |
| ~~mana-media migrieren~~ | ~~Mittel~~ | ✅ NestJS → Hono/Bun (23 → 12 Files) |
| Load Testing | Mittel | Sync-Protokoll unter Last testen (100K+ Connections) |
| CI/CD finalisieren | Niedrig | Go Build + Bun Build Pipeline komplettieren |
| ~~Load Testing~~ | ~~Mittel~~ | ✅ k6 Test-Suite: HTTP sync, WebSocket stress, mixed workload |
| ~~CI/CD finalisieren~~ | ~~Niedrig~~ | ✅ 6 Go + 2 Hono Services in CI/CD Pipelines |
**Zero NestJS im gesamten Monorepo.** Alle Services laufen auf Hono/Bun oder Go.
**Alle 5 Phasen vollständig abgeschlossen.** Migration complete.