mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2215] [MERGED] Fix autonomous unread count races #5477
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#5477
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/2215
Author: @Xelvanis
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @Xelvanis
Base:
refactor← Head:fix/autonomous-unread-atomic📝 Commits (4)
d845aaeFix autonomous unread count races6e9f35fNormalize autonomous unread character IDs0be0d87Ignore scratch and dedupe lorebook row aliasesf81a959Normalize persisted autonomous unread IDs📊 Changes
3 files changed (+315 additions, -40 deletions)
View changed files
📝
.gitignore(+1 -0)📝
src-tauri/src/commands/storage/chats.rs(+312 -31)📝
src-tauri/src/commands/storage/commands/entities.rs(+2 -9)📄 Description
Linked issue
N/A
Why this change
What changed
patch_ifpath.Refactor impact
Primary owner:
Rust storage
Impact areas reviewed:
Boundary notes:
src-tauri.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
cargo test --manifest-path src-tauri/Cargo.toml mark_autonomous_unreadpassed: 3 tests.pnpm checkpassed, including line endings, architecture, frontend, Rust workspace check, docs, discovery metadata, launcher safety, and unused-code checks.git diff --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.mdNo docs changes needed; behavior is an internal persistence correctness fix for existing unread metadata.
UI evidence
N/A. No visible layout change.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.