bug(ui): table view goes back a hand (Hand #9 → #8) and offers a blind the chain rejects as 'not your turn'

Abierto
#677 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
frontend

Línea de trabajo

Trace the table state handling and the WebSocket/REST update path described in the report, starting where hand and turn data are applied to the UI. Reproduce the 8 → 9 → 8 transition with the provided table context, then verify that older hand or sequence updates are discarded and cannot render an invalid blind or action button.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug game-flow sit-and-go

What happened

Seat 1's page had already shown Hand #9 · Next: Seat 2. It then went back to Hand #8 · Next: Seat 1 and showed a Post Small Blind 25 button. Pressing it was rejected by the chain:

Your small-blind was rejected by the chain: failed to execute message; message index: 0: not your turn: seat 2 (b521ntxx…) should act, not b521dnsp… (seat 1)

So the UI drew an older game state over a newer one and offered an action that wasn't legal.

09:51:30 — Hand #9, Next: Seat 2 09:51:31 — back to Hand #8, Next: Seat 1 Post SB → rejected

Expected

The hand number never goes backwards on screen. A state for an older hand (or older sequence) that arrives after a newer one gets thrown away, and no blind or action button is shown from it.

Context

Table 0x7a7402aff265a287bc63df228a2c2d27d72f4ce8bfd566dbe5891a48cdc9d9ad (9d9ad), app.block52.xyz, 4-player $1 Sit & Go, 23 Sep 2026 ~09:45–09:55 AEST. Three seats driven by Playwright in separate Chromium profiles at 480×900, one human seat.
Our screenshot log saw the hand change 8 → 9 → 8 → 9 within about 3 seconds on seat 1 only. This looks like an out-of-order WebSocket/REST update being applied without comparing hand number or sequence. Possibly related: #655 (blinds needing manual posts) and #661. Not a duplicate of #645 (that one is about the submit queue).

Lenguaje dominante
TypeScript
Estrellas
2
Forks
5
Merge medio
22 h 3 min
PR fusionados (30 d)
103

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de block52/ui

Todos los issues de block52/ui

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.