🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore(ci): remove pnpm --legacy handling (#16874)
Nimar3d9a596b6bd9
diff --git a/worker/Dockerfile b/worker/Dockerfileindex 647330ffc6..d6dd6c5dfe 100644--- a/worker/Dockerfile+++ b/worker/Dockerfile@@ -62,8 +62,8 @@ FROM --platform=${TARGETPLATFORM:-linux/amd64} builder AS prod-deps# we only need the prod + generated prisma client plus .prisma artifacts# @langfuse/shared still pulls in next-auth transitively, so keep the deploy output# intact here instead of pruning node_modules in Docker.-# Keep legacy deploy until the worker Docker image is verified with pnpm's default deploy implementation.-RUN pnpm --filter worker deploy --legacy --prod /prod/worker && \+# Scope workspace injection to deploy so regular workspace installs keep source-link semantics.+RUN pnpm --config.inject-workspace-packages=true --filter worker deploy --prod /prod/worker && \builder_prisma_client_dir="$(find /app/node_modules/.pnpm -path '*/node_modules/@prisma/client' -type d | head -n 1)" && \deployed_prisma_client_dir="$(find /prod/worker/node_modules/.pnpm -path '*/node_modules/@prisma/client' -type d | head -n 1)" && \builder_prisma_runtime_dir="$(dirname "$(dirname "$builder_prisma_client_dir")")/.prisma" && \