mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2008] [MERGED] Add storage collection prep helpers #5390
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#5390
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/2008
Author: @Xelvanis
Created: 6/3/2026
Status: ✅ Merged
Merged: 6/3/2026
Merged by: @Xelvanis
Base:
refactor← Head:storage/message-sidecar-prep📝 Commits (4)
0eafc56Add storage collection prep helpers275d309Harden atomic storage update callback3b5e4c8Block side effects during atomic storage updates21d4d2dStop recovery writes during atomic updates📊 Changes
1 file changed (+670 additions, -2 deletions)
View changed files
📝
src-tauri/crates/storage/src/lib.rs(+670 -2)📄 Description
Linked issue
Prep for #1923
Why this change
message_swipesbehavior: rows are filtered bymessageId, ordered file rows are preserved, and unrequested fields are skipped.What changed
FileStorage::list_projected_where_infor projected reads filtered by a string field and allowed value set.FileStorage::update_collections_atomicallyfor locked multi-collection read/update/replace flows.Refactor impact
Primary owner:
Rust storage capability crate.
Impact areas reviewed:
message_swipesrows.Boundary notes:
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
git diff --check origin/refactor...HEADcargo test --manifest-path src-tauri/crates/storage/Cargo.tomlcargo check --manifest-path src-tauri/Cargo.tomlcargo clippy --manifest-path src-tauri/Cargo.toml --workspace --all-targets -- -D warningspnpm checkFeature 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.mdNotes:
UI evidence
N/A; no visible UI changes.
Summary by CodeRabbit
New Features
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.