-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stuck game on prod site #2967
Comments
According to the database, the game is in state 46, aka |
The matchup is Boot2daHead ( |
According to the action log, the last thing that happened was a skill attack in which The attack was fire-assisted by That should all be fine. We've played lots of replay games with Boot2daHead over time; i guess it's possible that none of those games has ever tried a fire-assisted attack where both turbo dice participate in the attack, but that strikes me as unlikely. Hmm. What is this though:
I don't know much about how this cache is used, but that first row doesn't look good. |
Okay, i got it. I reproduced this in https://2928-mysql-80.cgolubi1.dev.buttonweavers.com/ui/game.html?game=262 --- it looks like when you enter turbo values during an attack that needs firing, those values aren't checked against the valid bounds. So i typed V=127 into the turbo box, submitted the skill attack, turned down fire dice, and here we are. (I can do that again and get screencaps if it's not completely obvious what i'm talking about, but hopefully it is.) That's the bug: the skill attack should have been rejected because the turbo selections submitted with that attack were invalid. Never mind that they're going into the cache and not being applied immediately, they should have been checked and rejected. |
It looks like unsticking the game may not be trivial:
But the game is still stuck as before, because nothing tells it to retry applying those turbo values. |
At this point it would be good if you could delete the game. I can’t use the Next Game function while it’s still around. Thanks! |
Sorry about that, randomlife! Let me snag this; i should be able to test and execute a quick database change to move the game to BROKEN this evening. |
Okay, so i reproduced the broken state on staging, and then set the game's status_id to
|
Now i can browse to the game directly - https://staging.buttonweavers.com/ui/game.html?game=530 - and it says "can't figure out what action to take next", but it no longer shows up on my active games tab, and the "Next pending game" tab works again. |
Same thing on prod:
randomlife, that should unblock you from using your "Next game" button. And we can always move the game back out of |
I put up a PR to fix the root cause. That doesn't unstick this particular game, and i don't think i have the cycles or a brilliant idea about how to easily do that, so i'm going to unassign this from myself. |
https://www.buttonweavers.com/ui/game.html?game=103527 shows: "Can't figure out what action to take next"
The text was updated successfully, but these errors were encountered: