mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3932] [MERGED] Clean up unused code and dependencies #6163
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#6163
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/3932
Author: @SpicyMarinara
Created: 7/22/2026
Status: ✅ Merged
Merged: 7/22/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/code-cleanup-audit📝 Commits (2)
232aae8Clean up unused code and dependencies6772f00Address CodeRabbit cleanup review📊 Changes
86 files changed (+491 additions, -3359 deletions)
View changed files
➖
MARI_PHASE2_TASK.md(+0 -105)➖
MARI_PHASE3_TASK.md(+0 -130)📝
docs/TROUBLESHOOTING.md(+1 -3)➕
docs/development/code-cleanup-audit.md(+282 -0)📝
e2e/core-flows.e2e.ts(+23 -10)📝
package.json(+1 -1)📝
packages/client/.instructions.md(+1 -1)📝
packages/client/package.json(+0 -2)➖
packages/client/src/components/agents/AgentDebugPanel.tsx(+0 -296)➖
packages/client/src/components/agents/AgentThoughtBubbles.tsx(+0 -113)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+1 -1)📝
packages/client/src/components/game/GameCombatUI.tsx(+1 -1)📝
packages/client/src/components/game/GameQteOverlay.tsx(+0 -22)📝
packages/client/src/components/game/GameSessionReplay.tsx(+2 -5)📝
packages/client/src/components/game/GameSurface.tsx(+2 -30)📝
packages/client/src/components/noodle/NoodleHome.tsx(+5 -1)📝
packages/client/src/components/noodle/NoodlerHome.tsx(+0 -7)➖
packages/client/src/components/panels/GlobalGalleryPanel.tsx(+0 -468)📝
packages/client/src/components/ui/HelpTooltip.tsx(+0 -10)📝
packages/client/src/hooks/use-agents.ts(+4 -43)...and 66 more files
📄 Description
Why
The codebase had accumulated unreachable modules, completed task artifacts, unconsumed application exports, orphaned dependencies, and a server test runner that exited successfully without running tests. This made maintenance noisier and allowed the generic test command to imply coverage it did not provide.
This PR implements the maintainer-requested cleanup audit while retaining medium-risk compatibility surfaces for separate, focused work.
No linked issue currently exists. This draft should remain unsubmitted for final review until an issue is opened if project policy requires one.
What changed
pnpm testrun the real regression and browser-smoke lanesImpact
The repository carries less dead code and fewer dependencies, future unused code is rejected by the compiler, and the standard test command now provides meaningful coverage. Runtime behavior is intentionally preserved aside from the preset-ordering integrity boundary and more deterministic test navigation.
Validation
pnpm install --frozen-lockfilepnpm checkpnpm test— all non-UI regression lanes passed; browser smoke: 81 passed, 51 intentionally skippedgit diff --checkManual verification
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Refactor
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.