Skip to content

ci: harden verification and deployment workflows - #2

Merged
KnowSky404 merged 8 commits into
mainfrom
ci/harden-cloudflare-pipeline-20260828
Aug 28, 2026
Merged

KnowSky404 merged 8 commits into
mainfrom
ci/harden-cloudflare-pipeline-20260828

Conversation

@KnowSky404

Copy link
Copy Markdown
Owner

Summary

  • reorder CI so unit, type, lint, build, Cloudflare integration, and deployment dry-run gates fail before Chromium installation
  • validate the generated Cloudflare Worker bundle with wrangler deploy --dry-run
  • run Playwright against wrangler dev --local so browser tests exercise the built Worker, Durable Object export, migration, bindings, and Workers Assets configuration
  • retain Playwright traces, screenshots, videos, and reports for failed runs
  • add a manual, main-only, production-environment-gated deployment workflow using Wrangler strict mode
  • document the 2026-08-24 Worker type drift failure and the required GitHub/Cloudflare configuration
  • add source-level regression tests for the CI/CD invariants

Historical failure confirmed

Formal CI run #5 passed unit tests but failed bun run check because check:worker-types detected a stale generated declaration. The checked-in type file still contained the obsolete Cloudflare.GlobalProps.durableNamespaces member after Wrangler stopped generating it. The current main line already contains the regenerated declaration; this PR keeps that check early and makes the failure mode explicit.

Verification

The PR workflow must pass:

  • bun test
  • bun run check
  • bun run lint
  • bun run build
  • bun run test:cf
  • Wrangler deployment dry-run
  • bun run test:e2e

No production deployment, Cloudflare secret mutation, or real Gist write is performed by this PR.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 28, 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 Updated (UTC)
✅ Deployment successful!
View logs
subman 59755e4 Aug 28 2026, 07:02 AM

@KnowSky404
KnowSky404 merged commit e9f01df into main Aug 28, 2026
2 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.

1 participant