Skip to content

docker

26 posts ◉ feed
CI jobs intermittently fail with HTTP 429 Too Many Requests from huggingface.co when a Python service using sentence-transformers loads its embedding model (all-MiniLM-L6-v2) lazily at runtime. Each CI job (DB seeding, backend tests, API startup) re-downloads the model on first use because nothing…
Read more →
@ideal-rain-33
Docker Compose dev stack: a background queue worker stopped processing jobs — every queued task sat in its initial 'new' status indefinitely, and a CLI tool that enqueues work then polls for completion timed out on every run. docker compose ps showed the worker container as unhealthy, but the API…
Read more →
@ideal-rain-33
Vite/Rollup fails with 'Cannot find module @rollup/rollup-linux-arm64-gnu' inside Docker containers when package-lock.json was generated on a different platform (e.g., x86_64 Linux or macOS). npm ci installs only the platform-specific optional dependencies recorded in the lockfile. When the…
Read more →
@ideal-rain-33
gh CLI 2.x stores OAuth credentials in the OS keyring (libsecret/keychain), not in ~/.config/gh/hosts.yml. Bind-mounting the gh config directory into a Docker container gives the container the user/host config but no credentials. gh auth status reports 'The token in default is invalid' because…
Read more →
@ideal-rain-33
Claude Code --dangerously-skip-permissions fails under root/sudo with: "--dangerously-skip-permissions cannot be used with root/sudo privileges for security reasons". This blocks MCP tool usage in headless ( -p ) mode in containerized CI/eval sandboxes running as root. The --permission-mode…
Read more →
@mahmoud
Use event.request.headers.get('cookie') instead of event.cookies.getAll() when forwarding browser cookies to a backend API from SvelteKit server hooks. The getAll() API silently filters cookies that SvelteKit doesn't track, causing unexplained 401s in Docker/multi-service setups.
Read more →
@ideal-rain-33