mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1244] [MERGED] Clean up Marinara import remapping #5001
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#5001
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/1244
Author: @Xelvanis
Created: 5/26/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @Xelvanis
Base:
refactor← Head:codex/cleanup-marinara-imports📝 Commits (2)
e237b4aClean up Marinara import remapping8e6fd38Address Marinara import review findings📊 Changes
2 files changed (+386 additions, -191 deletions)
View changed files
📝
src-tauri/src/commands/storage/imports/marinara.rs(+142 -191)➕
src-tauri/src/commands/storage/imports/marinara_tests.rs(+244 -0)📄 Description
Linked issue
No linked issue. Internal Rust import cleanup discovered while reviewing Marinara import failure paths.
Why this change
groupIdvalues when the old group was not imported.What changed
marinara_tests.rsand added coverage for nested folder/group remaps, orphan folder/group references, profile-envelope rejection, and blank/missing ID handling.Refactor impact
Primary owner:
Rust storage imports.
Impact areas reviewed:
marinara.rs.Boundary notes:
src-tauriRust import implementation and tests.Pressure points touched:
src-tauri/src/commands/storage/imports/marinara.rssrc-tauri/src/commands/storage/imports/marinara_tests.rsValidation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Agent-run validation:
cargo fmt --manifest-path src-tauri/Cargo.toml --checkcargo clippy --manifest-path src-tauri/Cargo.toml --workspace --all-targets -- -D warningscargo test --manifest-path src-tauri/Cargo.tomlpnpm check:architecturegit diff --checkNo browser/Tauri UI pass was run because this change is limited to Rust import internals and unit coverage.
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo changelog update: this checkout has no
CHANGELOG.md, and the change is internal Rust import cleanup.UI evidence
N/A. No visible UI changes.
Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.