mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1450] [CLOSED] game: ignore blank turn sends #5091
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5091
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1450
Author: @Promansis
Created: 5/28/2026
Status: ❌ Closed
Base:
refactor← Head:fix/issue-1449📝 Commits (1)
8767791game: ignore blank turn sends📊 Changes
4 files changed (+99 additions, -2 deletions)
View changed files
📝
src/engine/generation/start-generation.ts(+1 -1)➕
src/engine/modes/game/turn/game-turn.service.test.ts(+86 -0)📝
src/engine/modes/game/turn/game-turn.service.ts(+11 -1)📝
src/features/modes/game/components/GameSurface.tsx(+1 -0)📄 Description
Linked issue
Closes #1449
Why this change
Whitespace-only input in Game mode could reach the Game turn generation path and create persisted messages instead of behaving like an empty send.
What changed
Refactor impact
Primary owner:
Game mode / game turn engine.
Impact areas reviewed:
Boundary notes:
Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm test -- src/engine/modes/game/turn/game-turn.service.test.ts; Vitest completed with 44 files / 267 tests passing under repo config.graphify update .after code changes.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs changes needed for this narrow bug fix; repo guidance unchanged.
UI evidence
No screenshots or recordings attached. Unit coverage proves the core no-persist/no-model path for explicit whitespace-only Game turns.
Summary by CodeRabbit
Release Notes
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.