mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1510] [MERGED] [codex] Restore Knip-unused game map wiring #5114
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#5114
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/1510
Author: @Xelvanis
Created: 5/29/2026
Status: ✅ Merged
Merged: 5/29/2026
Merged by: @Xelvanis
Base:
refactor← Head:chore/knip-unused-files-1496📝 Commits (3)
a1c47c8Restore Knip-unused game map wiringd0b745bFix map generation failure paths6891047Address map generation review findings📊 Changes
26 files changed (+1453 additions, -181 deletions)
View changed files
📝
.graphifyignore(+4 -0)📝
graphify-out/GRAPH_REPORT.md(+13 -12)➖
graphify-out/cache/ast/235e4b36b99ae6475e66f35cd38ccbe9fa9f4c9f23745ac97fcd7af23045933e.json(+0 -1)➖
graphify-out/cache/ast/33b87b4dca658a4db96a3a63f0590514c8ccd710f04a52422e00d319c4f3da2b.json(+0 -1)➖
graphify-out/cache/ast/486fbdb5c76a3eeb33693a84bb409e57058728e3e75ec67dba5495118044c56d.json(+0 -1)➖
graphify-out/cache/ast/50374e6b518a5f2afd0aaa938be92ecdaf50f027ebcaaa94a3be5259b836d4f4.json(+0 -1)➖
graphify-out/cache/ast/56fafe8dd3d6273f651df0dd6410ea80a62de620df559ebf1effc97bef05b5db.json(+0 -1)➖
graphify-out/cache/ast/7c6829134afa5a54eecc434a6a6f1de1aa1f8d920b0fa6d1d775ceaa47096751.json(+0 -1)➖
graphify-out/cache/ast/8677def538bbabf9f92fea962480dfc1f2415d127edfefb795bca00a914f21f6.json(+0 -1)➖
graphify-out/cache/ast/8d5fe73dd066b3faca070346c78c5c1843ab38f9c7be2b494731b252847ba680.json(+0 -1)➖
graphify-out/cache/ast/96be833580a9a0dd19508e2ae8b8a8fdac7e27df235279518d702712c4c50d1c.json(+0 -1)➖
graphify-out/cache/ast/c34dfb3c558cfbc7690c89418ae6faca7b6d7d10bb169b69ea9a4f120d559bec.json(+0 -1)➕
graphify-out/cache/ast/d774b5fb8fab0732b6b7086e299a0af98c58a2c2e123d03f01958054b101881e.json(+1 -0)➖
graphify-out/cache/ast/f3b660f1242da4201169cca9e0f5a0febf9ca9052f4d2305972dc7a226e41d58.json(+0 -1)📝
graphify-out/cache/stat-index.json(+1 -1)📝
graphify-out/graph.json(+820 -112)📝
graphify-out/manifest.json(+18 -18)📝
graphify.scope.json(+4 -0)📝
src/features/modes/game/api/game-api.test.ts(+239 -1)📝
src/features/modes/game/api/game-api.ts(+278 -4)...and 6 more files
📄 Description
Linked issue
Closes #1496
Why this change
What changed
buildMapGenerationPromptintogameApi.generateMap, including model JSON normalization, active map persistence, JSON repair handling, and targeted tests.Refactor impact
Primary owner:
Impact areas reviewed:
Boundary notes:
src/engine/modes/game/world; feature code consumes it through the game API facade.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 vitest run src/features/modes/game/api/game-api.test.tspnpm typecheckpnpm lint:eslintpnpm check:architecturepnpm build(passed with the existing Vite chunk-size warning)pnpm exec knip --reporter compact --no-exit-code --no-config-hints(still reports 13 unused files)graphify update .pnpm check:graphify-scopegit diff --check origin/refactor...HEAD -- . ':(exclude)graphify-out/**'Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Chores
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.