Das Löschen eines Branches ist permanent. Es KANN NICHT rückgängig gemacht werden. Fortfahren?
feat/score-persistence nach main vor 1 Monat zusammengeführt
Das Löschen eines Branches ist permanent. Es KANN NICHT rückgängig gemacht werden. Fortfahren?
Summary
pidcookie (365 d, HttpOnly, SameSite=Strict) for persistent player identity alongside the existing 24 hsidsession cookieplayers(idempotent). On round end, a transaction inserts intogamesand updates aggregates:best_attempts(wins only), streaks,last_played_atbest_attempts ASC, tie-broken by earliestlast_played_at; identifiers truncated to 8 chars; current player row highlightedInfrastructure changes
package.json(pg ^8.13.3,"type":"module") and committedpackage-lock.jsonDockerfilenow copiespackage.json+ lockfile and runsnpm ci --omit=devbefore copyingserver.mjsdocker-compose.ymlforwards all provisionedTXT_GAME_DB_*env vars into the container and joins thepostgres_postgresnetwork for container-to-container postgres accessmodule.ymlversion unchanged (builder owns versioning)Test plan
docker_restarton ace → reload same incognito window → values unchanged (DB persistence verified)Task: d1c49d59-57bd-4eba-9e22-f25a04157ad4 Blocked by (completed): 3dab55e3-9792-47a0-a4a6-ba7757517314 (schema + provisioning)
8c3c95916dzusammengeführt.