mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8052] [MERGED] perf(game): stop reprocessing the whole history on every step #8075
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#8075
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/8052
Author: @kolacheee
Created: 10/22/2026
Status: ✅ Merged
Merged: 10/22/2026
Merged by: @kolacheee
Base:
staging← Head:claude/project-thread-23tuwp📝 Commits (6)
5a75f87perf(game): stop reprocessing the whole history on every stepdf2e4c4test(game): use an over-long pattern for the refused-pattern check358aafdstyle: format the session log memo regression1fc23c5Merge remote-tracking branch 'origin/staging' into claude/project-thread-23tuwpfde3835Merge remote-tracking branch 'origin/staging' into claude/project-thread-23tuwp931f67aMerge remote-tracking branch 'origin/staging' into claude/project-thread-23tuwp📊 Changes
7 files changed (+435 additions, -103 deletions)
View changed files
📝
e2e/game-log-page.e2e.ts(+52 -0)📝
packages/client/src/components/game/GameNarration.tsx(+185 -96)📝
packages/client/src/components/game/GameSurface.tsx(+30 -4)➕
packages/client/src/components/game/message-memo.ts(+44 -0)📝
packages/client/src/hooks/use-apply-regex.ts(+36 -3)➕
scripts/regressions/game-session-log-memo.regression.ts(+87 -0)📝
scripts/regressions/tsconfig.client-lanes.json(+1 -0)📄 Description
Linked issue
Closes #8051
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
GameNarration) is left out.GameSurfacepasses new slot elements and inline callbacks on every render, soReact.memowould never skip a render. Making each render cheap fixes the same lag.e2e/game-log-page.e2e.ts:game-session-log-memocovers when the per-message memo reuses or rebuilds an entry, and the shared compiled patterns.game-log-page,game-log-overflow,game-turn-macros,game-native-dice,game-one-request-dice,game-verb-only-turn,game-ruleset-item-use-outside,preset-regexandmarkdown-blocks.tsc --noEmit, the client regression lane tsconfig, ESLint and Prettier are clean on the changed files.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.