fix: dev startup — Redis eviction policy, mana-media port crash, Svelte warnings

- Redis: allkeys-lru → noeviction to prevent silent data loss when memory full
- mana-media: --watch → --hot to fix EADDRINUSE crash on Bun HMR reload
- Svelte: build initial values before $state() to avoid state_referenced_locally warnings
  in create-app-onboarding.svelte.ts and shared-llm/store.svelte.ts

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-10 18:33:41 +02:00
parent a9956c0009
commit 3e81a6ebef
6 changed files with 25 additions and 26 deletions

View file

@ -31,7 +31,7 @@ services:
image: redis:7-alpine
container_name: mana-redis
restart: unless-stopped
command: redis-server --requirepass ${REDIS_PASSWORD:-devpassword} --maxmemory 256mb --maxmemory-policy allkeys-lru
command: redis-server --requirepass ${REDIS_PASSWORD:-devpassword} --maxmemory 256mb --maxmemory-policy noeviction
volumes:
- redis-data:/data
ports: