Repository navigation
fix(chat-store): preserve shared history deletion and identities - #247
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Follow-up to #246 / #245. Synthetic fixtures independently reproduce all three review findings on merged base
5ee0050c279987abf16c6418d9ff9c1251ce975a.Clear/delete-chat now retires covered pending history envelopes in the same transaction, retaining deduplication keys. Late download completions and redeliveries cannot restore deleted history after restart; other chats and attachments outside the action's timestamp/key range remain eligible.
Missing-target shared edits/revokes now create read-backfill placeholders without unread attention, while existing live targets retain their original eligibility. Aggregated reaction keys are translated from the sharing account's perspective so later live replacement/removal addresses the same author.
Protocol evidence and exact preserved bundle hashes/module offsets are in
docs/shared-group-history.md, using whatspec46f630441389e703e04ff3fc012192cf80fdd4ba(schema 4.4.0, Web 2.3000.1047483476). This is synthetic validation, not an authenticated reproduction or a new server-contract claim. No real sessions or message data were used.Validation:
c8acac7866197ec32a669292e6ef07c06f3ddde57b6452bbf4b6f025c2971aa6: six regression checks fail on the unchanged merged base; all seven pass after correction.cargo fmt --all -- --checkcargo clippy -p oxidezap-chat-store --all-targets --all-features -j 2 -- -D warningsHosted CI completed successfully: CI (2,070 native tests passed, 13 skipped; one existing daemon launcher test reported leaky), all four release artifacts plus archive verification, and Pages. The initial Pages run was cancelled when superseded by the run triggered after the PR was externally marked ready for review. This PR was created as a draft; this task did not mark it ready, merge it, invoke deployment, post review replies, or resolve threads.
Summary by cubic
Fixes three review gaps in shared group history handling so deleted chats can't be restored and shared amendments keep correct read and author identities.
Written for commit 75f5bc6. Summary will update on new commits.
Summary by CodeRabbit