fix(docker): COPY patches/ into deps stage for pnpm patchedDependencies #283
No reviewers
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol!283
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "282-dockerfile-patches-copy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
pnpm.patchedDependenciespointing atpatches/@react-native__gradle-plugin@0.85.3.patch, but theDockerfiledeps stage doesn't copy thepatches/directory before runningpnpm install --frozen-lockfile. Result: every docker build fails withENOENT: no such file or directory, open '/repo/patches/@react-native__gradle-plugin@0.85.3.patch'.release.yml(run #710), thepr.ymlTrivy (image)job (run #705 job 10), andbuild-feature-image.yml— all three workflows dodocker buildagainst the root Dockerfile.COPY patches/ patches/after the lockfile copy, beforepnpm install. One line.Test plan
docker build --target deps -t carol-deps-test .succeeds locally —pnpm installcompletes and the patched@react-native/gradle-pluginis in the resolved tree.release.ymlsucceeds on merge (the real validation surface).pr.ymlTrivy (image)job succeeds on this PR.Closes #282.
🤖 Generated with Claude Code
📊 Test coverage
Patch coverage: no testable lines changed.
Overall (
app/,lib/,db/, excluding UI per ADR-0019):Soft thresholds per ADR-0019. Coverage is informational and does not block merge.