mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#5967
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/3503
Author: @kolacheee
Created: 7/11/2026
Status: ✅ Merged
Merged: 7/12/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/3491-misleading-names📝 Commits (1)
f3d19abrefactor: fix misleading names and a duplicate upload call (part of #3491)📊 Changes
7 files changed (+17 additions, -20 deletions)
View changed files
📝
packages/client/src/components/game/GameCombatUI.tsx(+4 -4)📝
packages/client/src/components/game/GameSurface.tsx(+1 -1)📝
packages/client/src/features/tracker-panel/components/TrackerSectionList.tsx(+1 -1)📝
packages/client/src/features/tracker-panel/components/sections/PersonaInventoryPanel.tsx(+0 -0)📝
packages/server/src/routes/generate.routes.ts(+9 -9)📝
packages/server/src/services/generation/prose-guardian-settings.ts(+0 -3)📝
packages/server/src/services/video/video-generation.ts(+2 -2)📄 Description
Linked issue
Part of #3491 (the mechanically-verifiable subset; skipped items are re-dispositioned below and on the issue).
Why this change
Names that say the wrong thing invite confident wrong edits — especially from automated refactors and agents acting on the name alone. This PR fixes the #3491 items whose correctness TypeScript can verify exhaustively, plus one duplicate call that caused real double work.
What changed
shouldHoldForProseGuardianRewriteremoved (prose-guardian-settings.ts): it was a verbatim alias ofshouldHoldForTextRewrite. The name implied a prose-guardian-only gate, but the predicate fires for prose-guardian, continuity, AND html rewrites, and its result gates seven branches ingenerate.routes.ts. The call site and its local variable now use the truthful name._isStreaming→isStreaming(GameCombatUI.tsx+ theGameSurface.tsxcall site): the underscore convention marks unused values, but this prop is load-bearing (it drives the custom-action reset effect at ~1546). An automated "remove unused underscore props" pass would have silently broken combat UI resets.PersonaTrackerPanel.tsx→PersonaInventoryPanel.tsx: filename now matches its export, restoring the sibling convention; sole import updated.video-generation.ts): the raw-URL path calledmaybeUploadSeedanceReferenceImageand, when it returned nothing, fell through to an identical second call. Both paths now converge on the single fallback — same behavior for every path, and the raw-URL path no longer attempts the same upload twice.Re-verified against current staging and deliberately NOT changed:
HomeProfessorMariChattextarea-ref inversion no longer exists: the component was restructured upstream, and I verified today thatfloatingTextareaRefattaches inside the floating surface (floatingSurfaceRefcontainer) andembeddedTextareaRefoutside it. Nothing to fix.retry-agents-routechatMetashadow stays as-is: there are four parallel local parses in that route, the sweep verdict was "no active bug, latent only", and re-scoping variables in a mega-route without runtime coverage is riskier than the landmine it would defuse.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Renames are exhaustively verified by the TypeScript strict build (
pnpm checkpasses; zero references to any old name remain, checked by grep). The Seedance change is behavior-preserving by control-flow analysis: identical arguments, and every path still performs exactly one upload attempt (previously the raw-URL path could perform two). Optional live check: generate a Seedance first/last-frame clip with reference upload enabled and confirm a single upload per reference in the server log.Docs and release impact
UI evidence (if applicable)
N/A — internal renames; no UI surface changes.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.