Skip to content

ci: land the Worker config and runtime tests that missed the merge - #29

Merged
dyascj merged 1 commit into
mainfrom
fix/land-worker-config
Jul 31, 2026
Merged

ci: land the Worker config and runtime tests that missed the merge#29
dyascj merged 1 commit into
mainfrom
fix/land-worker-config

Conversation

@dyascj

@dyascj dyascj commented Jul 31, 2026

Copy link
Copy Markdown
Owner

PR #28 merged a stale head, so three things never landed: the prettier fix that was failing CI, the custom domain routes in wrangler.jsonc, and the CI job that runs the e2e suite against workerd.

That left main describing a Worker configuration that does not match what is actually deployed, which is the part worth correcting.

The new CI job runs the same Playwright suite against workerd rather than the Vite dev server, and fails if wrangler reports a missing Node builtin. Both bugs found during the migration were invisible to the existing job: nodejs_compat throws at runtime rather than at build, and a prerendered feed served the wrong content type. The guard is verified by removing the flag and confirming the job fails, so it is not a check that can only pass.

npm run check exits 0 and the build is clean.

Commits the custom domain routes and workers_dev fallback that the cutover
added, so the deployed configuration lives in git rather than only on
Cloudflare.

Adds a second CI job that runs the e2e suite against workerd instead of the
Vite dev server, and fails the build if wrangler reports a missing Node
builtin. Both bugs that surfaced during the migration were invisible to the
existing job: the nodejs_compat flag throws at runtime rather than at build,
and a prerendered feed served the wrong content type. The old suite passed
green through both.

The nodejs_compat guard is verified by removing the flag and confirming the
job fails, so it is not a check that can only pass.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 31, 2026

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 Preview URL Updated (UTC)
✅ Deployment successful!
View logs
cjdyas-design 87fff7b Commit Preview URL

Branch Preview URL
Jul 31 2026, 05:48 PM

@dyascj
dyascj merged commit 7d2ba8c into main Jul 31, 2026
3 checks passed
@dyascj
dyascj deleted the fix/land-worker-config branch July 31, 2026 17:52
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.

1 participant