feat(admin): online dictionary update — upload archive, preview word diff, install & activate #53
Reference in New Issue
Block a user
Delete Branch "feature/dict-admin-online-upload"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Replaces the dictionary hot-reload with an online dictionary update in the GM console (
/_gm/dictionary):scrabble-dawg-vX.Y.Z.tar.gzrelease archive (downloaded from the scrabble-dictionary repo).BACKEND_DICT_DIR/<version>/, loaded, and made the active version. Versions are immutable; in-progress games keep their pinned version.Why
The old flow required dropping
.dawgfiles onto the host by hand — impossible in the contour (read-only baked dict, nonroot). It also had three disagreeing version values. This makes the console the single safe path and unifies versioning on the release tag.Key decisions (owner interview)
dictionary_statesingleton, restored on boot). Counts + ~200 sample in the preview. Seed staysv1.0.0(owner uploadsv1.1.0to validate live). Immutable versions.Notes for the contour
dictionary_statein the baseline) → the test contour DB needs a wipe (DROP SCHEMA backend CASCADE+ restart; goose re-migrates) per the usual pre-release practice.dawg-datavolume seeds from the image on first deploy.Tests