mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2116] [MERGED] Fix remote profile import and export parity #5441
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#5441
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/2116
Author: @Xelvanis
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @Xelvanis
Base:
refactor← Head:fix/profile-import-export-parity📝 Commits (3)
94e6f27Fix remote profile import and export parity7136c91Address profile transfer review findingsad0cba4Fix profile transfer clippy failures📊 Changes
11 files changed (+552 additions, -76 deletions)
View changed files
📝
src-tauri/Cargo.lock(+24 -0)📝
src-tauri/Cargo.toml(+1 -1)📝
src-tauri/src/commands/storage/backup.rs(+15 -8)📝
src-tauri/src/commands/storage/exports.rs(+9 -5)📝
src-tauri/src/commands/storage/profile.rs(+115 -3)📝
src-tauri/src/commands/storage/profile/assets.rs(+24 -16)📝
src-tauri/src/http_dispatch.rs(+2 -8)📝
src-tauri/src/http_server.rs(+285 -15)📝
src/features/shell/settings/components/ProfileImportSection.tsx(+1 -9)📝
src/shared/api/profile-api.ts(+67 -5)📝
src/shared/api/remote-runtime.ts(+9 -6)📄 Description
Linked issue
Related to https://github.com/Pasta-Devs/Marinara-Engine/issues/2108
Why this change
/api/invokeJSON/base64 payload limits.What changed
/api/profile/exportdownload and/api/profile/importmultipart upload routes for the hostable runtime, including admin access, upload size limits, rate-limit coverage, and content-disposition metadata.invalid_inputand added focused Rust coverage for the changed profile paths.Refactor impact
Primary owner:
Rust storage/profile import-export and shared API remote runtime profile wrapper.
Impact areas reviewed:
Boundary notes:
src/shared/api/profile-api.tswrapper.Pressure points touched:
src-tauri/src/commands/storage/profile*.src-tauri/src/http_server.rs.Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
pnpm checkpassed locally.cargo test --manifest-path src-tauri/Cargo.toml profile -- --nocapturepassed locally.cargo test --manifest-path src-tauri/Cargo.toml http_server -- --nocapturepassed locally.cargo check --manifest-path src-tauri/Cargo.tomlpassed locally.pnpm typecheckandpnpm check:architecturepassed locally during review.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.mdNo docs or release-note changes were made because this preserves an existing settings workflow and remote-runtime compatibility path without adding a new user-facing surface. No staging/package-workspace/release claims were touched.
UI evidence
No screenshots or recordings; this change does not alter visible layout.
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.