mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1833] [MERGED] Fix game asset parity regressions #5303
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#5303
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/1833
Author: @cha1latte
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-1794-game-assets-parity📝 Commits (1)
46c284bFix game asset parity regressions📊 Changes
3 files changed (+274 additions, -4 deletions)
View changed files
📝
src-tauri/crates/assets/src/lib.rs(+264 -2)📝
src-tauri/src/commands/storage/game_assets.rs(+6 -2)📝
src/engine/contracts/constants/game-assets.ts(+4 -0)📄 Description
Linked issue
Closes #1794
Why this change
What changed
AssetService::manifest_with_backgroundsand routedgame_assets_manifest/game_assets_rescanthrough it sodata_dir/backgroundsfiles appear asbackgrounds:user:*entries with__user_bg__/...paths.music/combat/battle-epic.mp3emit structured tags such asmusic:combat:custom:intense:battle-epic, while preserving already-structured tags..markdown,.jsonl,.csv, and.log.Refactor impact
Primary owner:
Impact areas reviewed:
src-tauriasset service and storage command routingbackgrounds:user:*,__user_bg__/..., and structuredmusic:<state>:<genre>:<intensity>:<name>tagsBoundary notes:
Pressure points touched:
src-tauri/crates/assets/src/lib.rssrc-tauri/src/commands/storage/game_assets.rssrc/engine/contracts/constants/game-assets.tsValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
cargo test -p marinara-assets --lib: 9 passed, covering background bridge, explicit tag collision preservation, shallow music tags, text extension parity, root/native delete guards, upload extension parity, and symlink escape safety.cargo check --manifest-path src-tauri/Cargo.toml: passed.pnpm typecheck: passed after installing locked dependencies in the clean worktree.pnpm check: passed after final diff, including line endings, architecture, frontend typecheck, Rust workspace check, docs, discovery, and knip unused check.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.json: passed.upstream/refactorwith no blocking findings.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
Summary by CodeRabbit
New Features
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.