fix(gro-1889): bake pnpm into reset stage to avoid runtime DNS #97

Merged
Flea Flicker merged 1 commits from fix/gro-1889-reset-demo-data-pnpm into dev 2026-05-28 22:31:18 +00:00
Member

Summary

  • Adds corepack enable + corepack prepare pnpm@9.15.4 --activate to the reset Dockerfile stage
  • Resolves getaddrinfo EAI_AGAIN registry.npmjs.org failures when cluster DNS is flaky

Root cause

The reset stage inherited from builder had corepack but pnpm was not pre-activated — corepack was still trying to phone home to registry.npmjs.org at runtime.

Fix

Baking pnpm activation into the reset stage so it does not depend on runtime DNS lookups.

🤖 Generated with Claude Code

## Summary - Adds corepack enable + corepack prepare pnpm@9.15.4 --activate to the reset Dockerfile stage - Resolves getaddrinfo EAI_AGAIN registry.npmjs.org failures when cluster DNS is flaky ## Root cause The reset stage inherited from builder had corepack but pnpm was not pre-activated — corepack was still trying to phone home to registry.npmjs.org at runtime. ## Fix Baking pnpm activation into the reset stage so it does not depend on runtime DNS lookups. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Flea Flicker added 1 commit 2026-05-28 22:30:00 +00:00
The reset CronJob fails with `getaddrinfo EAI_AGAIN registry.npmjs.org`
when cluster DNS is flaky, because the reset stage uses corepack to
download pnpm at runtime instead of having it baked into the image.

This change adds `corepack enable && corepack prepare pnpm@9.15.4 --activate`
to the reset Dockerfile stage so pnpm is pre-installed at build time.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Flea Flicker merged commit 543d9560ec into dev 2026-05-28 22:31:18 +00:00
Sign in to join this conversation.