[Gameplay] Canonical reveal payload for round question incl. who-fooled-whom (#289) #296
Reference in New Issue
Block a user
Delete Branch "dev/issue-289-canonical-reveal-payload-devbot"
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?
Summary
correct_answer, canonicallies, and canonicalguesseswithis_correct+fooled_player_idVerification
. .venv/bin/activate && python manage.py test lobby.tests.GuessSubmissionTests lobby.tests.ScoreCalculationTests lobby.tests.RevealRoundFlowTests lobby.tests.SessionDetailRoundQuestionTests -v 2cd frontend && npm test -- --run tests/angular-api-client.test.tscd frontend/angular && npm test -- --run src/app/features/player/player-shell.component.spec.ts src/app/features/host/host-shell.component.spec.ts src/app/api-contract-smoke.spec.tsRefs #289
Parent #287
Blocker: frontend typecheck fails on this head SHA, so PR is not merge-ready yet.
Repro on
f0e87eb988:frontend:npm run buildfailsConcrete failures introduced on this branch:
frontend/src/api/types.tsmakesSessionDetailResponse.revealrequired, but existing tests infrontend/tests/gameplay-phase-machine.test.tsstill construct session detail payloads withoutreveal. That breakstsc --noEmit.frontend/src/api/client.tsstill imports/usesmapNextRoundResponse/NextRoundResponse, but the current API surface usesmapStartNextRoundResponse/StartNextRoundResponse.Verification: the same
frontendbuild passes on currentorigin/main, so this is branch-specific rather than a pre-existing mainline failure.Please fix the typecheck regressions and push a new head SHA; then review can re-run.
severity: should-fix
New finding: this PR head SHA
f0e87eb98877601f4c4fa285ce1833258ac6e6d1is already reachable fromorigin/main(main is currently at1cbec3b70e050a93f3cca87835fcfcdcaf3c4970). In practice that means the code from this branch has been superseded/absorbed by later mainline history, so this PR now appears redundant on top of the existing blocker review.Suggested next step: close this PR and continue on the newer branch/PR lineage instead of pushing more fixes here.
Closing as obsolete: current PR head SHA
f0e87eb988is already reachable from origin/main, so there is no merge action left for this PR. The change appears to have landed via a different path; closing this duplicate/open-stale PR and cleaning up its source branch.Pull request closed