Skip to content

fix(ci): record frontend zod in the lockfile - #31

Merged
stvlynn merged 1 commit into
mainfrom
cursor/fix-frontend-zod-lockfile-673d
Aug 30, 2026
Merged

fix(ci): record frontend zod in the lockfile#31
stvlynn merged 1 commit into
mainfrom
cursor/fix-frontend-zod-lockfile-673d

Conversation

@stvlynn

@stvlynn stvlynn commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Production never picked up the blog because Cloudflare Workers Builds (and GitHub Actions) both run pnpm install --frozen-lockfile. Commit 0b79d48 added zod as a direct frontend dependency (auto-install-peers=false requires it for source.config.ts), but the lockfile importer for frontend was not updated.

That failed CI in ~28s with ERR_PNPM_OUTDATED_LOCKFILE, so the Worker never built or deployed. /blog on dsh.fish stayed 404 while /docs kept serving.

This change:

  • Records zod@^4.4.3 under importers.frontend.dependencies so frozen install succeeds.
  • Updates two e2e assertions that the blog work left stale: header destination count is 4 (Browse, Docs, Blog, Submit), and the Bundles guide's first fence is the nested package.json shape while dsh.bundle.patch stays in the prose.

After merge, Workers Builds on main should install, build, and ship the blog.

Open in Web Open in Cursor 

The blog collection added zod to frontend/package.json without updating
pnpm-lock.yaml, so frozen-lockfile installs failed in CI and Workers Builds.

Co-authored-by: Steven Lynn <stvlynn@users.noreply.github.com>
@stvlynn
stvlynn marked this pull request as ready for review August 30, 2026 04:50
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
dsh-fish 151f697 Aug 30 2026, 04:52 AM

@stvlynn
stvlynn merged commit bde692b into main Aug 30, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants