Skip to content

Enforce singleton Cloudflare acceptance Worker - #309

Open
burakdede wants to merge 2 commits into
mainfrom
chore/308-cloudflare-ci-cleanup
Open

Enforce singleton Cloudflare acceptance Worker#309
burakdede wants to merge 2 commits into
mainfrom
chore/308-cloudflare-ci-cleanup

Conversation

@burakdede

Copy link
Copy Markdown
Owner

Summary

  • enforce a singleton Cloudflare acceptance Worker named from LORE_CF_TEST_PREFIX
  • serialize the Cloudflare acceptance GitHub Actions job
  • pre-clean stale prefixed CI Workers, D1 catalog databases and R2 buckets before provisioning
  • document the single Worker policy and safe cleanup scope

Closes #308.

Verification

  • mise exec -- pnpm --filter @lorepack/acceptance build
  • mise exec -- pnpm --filter @lorepack/acceptance test -- test/cloudflare-smoke.test.ts test/cloudflare-testing.test.ts
  • mise exec -- pnpm typecheck
  • mise exec -- pnpm lint
  • mise exec -- pnpm format:check
  • mise exec -- pnpm check:no-em-dash
  • git diff --check

Local live Cloudflare cleanup was not run because CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID and LORE_CF_TEST_PREFIX are not present in this shell. The credentialed CI lane should perform the stale prefixed cleanup with repository secrets.

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.

Clean up Cloudflare CI resources and enforce single test Worker

1 participant