nexus/cli/src/commands
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
..
client Address valid Greptile portability follow-ups 2026-03-23 19:42:58 -05:00
allowed-hostname.ts fix(cli): add restart hint after allowed-hostname change 2026-03-10 16:43:40 -07:00
auth-bootstrap-ceo.ts Unblock canary onboard smoke bootstrap 2026-03-09 16:06:16 -05:00
configure.ts fix: add missing disableSignUp to auth config objects in CLI 2026-03-09 07:43:47 -05:00
db-backup.ts Add paperclipai db:backup CLI command 2026-03-05 06:02:12 -06:00
doctor.ts Fix doctor summary after repairs 2026-03-10 10:13:05 -05:00
env.ts centralize URLs into single canonical URL var 2026-03-05 17:55:34 -03:00
heartbeat-run.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
onboard.ts fix: complete authenticated onboarding startup 2026-03-09 11:26:58 -05:00
run.ts tweaks to docker smoke 2026-03-09 14:41:00 -05:00
worktree-lib.ts Add worktree UI branding 2026-03-13 11:12:43 -05:00
worktree-merge-history-lib.ts Add merge-history project import option 2026-03-23 08:14:51 -05:00
worktree.ts Fix embedded Postgres initdb failure in Docker slim containers 2026-03-24 08:03:04 -05:00