Skip to content

✨ feat(workers): add static-asset deployment baseline#12

Merged
zrr1999 merged 9 commits into
mainfrom
feat/workers-static-assets
May 16, 2026
Merged

✨ feat(workers): add static-asset deployment baseline#12
zrr1999 merged 9 commits into
mainfrom
feat/workers-static-assets

Conversation

@zrr1999

@zrr1999 zrr1999 commented May 6, 2026

Copy link
Copy Markdown
Member

Summary

  • add per-app Cloudflare Workers + Static Assets configs, Worker entrypoints, generated types, and deploy scripts/workflow
  • roll out the requested runtime font stack across www, docs, and blog using pinned CDN-hosted split font packages
  • replace blog OG font loading with deterministic package-based subsetting so image rendering no longer depends on host fonts

Validation

  • pnpm types
  • pnpm check
  • pnpm build
  • pnpm exec wrangler deploy --dry-run --config apps/www/wrangler.jsonc
  • pnpm exec wrangler deploy --dry-run --config apps/docs/wrangler.jsonc
  • pnpm exec wrangler deploy --dry-run --config apps/blog/wrangler.jsonc

Notes

  • remaining rollout work is Cloudflare-side: custom-domain bindings, secrets, and the first production deploy

@zrr1999 zrr1999 changed the title Add Cloudflare Workers static-asset deployment baseline ✨ feat(workers): add static-asset deployment baseline May 6, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f01b714210

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci-site-checks.yml Outdated
run: pnpm check

- name: Generate worker types
run: pnpm types

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Enforce worker type freshness instead of regenerating in CI

Replace this step with a non-mutating check (wrangler types --check) because pnpm types rewrites worker-configuration.d.ts and lets pull requests pass even when committed generated types are stale. In that scenario, drift is only caught later in .github/workflows/deploy-workers.yml at the Check worker types step, so a bad merge can block deployments on main instead of failing in PR validation.

Useful? React with 👍 / 👎.

zrr1999 and others added 8 commits May 16, 2026 21:58
Wire the three Astro apps to Cloudflare Workers + Static Assets, add deployment workflows and type generation, and roll out the requested runtime and OG font strategy.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Introduced a new DESIGN.md file detailing the Spore design system, including brand guidelines, color palettes, typography, and component specifications.
- Updated .gitignore to include worker-configuration.d.ts files to prevent tracking of generated types.
- Adjusted package.json and CI configurations to streamline type generation and checks.
- Changed the description in DESIGN.md to use quotes for better formatting and clarity.
@zrr1999
zrr1999 force-pushed the feat/workers-static-assets branch from fbaff36 to 2f49053 Compare May 16, 2026 13:58
@zrr1999
zrr1999 merged commit 19fa1f8 into main May 16, 2026
4 checks passed
@zrr1999
zrr1999 deleted the feat/workers-static-assets branch May 16, 2026 14:23
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