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#5965
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/3500
Author: @kolacheee
Created: 7/11/2026
Status: ✅ Merged
Merged: 7/11/2026
Merged by: @SpicyMarinara
Base:
staging← Head:chore/3488-dead-code-deletions📝 Commits (1)
31cef89chore: remove dead files with zero references (part of #3488)📊 Changes
14 files changed (+0 additions, -2251 deletions)
View changed files
➖
packages/client/src/components/chat/ExpressionPanel.tsx(+0 -306)➖
packages/client/src/components/chat/SpriteSidebar.tsx(+0 -117)➖
packages/client/src/components/game/GameCheckpoints.tsx(+0 -211)➖
packages/client/src/components/game/GameDialogueOverlay.tsx(+0 -113)➖
packages/client/src/components/game/GameNpcTracker.tsx(+0 -66)➖
packages/client/src/components/game/GamePartySidebar.tsx(+0 -387)➖
packages/client/src/components/game/GameSessionBanner.tsx(+0 -59)➖
packages/client/src/components/game/GameStateIndicator.tsx(+0 -56)➖
packages/client/src/components/modals/BotBrowserModal.tsx(+0 -673)➖
packages/client/src/features/chat-settings/sections/ManualRepliesSection.tsx(+0 -37)➖
packages/client/src/hooks/use-party-turn.ts(+0 -42)➖
packages/server/src/types/better-sqlite3.d.ts(+0 -11)➖
packages/server/src/types/sql-js.d.ts(+0 -12)➖
scripts/import-genshin-music.sh(+0 -161)📄 Description
Linked issue
Part of #3488 (the unambiguous, zero-reference deletions; the report's judgment-call items are left for maintainer decision, see below).
Why this change
Dead code is where agents and contributors quietly go wrong: they edit files that never run, copy superseded patterns, and (in two cases in #3488) hit a dead name that collides with a live one. This PR removes the subset of #3488 that is unambiguous: whole files with zero references anywhere in the tree.
What changed
Deleted 14 files (2,251 lines), each re-verified against current staging with a repo-wide reference search (including lazy/dynamic imports, codegen registries, and string dispatch) returning only self-references, with the live replacement confirmed present:
game/GameSessionBanner,GameStateIndicator,GamePartySidebar,GameCheckpoints,GameDialogueOverlay,GameNpcTracker— superseded by the compactGamePartyBar/GameMap/handleConcludeSessionpathschat/ExpressionPanel,chat/SpriteSidebar— live path isSpriteOverlaymodals/BotBrowserModal— superseded byBotBrowserPanel(wired inRightPanel)features/chat-settings/sections/ManualRepliesSection— the "Reply When Mentioned" control lives inline inChatSettingsDrawerhooks/use-party-turn— party turns flow through the/generateSSE pipelineserver/types/better-sqlite3.d.ts,sql-js.d.ts— ambient decls for packages the libsql-onlycreateDBnever importsscripts/import-genshin-music.sh— personal one-off with hardcoded local paths, wired to nothingExplicitly NOT deleted (need a maintainer decision between wiring-up and removal): the
EditAgentModalmodal case,buildDeterministicSummary, thegenshin/hsrelement-reaction presets, thePresetEditorparametersfield, and the within-file dead branches from #3488. Those stay open on the issue.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm check(full TypeScript typecheck + production client build) passes after removal. For deletions this is the load-bearing check: a missed importer, lazy import, or type reference to any removed file would fail the build. No runtime behavior changes because nothing referenced these files.Docs and release impact
UI evidence (if applicable)
N/A — removal of unreachable code; no UI surface changes.
Summary by CodeRabbit
Removed Features
Chores
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.