mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2505] [CLOSED] Fix storage cache stamps #5626
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#5626
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/2505
Author: @Promansis
Created: 6/6/2026
Status: ❌ Closed
Base:
refactor← Head:fix/storage-cache-stamps-2497-2498📝 Commits (5)
f3a1b1dfix storage get id lookup cache8a11748Merge projected storage list cache stamp3323802Fix storage clippy single matchbc97677Harden storage read cache stampsd0a0897Retry unstable storage id index builds📊 Changes
1 file changed (+873 additions, -38 deletions)
View changed files
📝
src-tauri/crates/storage/src/lib.rs(+873 -38)📄 Description
Linked issue
Closes #2497
Closes #2498
Why this change
What changed
getand projectedgetcalls can reuse indexed record ranges without loading full pretty JSON collections.Refactor impact
Primary owner:
Rust storage
Impact areas reviewed:
src-tauri/crates/storage/src/lib.rsBoundary notes:
Pressure points touched:
src-tauri/src/lib.rscommand registration, or import modules 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 test --manifest-path src-tauri/crates/storage/Cargo.toml repeated_get_uses_cached_id_index_after_disk_readpassed.cargo test --manifest-path src-tauri/crates/storage/Cargo.toml repeated_projected_get_uses_cached_id_index_after_disk_readpassed.cargo test --manifest-path src-tauri/crates/storage/Cargo.toml projected_get_id_index_avoids_caching_full_pretty_rowspassed.cargo test --manifest-path src-tauri/crates/storage/Cargo.toml projected_collection_stamp_uses_metadata_without_content_signaturepassed.cargo test --manifest-path src-tauri/crates/storage/Cargo.toml list_projected_cache_detects_same_length_rewrite_when_mtime_changespassed.pnpm 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.mdUI evidence
N/A. Rust storage-only change; no visible UI behavior changed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.