mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1664] [MERGED] Remove unused shared gameplay helper exports #5196
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#5196
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/1664
Author: @cha1latte
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @cha1latte
Base:
refactor← Head:codex/knip-feature-export-cleanup-8📝 Commits (1)
15c51d5Remove unused shared gameplay helper exports📊 Changes
3 files changed (+14 additions, -14 deletions)
View changed files
📝
src/engine/shared/game-state/game-state-text.ts(+2 -2)📝
src/engine/shared/game-state/player-stats.ts(+10 -10)📝
src/engine/shared/scoring/skill-check-format.ts(+2 -2)📄 Description
Linked issue
N/A - mechanical Knip cleanup on
refactor.Why this change
Remove unnecessary public exports from
src/engine/sharedgameplay helper modules so the fresh Knip unused-export report continues shrinking without changing runtime behavior.What changed
game-state-texthelper exports file-local.player-statsquest parsing/update helper exports and internal types file-local.skill-check-formatoutcome helper exports file-local.Refactor impact
Primary owner:
engine shared
Impact areas reviewed:
src/engine/shared/game-state/game-state-text.tssrc/engine/shared/game-state/player-stats.tssrc/engine/shared/scoring/skill-check-format.tsBoundary notes:
src/engine/contracts/**, storage, schema, migration, installer, prompt-pipeline, or cross-boundary files touched.rgfound no outside imports for the removed public symbols.Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm exec knip --exports --no-config-hints --reporter compact --no-exit-codereportedUnused exports (64),Unused exported types (51), andDuplicate exports (1).Unused exports (61),Unused exported types (50), andDuplicate exports (1).src/engine/shared/game-state/game-state-text.ts:GAME_STATE_TEXT_FIELDS,coerceGameStateTextValuesrc/engine/shared/game-state/player-stats.ts:parseQuestObjective,firstString,parseQuest,normalizeQuestAction,collectQuestObjectives,normalizeQuestUpdate,cloneQuestsrc/engine/shared/game-state/player-stats.tsexported types:QuestObjective,QuestUpdateAction,NormalizedQuestUpdatesrc/engine/shared/scoring/skill-check-format.ts:getSkillCheckOutcomeLabel,getSkillCheckOutcomeKeypnpm typecheckpassed locally.git diff --checkpassed locally.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A - no UI changes.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.