mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1591] [MERGED] Align game asset MIME contracts #5131
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#5131
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/1591
Author: @Xelvanis
Created: 5/29/2026
Status: ✅ Merged
Merged: 5/29/2026
Merged by: @Xelvanis
Base:
refactor← Head:restore/knip-game-asset-mime-maps📝 Commits (3)
a734866Restore game asset MIME map wiringf09d424Align game asset MIME contracts68fb845Harden game asset MIME contract tests📊 Changes
6 files changed (+123 additions, -35 deletions)
View changed files
📝
src-tauri/crates/assets/src/lib.rs(+39 -5)➕
src/engine/contracts/constants/game-assets.test.ts(+32 -0)📝
src/engine/contracts/constants/game-assets.ts(+11 -1)📝
src/features/modes/game-assets/components/AudioPlayerModal.tsx(+4 -17)📝
src/features/shell/settings/components/SettingsPanel.tsx(+22 -7)📝
src/shared/components/ui/ImageUploadDropzone.tsx(+15 -5)📄 Description
Linked issue
No linked issue.
Why this change
What changed
Refactor impact
Primary owner:
Engine contracts, shared UI, shell settings, game asset UI, and Rust assets capability.
Impact areas reviewed:
Boundary notes:
src/engine/contracts.src-tauri/crates/assets.Pressure points touched:
SettingsPanelwas touched only in its existing game-asset upload constants/copy.ModeSurface,GameSurface, shared mode UI,src-tauri/src/lib.rs, or import modules.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 test -- src/engine/contracts/constants/game-assets.test.tspassed.cargo test --manifest-path src-tauri/Cargo.toml -p marinara-assetspassed.pnpm buildpassed; Vite reported the existing large-chunk warning.pnpm check:architecturepassed.pnpm check:unusedpassed.cargo check --manifest-path src-tauri/Cargo.toml --workspacepassed.Docs and release impact
No
CHANGELOG.mdexists in the repo.Settings copy was updated to mention Opus support.
No developer docs, repo skills, or agent workflow changes were needed.
No docs changes needed
Updated
README.mdUpdated
CONTRIBUTING.mdUpdated
docs/developer/Updated repo skills or
AGENTS.mdConfirmed this PR does not restore old staging/package-workspace/release claims
UI evidence
No screenshots or recordings added; this is a file-type contract and upload validation fix.
Summary by CodeRabbit
New Features
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.