Before: 3 pods ran ENABLED_SERVICES=all — gateway, auth, and every
business-logic service co-hosted. This defeated the purpose of the
gateway pattern and prevented independent scaling.
After:
sor-gateway (2 replicas) — ENABLED_SERVICES=gateway,auth
• WebSocket edge, accepts client connections
• Auth co-located (JWT validation is a localhost gRPC call, no network hop)
• Lighter resource footprint: 150m/128Mi request, 500m/512Mi limit
• Ingress at hub.aeternalisgames.com → sor-gateway:80
sor-workers (3 replicas) — ENABLED_SERVICES=chat,collection,bazaar,
content,versioning,matchmaking,game
• Subscribes to NATS, handles all business-logic messages
• Holds DB connection pools for all schemas
• Internal only — no ingress
• Heavier resources: 300m/384Mi request, 1000m/1Gi limit
configmap.yaml: removed ENABLED_SERVICES=all and Services__Auth (each
deployment now sets these directly in its own env block)
ingress.yaml: hub.aeternalisgames.com backend sor-host → sor-gateway
ArgoCD prune=true will delete the old sor-host Deployment + Service
from the cluster on next sync.
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
- MainLayout.razor: wrap shell in <AuthorizeView> so the sidebar and
nav are only rendered when the user is logged in. Unauthenticated
pages (login) render @Body directly, giving the login card its full
viewport without the nav overlay.
- deployment-admin.yaml: inject Admin__Email / Admin__Password from
sor-app-secrets so the startup seed picks up production credentials.
- sor-app-secrets.yaml.template: add Admin__Email / Admin__Password
placeholder entries with instructions.
- secrets/README.md: document the two new seed-account keys.
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
- DesignTimeFactories.cs: adds IDesignTimeDbContextFactory<T> for all
6 contexts so dotnet-ef tools work without starting the full ASP.NET
host (previously failed because Redis/NATS aren't available locally)
- SOR.Host.csproj: adds Microsoft.EntityFrameworkCore.Design (PrivateAssets=all)
as the EF design-time host still requires it in the startup project
- Game/AddGameRulesAndCustomLobby: emptied Up/Down — migration was generated
with a stale snapshot duplicating InitialCreate tables; actual GameRuleSet
and CustomLobby schema is in AddBoardDimensions
- deploy/database-migrations.md: documents how to apply/add migrations
against any environment; records pg-forge-01 state as of 2026-02-27
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
Replace custom HttpCdnClient (proprietary upload API) with S3CdnClient
backed by AWSSDK.S3 using ForcePathStyle for Ceph RadosGW compatibility.
CdnOptions gains EndpointUrl/AccessKey/SecretKey/BucketName; removes
UploadBaseUrl/ApiKey. K8s deployments and secrets template updated to
match new config keys.
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
- REGISTRY: harbor.aeternalisgames.com → registry.aeternalisgames.com
- Host image: sor-host → sor-server (sor-admin unchanged)
- Remove stale TODO comments from k8s manifests
- Update harbor-pull-secret template with new registry hostname
- Update gameplay-effects-gap.md and gameplay-todo.md to reflect
completed implementation work
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>