[GH-ISSUE #91] [Issue]: Turn-game boards stop refreshing after AI moves #46

Closed
opened 2026-10-20 17:23:48 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/91

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Downloaded turn-game boards can remain on the AI thinking state after the bot move completes because their live state query is disabled once the board has hydrated.

Affected package

UNO (uno), Chess (chess), Poker (poker), 8-Ball Pool (eightball), Tic-Tac-Toe (tic-tac-toe), and Rock-Paper-Scissors (rock-paper-scissors) share the affected client pattern. The user report specifically reproduces it in Tic-Tac-Toe, 8-Ball Pool, and UNO.

Expected behavior

After an Engine turn_game_state_patch event, the active package board should refresh to the AI-confirmed state and return control to the human when appropriate.

Actual behavior

The package event bridge invalidates the turn-game query, but each hydrated board disables that query. Disabled queries do not refetch, so the visible package store can remain on the pre-bot snapshot and show the opponent as thinking indefinitely.

Steps to reproduce

  1. Install one of the affected turn-game packages in Marinara Engine 2.3.3.
  2. Start the game in Conversation mode.
  3. Complete a human turn that hands control to an AI character.
  4. Observe that the server-side bot request can finish while the package board remains on the AI thinking state.

Environment

  • Marinara Engine version: 2.3.3
  • Package version: 1.0.1
  • Install type: Not provided
  • OS + version: Windows 11 in the original report
  • Browser or app shell: Not provided

Logs, screenshots, or video

Original report and screenshot: https://github.com/Pasta-Devs/Marinara-Engine/issues/3802

Additional context

This is package-owned client runtime behavior, so the implementation belongs in Marinara-Agents. The Engine event includes the package ID and state patch correctly.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/91 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Downloaded turn-game boards can remain on the AI thinking state after the bot move completes because their live state query is disabled once the board has hydrated. ## Affected package UNO (`uno`), Chess (`chess`), Poker (`poker`), 8-Ball Pool (`eightball`), Tic-Tac-Toe (`tic-tac-toe`), and Rock-Paper-Scissors (`rock-paper-scissors`) share the affected client pattern. The user report specifically reproduces it in Tic-Tac-Toe, 8-Ball Pool, and UNO. ## Expected behavior After an Engine `turn_game_state_patch` event, the active package board should refresh to the AI-confirmed state and return control to the human when appropriate. ## Actual behavior The package event bridge invalidates the turn-game query, but each hydrated board disables that query. Disabled queries do not refetch, so the visible package store can remain on the pre-bot snapshot and show the opponent as thinking indefinitely. ## Steps to reproduce 1. Install one of the affected turn-game packages in Marinara Engine 2.3.3. 2. Start the game in Conversation mode. 3. Complete a human turn that hands control to an AI character. 4. Observe that the server-side bot request can finish while the package board remains on the AI thinking state. ## Environment - Marinara Engine version: 2.3.3 - Package version: 1.0.1 - Install type: Not provided - OS + version: Windows 11 in the original report - Browser or app shell: Not provided ## Logs, screenshots, or video Original report and screenshot: https://github.com/Pasta-Devs/Marinara-Engine/issues/3802 ## Additional context This is package-owned client runtime behavior, so the implementation belongs in Marinara-Agents. The Engine event includes the package ID and state patch correctly. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:23:48 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jul 19, 2026):

Claimed in draft PR #92. The fix keeps each turn-game state query active so existing package SSE invalidations refetch and hydrate bot moves across all six downloadable turn-game boards.

<!-- gh-comment-id:5014927560 --> @SpicyMarinara commented on GitHub (Jul 19, 2026): Claimed in draft PR #92. The fix keeps each turn-game state query active so existing package SSE invalidations refetch and hydrate bot moves across all six downloadable turn-game boards.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 19, 2026):

Addressed in #92. All six turn-game boards now keep their React Query observers active so package server-event invalidations refresh the board after bot moves. The 1.0.3 package bundles, artifacts, and catalog lanes were rebuilt; local catalog/lane validation and all PR checks pass.

<!-- gh-comment-id:5015037929 --> @SpicyMarinara commented on GitHub (Jul 19, 2026): Addressed in #92. All six turn-game boards now keep their React Query observers active so package server-event invalidations refresh the board after bot moves. The 1.0.3 package bundles, artifacts, and catalog lanes were rebuilt; local catalog/lane validation and all PR checks pass.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#46
No description provided.