mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2021] [MERGED] Fix message swipe sidecar storage regression #5393
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#5393
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/2021
Author: @Xelvanis
Created: 6/3/2026
Status: ✅ Merged
Merged: 6/3/2026
Merged by: @Xelvanis
Base:
refactor← Head:fix/message-swipe-sidecar-regression📝 Commits (5)
0f29b93Add message swipe sidecar storageba0a944Address message swipe sidecar review feedbackb83f2a7Preserve legacy sidecar message id matching7af1515Fix legacy sidecar full swipe readsf56efb2Fix sidecar search active extra materialization📊 Changes
17 files changed (+2973 additions, -172 deletions)
View changed files
📝
src-tauri/crates/storage/src/lib.rs(+295 -15)📝
src-tauri/src/commands/storage.rs(+2 -0)📝
src-tauri/src/commands/storage/admin.rs(+1 -0)📝
src-tauri/src/commands/storage/chats.rs(+170 -79)📝
src-tauri/src/commands/storage/commands/entities.rs(+551 -58)📝
src-tauri/src/commands/storage/contracts.rs(+9 -0)📝
src-tauri/src/commands/storage/exports.rs(+8 -2)📝
src-tauri/src/commands/storage/game_state_snapshots.rs(+3 -4)📝
src-tauri/src/commands/storage/imports/bulk_imports.rs(+5 -2)📝
src-tauri/src/commands/storage/imports/marinara_rollback.rs(+7 -0)📝
src-tauri/src/commands/storage/imports/rollback.rs(+7 -0)➕
src-tauri/src/commands/storage/message_swipes.rs(+1624 -0)📝
src-tauri/src/commands/storage/profile.rs(+265 -0)📝
src-tauri/src/commands/storage/profile/legacy.rs(+6 -1)📝
src-tauri/src/commands/storage/shared.rs(+1 -0)📝
src-tauri/src/http_dispatch.rs(+2 -0)📝
src-tauri/src/state.rs(+17 -11)📄 Description
Linked issue
Closes #1923
Why this change
message-swipessidecars while reads/search/imports still expose legacy-compatible active swipe data.What changed
message.swipesrows.extramaterializes when requested.Refactor impact
Primary owner:
Rust storage
Impact areas reviewed:
Boundary notes:
src-tauriRust storage and command routing.Pressure points touched:
src-tauri/src/state.rsstartup migration orderingsrc-tauri/src/http_dispatch.rsstorage command dispatch coveragesrc-tauri/src/commands/storage/imports/*import and rollback pathsValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
cargo nextest run --manifest-path src-tauri/Cargo.toml --workspace- 480 passed locallycargo check --manifest-path src-tauri/Cargo.toml --workspace- passed locallycargo clippy --manifest-path src-tauri/Cargo.toml --workspace --all-targets -- -D warnings- passed locallypnpm check:architecture- passed locallygit diff --check- passed locallyFeature 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.mdDocs/release notes: no repo-defined release note source applies here, and no user-facing docs changed.
UI evidence
N/A - Rust storage behavior only; no visible UI changes.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.