mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1890] [MERGED] Preserve projected message list ordering #5338
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#5338
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/1890
Author: @Promansis
Created: 6/2/2026
Status: ✅ Merged
Merged: 6/2/2026
Merged by: @Promansis
Base:
refactor← Head:investigate-storage-list-growth📝 Commits (6)
94b0511Fix character selector cold load6d0a000Speed up storage get record lookupe175347Speed up projected message list reads2097076Fix remote storage list projection parity975025cPreserve projected message list ordering6f244a1Fix storage lookup and greeting fallbacks📊 Changes
5 files changed (+636 additions, -227 deletions)
View changed files
📝
src-tauri/crates/storage/src/lib.rs(+399 -0)📝
src-tauri/src/commands/storage/commands/entities.rs(+129 -1)📝
src-tauri/src/http_dispatch.rs(+62 -195)📝
src/features/catalog/characters/components/CharacterAvatarImage.tsx(+18 -2)📝
src/features/modes/shared/chat-ui/components/ChatSetupWizard.tsx(+28 -29)📄 Description
Linked issue
Closes #1885 #1886 #1887 #1888
Why this change
What changed
id,sortOrder,order,createdAt, and explicitorderByfields.Refactor impact
Primary owner:
Rust storage
Impact areas reviewed:
storage_listcommand path.storage_listparity via the shared storage command implementation.Boundary notes:
Pressure points touched:
src-tauri/src/commands/storage/commands/entities.rsValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
cargo test --manifest-path src-tauri/Cargo.toml storage_list_projected_messages -- --nocapture: passed, 2 tests.cargo test --manifest-path src-tauri/Cargo.toml message_projection_materialization_includes_internal_sort_fields -- --nocapture: passed, 1 test.cargo test --manifest-path src-tauri/Cargo.toml dispatch_storage_list_uses_projected_message_reads -- --nocapture: passed, 1 test.cargo test --manifest-path src-tauri/crates/storage/Cargo.toml projected -- --nocapture: passed, 1 test.cargo check --manifest-path src-tauri/Cargo.toml: passed.git diff --check: clean.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.mdUI evidence
N/A. Storage command behavior only; no visible UI changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.