mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1631] [MERGED] Triage GameSurface hook dependency warnings #5163
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#5163
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/1631
Author: @Xelvanis
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Xelvanis
Base:
refactor← Head:chore/eslint-gamesurface-hooks-2026-05-30📝 Commits (2)
d539f3bTriage GameSurface hook dependency warningsb5af3beUse metadata patch helper in GameSurface persistence📊 Changes
1 file changed (+19 additions, -48 deletions)
View changed files
📝
src/features/modes/game/components/GameSurface.tsx(+19 -48)📄 Description
Linked issue
Part of #1619
Why this change
react-hooks/exhaustive-depswarnings inGameSurface, the broad game-mode pressure point intentionally left out of PR #1630.What changed
storageApi.patchChatMetadataso delayed callbacks patch the latest stored metadata instead of carrying a render-time fallback object.generateMap.isPendingdependency where the mutation object is already tracked.Refactor impact
Primary owner:
Game mode UI /
GameSurfacehook hygieneImpact areas reviewed:
Boundary notes:
Pressure points touched:
GameSurfaceonly. This PR keeps the change localized to the known broad game UI orchestrator and does not extract or move behavior.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
b5af3be5.pnpm lint:eslint:full-report -- --output .eslint-reports/eslint-full-report-before-gamesurface-hooks.jsonbefore the change: 0 errors, 25 warnings across 10 files.pnpm lint:eslint:full-report -- --output .eslint-reports/eslint-full-report-after-gamesurface-hooks-bunny.jsonafter the Bunny fix: 0 errors, 15 warnings across 9 files;GameSurfacehas 0 remaining warnings. The 15 remaining warnings are the non-GameSurface slice already covered by PR #1630.pnpm lintpnpm typecheckpnpm check:architecturepnpm check:docspnpm check:unusedpnpm buildpassed; Vite emitted the existing large-chunk warning.pnpm testpassed: 80 files, 496 tests.git diff --checkpassed with the existing CRLF warning for the touched file.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo changelog update: this is internal hook-lint cleanup, and this branch does not currently have a
CHANGELOG.mdfile.UI evidence
N/A; no visible UI changes and no manual app QA was run.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.