mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1888] [Issue]: storage_list is slow for projected chat message reads #913
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#913
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?
Originally created by @Promansis on GitHub (Jun 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1888
Originally assigned to: @Promansis on GitHub.
Summary
command:storage_list for messages filtered by chatId can take roughly 800-900ms even when the caller requests a projected field list.
Expected behavior
A message list with filters.chatId plus fields and fieldSelections should stream only the requested fields needed for timeline rendering and avoid loading unrequested message payloads.
Actual behavior
The special messages + chatId path bypassed the general projected-list reader and loaded full matching message rows before final projection. This could pull large swipes/extra payloads even when the caller requested only selected fields.
Steps to reproduce
Impact area
Environment
e1753477Logs, screenshots, or video
Observed args included entity messages, filters.chatId, fields for timeline columns, and fieldSelections.extra for hidden/thinking/reasoning/sprite expression fields.
Regression notes
This is a storage performance issue exposed while investigating character selector cold-load delay.
Additional context
Fix added a projected message-by-chat storage reader and routed messages + chatId + fields through it, while still including swipes internally when needed for active-swipe materialization before final projection.
Template check