Docker web stage omits pnpm-workspace.yaml; image build broken #176
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub#176
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Docker web stage omits pnpm-workspace.yaml: image build broken by release-age policy
docker buildfails atpnpm install --frozen-lockfile:ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATIONfordompurify@3.4.15(published today, within the cutoff).Root cause:
Dockerfileweb stageCOPYs onlyweb/package.json+web/pnpm-lock.yamlbefore install — notweb/pnpm-workspace.yaml, which carries bothallowBuilds: {esbuild: true}and theminimumReleaseAgeExclude: [dompurify@3.4.15]added in #174. The dev workspace passes; the image build doesn't.Fix
COPY web/pnpm-workspace.yaml ./alongside package.json/lock in the Dockerfile web stage (before install). Verifydocker buildgoes green end to end.Acceptance criteria
docker build .succeeds from a clean tree (web stage installs + builds, Go embeds dist).go vet/tests unaffected.Fixed by #177 (branch fix/issue-176): the Dockerfile web stage now COPYs web/pnpm-workspace.yaml alongside package.json/lock before install. Full docker build verified green end to end (web install + vite/SDK build, Go embed of dist → walhub:fix176).
Review of PR #177 (fix/issue-176):
3a41644): GREEN end to end, verified twice — cached build exported walhub:fix176-review, then full --no-cache rebuild exported cleanly. Uncached log: pnpm install 'Verifying lockfile against supply-chain policies (163 entries)... Lockfile passes supply-chain policies', vite build (123 modules) + esbuild SDK bundle (dist/repos.js 27.8kb), dist/index.html + dist/repos.js checks pass, Go static build + runtime image export OK. Scratch worktree and review images removed afterward.Main worktree left untouched (main @
6810964; only pre-existing untracked .opencode/).MERGE RECOMMENDATION: ready to merge.
Fixed by PR #177 (review: one-line COPY verified + full --no-cache docker build green), merged. Closing.