You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve 9 infrastructure bugs from stability audit
Shell Scripts:
- dream-restore.sh: Replace hardcoded config list with dynamic glob for
compose overlays (.base.yml, .nvidia.yml, etc.) (Light-Heart-Labs#4)
- dream-update.sh: Use resolve-compose-stack.sh for container restart
instead of hardcoded docker-compose.yml (Light-Heart-Labs#7)
- dream-update.sh: Enable dotglob in rollback to restore hidden files
like .env and .version (Light-Heart-Labs#6)
- dream-backup.sh: Include .tar.gz archives in retention/list queries
to prevent infinite disk accumulation (Light-Heart-Labs#9)
- dream-backup.sh: Dynamic glob for config backup (compose overlays)
Token Spy:
- compose.yaml: Add persistent volume mount for data/ directory to
prevent SQLite data loss on container restart (#2)
- main.py: Offload blocking SSH subprocess to thread pool via
asyncio.to_thread() to prevent event loop deadlock (#3)
- main.py: Add finally blocks in streaming generators to guarantee
billing metrics are logged on asyncio.CancelledError (Light-Heart-Labs#8)
- db_postgres.py: Add conn.rollback() on failed SQL to prevent
connection pool poisoning (Light-Heart-Labs#10)
Installer:
- detection.sh: Run systemd auto-resume service as root instead of
$USER to prevent sudo password hang and permission errors (Light-Heart-Labs#11)
0 commit comments