mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2269] [MERGED] Fix character version avatar assets #5523
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#5523
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/2269
Author: @Xelvanis
Created: 6/5/2026
Status: ✅ Merged
Merged: 6/5/2026
Merged by: @Xelvanis
Base:
refactor← Head:fix/version-avatar-history-assets📝 Commits (5)
1590286Fix character version avatar assets633e125Address character version avatar rollbacke58e911Surface character version rollback failures06ae0a2Restore prompt default flag normalization9cf1984Cover character avatar rollback failures📊 Changes
5 files changed (+1288 additions, -121 deletions)
View changed files
📝
src-tauri/src/commands/storage/avatars.rs(+429 -101)📝
src-tauri/src/commands/storage/characters.rs(+770 -19)📝
src-tauri/src/commands/storage/commands/entities.rs(+78 -0)📝
src-tauri/src/commands/storage/contracts.rs(+2 -1)📝
src-tauri/src/commands/storage/media_uploads.rs(+9 -0)📄 Description
Linked issue
N/A
Why this change
What changed
character-versionsand preserve avatar files that are still referenced by a live character or another saved version.Refactor impact
Primary owner:
Rust storage
Impact areas reviewed:
charactersandcharacter-versions.Boundary notes:
src-tauri.Pressure points touched:
Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
cargo fmt --manifest-path src-tauri/Cargo.tomlcargo test --manifest-path src-tauri/Cargo.toml character_avatarpassed, 4 tests.cargo test --manifest-path src-tauri/Cargo.toml deleting_character_versionpassed, 2 tests.cargo test --manifest-path src-tauri/Cargo.toml restore_character_versionpassed, 2 tests.cargo check --manifest-path src-tauri/Cargo.toml --workspacepassed.pnpm checkpassed.git diff --checkpassed.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 changes needed because this is an internal Rust storage bugfix and does not change documented commands, architecture guidance, or user-facing copy.
UI evidence
N/A. No visible UI changes.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.