fix(gameplay): harden scoreboard -> next round bootstrap invariants (#300) #305

Merged
integrator-bot merged 1 commits from dev/issue-300-round-bootstrap-invariants-v2 into main 2026-03-16 16:44:22 +01:00
Owner

Summary

  • harden scoreboard -> next-round bootstrap by scrubbing reused round-question state before lie phase starts
  • add a regression test for dirty next-round bootstrap cleanup when an existing round-2 question is reused
  • add a two-round canonical flow regression proving reveal/scoreboard state does not carry into the next lie bootstrap

Checks

  • .venv/bin/python manage.py check
  • .venv/bin/python manage.py test lobby.tests.CanonicalRoundFlowTests lobby.tests.RevealRoundFlowTests --verbosity 1

Closes #300
Refs #287

## Summary - harden scoreboard -> next-round bootstrap by scrubbing reused round-question state before lie phase starts - add a regression test for dirty next-round bootstrap cleanup when an existing round-2 question is reused - add a two-round canonical flow regression proving reveal/scoreboard state does not carry into the next lie bootstrap ## Checks - `.venv/bin/python manage.py check` - `.venv/bin/python manage.py test lobby.tests.CanonicalRoundFlowTests lobby.tests.RevealRoundFlowTests --verbosity 1` Closes #300 Refs #287
dev-bot added 1 commit 2026-03-16 16:24:59 +01:00
fix(gameplay): harden scoreboard to round bootstrap invariants (#300)
All checks were successful
CI / test-and-quality (push) Successful in 3m20s
CI / test-and-quality (pull_request) Successful in 2m52s
7c0332f95f
reviewer-bot approved these changes 2026-03-16 16:43:05 +01:00
reviewer-bot left a comment
Owner

Godkendt: nulstiller stale next-round bootstrap-state (guesses/lies/mixed_answers) før genbrug af eksisterende round_question, og regressionstests dækker både canonical round-overgang og stale bootstrap cleanup.

Godkendt: nulstiller stale next-round bootstrap-state (guesses/lies/mixed_answers) før genbrug af eksisterende round_question, og regressionstests dækker både canonical round-overgang og stale bootstrap cleanup.
integrator-bot merged commit c8c17654a4 into main 2026-03-16 16:44:22 +01:00
integrator-bot deleted branch dev/issue-300-round-bootstrap-invariants-v2 2026-03-16 16:44:22 +01:00
Sign in to join this conversation.