Commit Graph

9 Commits

Author SHA1 Message Date
Matt Kane
d6cfc437f2 fix: migration 033 idempotency & smoke test cleanup (#365)
* fix(core): add IF NOT EXISTS to migration 033 index creation

The schema registry's createContentTable() creates composite indexes
on content tables at creation time. When migration 033 runs on a
database where tables were created after the registry added these
indexes, it fails with "index already exists". Adding IF NOT EXISTS
makes the migration idempotent.

* refactor(smoke): trim site matrix to templates + playground, remove typechecks

The smoke test matrix included every demo and template, plus typecheck
cases. This was slow and redundant — typechecks are already covered by
pnpm typecheck, and demos are dev targets not release artifacts.

Trim to templates + playground only, and replace the sequential per-site
astro build with a single recursive pnpm build. Remove the TypecheckSiteCase
type and handling since smoke tests should only verify runtime behavior.

* Update env

* chore: add changeset for migration 033 fix
2026-04-07 22:00:54 +00:00
Matt Kane
53329df155 Format 2026-04-01 16:16:45 +01:00
Matt Kane
78019103e0 Fix wrangler.jsonc 2026-04-01 16:12:02 +01:00
github-actions[bot]
144d7e488a ci: release 2026-04-01 13:28:55 +00:00
github-actions[bot]
be76e0781e ci: release 2026-04-01 12:07:38 +00:00
Matt Kane
086647bff4 fix: use placeholder database_id in templates for local dev
Miniflare asserts database_id is truthy. An empty string crashes
on startup. Use 'local' as a placeholder -- miniflare doesn't
validate it for local dev, and the comment tells users to replace
it with a real ID for deploy.
2026-04-01 12:39:34 +01:00
Matt Kane
ca3c2b77e1 Format 2026-04-01 11:51:57 +01:00
Matt Kane
2e863566b3 Fix scope 2026-04-01 10:58:32 +01:00
Matt Kane
43fcb9a131 first commit 2026-04-01 10:44:22 +01:00