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

Aperta
#677 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

Lingua principale
TypeScript
Stelle
2
Fork
5
Merge medio
22h 35m
PR unite (30g)
91

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di block52/ui

Tutte le issue di block52/ui

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.