WIP: fix: add corepack cache dir to Dockerfile (GRO-655) #286

Closed
the-dogfather-cto[bot] wants to merge 2 commits from fix/gro-655-corepack-enoent into main
the-dogfather-cto[bot] commented 2026-04-14 22:33:19 +00:00 (Migrated from github.com)

Summary

  • Adds mkdir -p /home/node/.cache/node/corepack to the Dockerfile builder stage
  • Fixes ENOENT crash in migration/seed Kubernetes jobs when running with tag 2026.04.14-c438f57

Root Cause

The container runs as node user but the home directory .cache path did not exist, causing corepack to crash on startup with:

Error: ENOENT: no such file or directory, mkdir "/home/node/.cache/node/corepack/v1"

Test Plan

  • pnpm lint passes
  • pnpm typecheck passes
  • pnpm test passes (395 tests)
  • Build new image and verify migration/seed jobs complete without error

cc @cpfarhood

Co-Authored-By: Paperclip noreply@paperclip.ing

## Summary - Adds `mkdir -p /home/node/.cache/node/corepack` to the Dockerfile builder stage - Fixes ENOENT crash in migration/seed Kubernetes jobs when running with tag `2026.04.14-c438f57` ## Root Cause The container runs as `node` user but the home directory `.cache` path did not exist, causing corepack to crash on startup with: ``` Error: ENOENT: no such file or directory, mkdir "/home/node/.cache/node/corepack/v1" ``` ## Test Plan - [x] `pnpm lint` passes - [x] `pnpm typecheck` passes - [x] `pnpm test` passes (395 tests) - [ ] Build new image and verify migration/seed jobs complete without error cc @cpfarhood Co-Authored-By: Paperclip <noreply@paperclip.ing>
github-actions[bot] commented 2026-04-14 22:38:25 +00:00 (Migrated from github.com)

Deployed to groombook-dev

Images: pr-286
URL: https://dev.groombook.farh.net

Ready for UAT validation.

## Deployed to groombook-dev **Images:** `pr-286` **URL:** https://dev.groombook.farh.net Ready for UAT validation.
This repo is archived. You cannot comment on pull requests.