mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5069] [Feature]: Continue behavior-preserving dead-code cleanup #2803
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#2803
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?
Originally created by @Xelvanis on GitHub (Aug 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5069
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
A prior broad cleanup pass was completed in #4386, but later generation-lifecycle audits identified additional client state and compatibility plumbing that is now demonstrably unreachable or unused. Leaving these remnants in place makes the active chat and streaming ownership harder to understand and creates false maintenance paths.
Proposed solution
Continue the behavior-preserving cleanup as a focused series on one topic branch. Each confirmed cleanup should remain independently reviewable in its own commit, with exact consumer searches, proportionate regression proof, and no mixed behavioral changes.
The initial commits:
streamEventsas the sole active parser.Further cleanup items should be added only after their reachability and current owner are independently verified.
Alternatives considered
Additional context
This is a follow-up to the completed cleanup initiative in #4386, not a claim that its original scope was unfinished. The current work covers newly triaged remnants on present
staging. Any cleanup that reveals a user-visible behavior change should leave this mechanical lane and receive separate scope.Template check
@Xelvanis commented on GitHub (Aug 15, 2026):
Implementation owner: @Xelvanis. Work is tracked incrementally in draft PR #5070 on
cleanup/code-cleanup; each cleanup remains a separate focused commit.