Skip to content

3.0 dev#77

Merged
ULookup merged 436 commits into
mainfrom
3.0-dev
Jul 17, 2026
Merged

3.0 dev#77
ULookup merged 436 commits into
mainfrom
3.0-dev

Conversation

@ULookup

@ULookup ULookup commented Jul 17, 2026

Copy link
Copy Markdown
Owner

No description provided.

ULookup added 30 commits May 21, 2026 01:37
7 fixes from deep review: TransferOwner atomicity, CreateConversation
member check, degraded metrics, LastMessage cache, ES member_ids
redundancy, AddMembers failure visibility, ListMembers pagination.
8 tasks covering all 7 fixes: TransferOwner atomic, CreateConversation
member check, degraded metrics, LastMessage cache, ES member_ids,
AddMembers failure visibility, ListMembers pagination.
Replace three separate DAO calls (update_role x2 + conversation.owner_id) with
a single transfer_owner method that uses FOR UPDATE row locks on both member
rows and the conversation row within one transaction, preventing inconsistent
state on partial failure.
- Add caller_uid to fetch_last_message_ signature to scope cache per user,
  preventing User A's after_seq-scoped result from leaking to User B.
- Serialize message_id (int64) as JSON integer instead of string, and
  parse it with asInt64() instead of asString().
- Task6: Fix UpdateConversation wiping ES member_ids by passing current members
- Task6: Add metrics for update_member_ids failures with empty-guard
- Task6: Restore defense-in-depth require_member_ in SearchConversations
- Task7: Collect failed_member_ids in AddMembers with WARN logging
- Task8: Add offset-based pagination to ListMembers
Prevent UB from negative offset into vector iterator.
…e safe JSON serialization

- Cache key now includes after_seq to prevent stale previews when user's
  read cursor advances between cache fill and subsequent ListConversations
- Replace manual string concatenation with Json::Value to properly escape
  sender_id and avoid silent cache misses from malformed JSON
ULookup and others added 29 commits July 16, 2026 17:52
docs(agent): add repository-local engineering Skills
feat(cache): harden Redis resilience and multilevel caching
@ULookup
ULookup merged commit bb2dd0f into main Jul 17, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant