mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3487] [Issue]: Code sweep: settings, fields, and switches that silently do nothing #1884
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#1884
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 @kolacheee on GitHub (Jul 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3487
Originally assigned to: @kolacheee on GitHub.
Summary
A batch of settings, request fields, function parameters, and switches that look functional but have no effect.
Why this is a problem: controls that silently do nothing break user trust ("I changed the setting and nothing happened, no error") and mislead agents into building on toggles that are inert, or into "cleaning up" values that actually matter elsewhere.
What it negatively affects: user configuration (changes silently ignored), debugging time, and the safety of automated refactors.
Expected behavior
Every exposed setting, accepted request field, and function parameter either does what its name says or does not exist.
Actual behavior
packages/server/src/config/env-watcher.ts:45—RESTART_REQUIRED_KEYSomitsSPRITE_ANIMATED_FFMPEG_TIMEOUT_MS(read once at boot,sprites.routes.ts:121). Editing it in a live.envsilently no-ops with no[env-watcher]warning. Identical pattern to the sibling key already fixed in #3457 /9a22f1af3.packages/server/src/routes/updates.routes.ts:492—/applyacceptscurrentBuild(and the client sends it) but the handler validates onlycurrentVersion/currentCommit; the field does nothing.packages/client/src/lib/tts-dialogue.ts:39—ttsConfigMatchesSpeakerunconditionally returnstrue; thedialogueScope/dialogueCharacterNameconfig it appears to honor has no effect (no UI ever sets scope to "character"). It gates 4 live call sites.packages/client/src/features/tracker-panel/lib/world-state-display.ts:414—getWorldAmbienceStyle(_state)ignores its argument and returns a static CSS variable (real implementation introduced inf9fccda75, gutted in454cfcfb5). The call site still passes full world state, reinforcing the illusion.packages/server/src/services/game/element-reactions.service.ts:447— thegenshinandhsrreaction presets are unreachable: nothing setsmeta.gameSetupConfig.elementPreset, so onlydefaultever applies.packages/client/src/components/presets/PresetEditor.tsx:339— the preset's ownparametersfield round-trips on save, but no tab or field ever edits it.packages/server/src/routes/game.routes.ts:5928— the schema acceptscharacterConnectionId, it is destructured at 5818, and then never reused (the write hardcodes null) while sibling fields are threaded correctly. Wire it up or remove the schema field.packages/server/src/utils/security.ts:623—resolveValidatedImage'scontentTypeHeaderparameter is never read (the body sniffs magic bytes only); all 6 callers pass a real header, implying it validates. The AVIF path is unreachable (needsexpectedExt, never forwarded).packages/client/src/components/chat/ConversationCallSurface.tsx:1245—soundboardEnabled = trueconstant leaves 4 permanently one-sided guards;canSpeak(:110) is a write-only field.packages/server/src/routes/game.routes.ts:9624—generateSceneWrapAssetsInline = falsekill-switch permanently disables ~170 lines across 3 branches (self-documented; keep or delete, but decide).Steps to reproduce
Each entry lists the exact file/line; the fastest check is reading the reference and searching for consumers of the value in question.
Environment
45b650de9)Logs, screenshots, or video
N/A.
Additional context
Found by a repo-wide read-only sweep; each entry adversarially re-verified (consumers searched repo-wide, including dynamic dispatch) before filing. No fixes started. Part of a coordinated set of sweep catalogue issues filed together.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@kolacheee commented on GitHub (Jul 11, 2026):
Taking the remaining items (everything except the env-watcher key, which is already covered by open PR #3499). Each entry is being re-verified against current staging before any change — the catalogue was verified at
45b650de9and staging has moved 129 commits since. Fix PR to follow once validated. — @kolacheee