Fix storage cache append merge - #2508
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Bunny Review CompletedTip Review posted. The specimen has left the observation table.
|
🐰 Bunny ReviewBunny Merge Signal: Ready With NotesWarning READY WITH NOTES
Note Mode: 🧭 Specimen Summary
🔎 Isolated DefectsTip No actionable defects isolated. 🧹 Nitpicks
✅ Control Checks
🧪 Observations
🧰 CI Status
|
Linked issue
Closes #2497
Closes #2498
Related to #2493
Why this change
What changed
refactor, which already includes the chat append fast path.row_indices_by_identries for appended rows.get(id).Refactor impact
Primary owner:
Rust storage
Impact areas reviewed:
src-tauri/crates/storage/src/lib.rsmessagesandmessage-swipesBoundary notes:
Pressure points touched:
ModeSurface,GameSurface, shared mode UI,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 fmt --manifest-path src-tauri/crates/storage/Cargo.toml -- --checkpassed.git diff --checkpassed.cargo test --manifest-path src-tauri/Cargo.toml -p marinara-storagepassed: 56 tests.cargo test --manifest-path src-tauri/Cargo.toml -p marinara-engine message_swipes --libpassed: 37 tests.cargo check --manifest-path src-tauri/Cargo.toml --workspacepassed.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.