R1: schema & naming reset — squash migrations, rename variants #31

Merged
developer merged 1 commits from feature/r1-schema-naming-reset into development 2026-06-09 14:09:31 +00:00
Owner

R1 — Schema & naming reset (pre-release, before Stage 18)

First phase of PRERELEASE.md. Closes raw TODOs 1 (squash migrations) and the
scrabble-game half of 10 (variant rename); the scrabble-dictionary tidy ships
as its own PR.

What changed

  • Migrations squashed 12 → one hand-written 00001_baseline.sql (no prod data).
  • Variant labels english/russian_scrabble/eruditscrabble_en/scrabble_ru/erudit_ru
    across backend (engine.Variant.String/ParseVariant, the games/game_invitations
    CHECK, GCG #lexicon, the variant metric attribute), the FlatBuffers wire values
    (the field is a string — no FB regen) and the UI.
  • Kept: dawg filenames (en_sowpods/…), the Go enum identifiers, the i18n display keys.
  • Docs/READMEs/migrate.go updated; adds PRERELEASE.md linked from CLAUDE.md.

Verification (local)

  • gofmt/vet/build clean; backend + gateway unit tests green.
  • UI: pnpm check 0 errors, 127 unit tests, build in budget.
  • Schema diff chain vs baseline: identical but for the two intended variant-CHECK values.
  • Integration suite green (baseline applies via goose; renamed labels round-trip on a live DB).

Follow-up

  • After merge: drop the contour postgres-data volume so the next deploy provisions a
    clean DB on the new baseline (the old CHECK still lists the old labels).
## R1 — Schema & naming reset (pre-release, before Stage 18) First phase of `PRERELEASE.md`. Closes raw TODOs 1 (squash migrations) and the scrabble-game half of 10 (variant rename); the `scrabble-dictionary` tidy ships as its own PR. ### What changed - **Migrations squashed** 12 → one hand-written `00001_baseline.sql` (no prod data). - **Variant labels** `english`/`russian_scrabble`/`erudit` → **`scrabble_en`/`scrabble_ru`/`erudit_ru`** across backend (`engine.Variant.String`/`ParseVariant`, the `games`/`game_invitations` CHECK, GCG `#lexicon`, the `variant` metric attribute), the FlatBuffers wire **values** (the field is a `string` — no FB regen) and the UI. - **Kept:** dawg filenames (`en_sowpods`/…), the Go enum identifiers, the i18n display keys. - Docs/READMEs/`migrate.go` updated; adds `PRERELEASE.md` linked from `CLAUDE.md`. ### Verification (local) - `gofmt`/`vet`/`build` clean; backend + gateway unit tests green. - UI: `pnpm check` 0 errors, 127 unit tests, `build` in budget. - **Schema diff** chain vs baseline: identical but for the two intended variant-CHECK values. - Integration suite green (baseline applies via goose; renamed labels round-trip on a live DB). ### Follow-up - After merge: drop the contour `postgres-data` volume so the next deploy provisions a clean DB on the new baseline (the old CHECK still lists the old labels).
developer added 1 commit 2026-06-09 10:11:00 +00:00
R1: schema & naming reset — squash migrations, rename variants
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Successful in 9s
CI / integration (pull_request) Successful in 11s
CI / ui (pull_request) Successful in 37s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m8s
26aa154547
Squash the 12 goose migrations into one 00001_baseline.sql (there is no prod
data; verified schema-identical to the chain via a pg_dump diff + the green
integration suite) and rename the game-variant labels
english/russian_scrabble/erudit -> scrabble_en/scrabble_ru/erudit_ru across the
backend, the FlatBuffers wire values and the UI.

dawg filenames and the Go enum identifiers are unchanged; the i18n display keys
are kept. Adds PRERELEASE.md (the R1-R7 pre-release tracker), linked from
CLAUDE.md. Contour DB wipe and the scrabble-dictionary tidy are follow-ups.
owner approved these changes 2026-06-09 14:07:42 +00:00
developer merged commit bf07f77078 into development 2026-06-09 14:09:31 +00:00
developer deleted branch feature/r1-schema-naming-reset 2026-06-09 14:09:31 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: developer/scrabble-game#31