nexus/cli/src
dotta 8093fbf09b Fix embedded Postgres initdb failure in Docker slim containers
The embedded-postgres library hardcodes --lc-messages=en_US.UTF-8 and
strips the parent process environment when spawning initdb/postgres.
In slim Docker images (e.g. node:20-bookworm-slim), the en_US.UTF-8
locale isn't installed, causing initdb to exit with code 1.

Two fixes applied:
1. Add --lc-messages=C to all initdbFlags arrays (overrides the
   library's hardcoded locale since our flags come after in the spread)
2. pnpm patch on embedded-postgres to preserve process.env in spawn
   calls, preventing loss of PATH, LD_LIBRARY_PATH, and other vars

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-24 08:03:04 -05:00
..
__tests__ Fix embedded Postgres initdb failure in Docker slim containers 2026-03-24 08:03:04 -05:00
adapters feat(adapters): add Gemini CLI local adapter support 2026-03-10 16:46:04 +00:00
checks fix: doctor command auto-creates directories and treats LLM as optional 2026-03-04 09:58:30 -06:00
client Improve CLI API connection errors 2026-03-24 07:04:26 -05:00
commands Fix embedded Postgres initdb failure in Docker slim containers 2026-03-24 08:03:04 -05:00
config Add browser-based board CLI auth flow 2026-03-23 08:46:05 -05:00
prompts feat(adapters): add Gemini CLI local adapter support 2026-03-10 16:46:04 +00:00
utils cli: update banner art and simplify onboard help text 2026-03-03 10:37:14 -06:00
index.ts Add browser-based board CLI auth flow 2026-03-23 08:46:05 -05:00