The Puzzle set loaded on every stack #442
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#443 Solve a rated Puzzle: served near the Puzzle rating, Moves checked by the server
amaurycoudr/chess-project
Reference
amaurycoudr/chess-project#442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Parent
#440
What to build
Every stack holds the same set of Puzzles, loaded by one idempotent command.
db:puzzlescommand in the API that upserts the sample by Lichess id. Puzzles are product data, not demo data: it runs outside the devtools gate (ADR 0039), next to the migrations in every stack's deploy, and in the e2e stack.Lichess lines are stored as they are: the FEN is the position before the opponent's Move, and the line's first Move is the opponent's.
Seam: S1 (the API on in-process Postgres; the loader run first, as the demo seed test does). Covers stories 49-50 of #440.
Acceptance criteria
CONTRIBUTING.md, "The five commands").mentioned in issue #443
mentioned in issue #446
marked this issue as related to #440
marked this issue as related to #443
mentioned in issue #448
mentioned in merge request !554