Skip to content

Make swallowed message uniqueness failures observable - #244

Draft
Xare123 wants to merge 1 commit into
OpenBubbles:rustpushfrom
Xare123:agent/pr-extra-unique-violation
Draft

Make swallowed message uniqueness failures observable#244
Xare123 wants to merge 1 commit into
OpenBubbles:rustpushfrom
Xare123:agent/pr-extra-unique-violation

Conversation

@Xare123

@Xare123 Xare123 commented Aug 16, 2026

Copy link
Copy Markdown

Problem

Message.save() swallowed uniqueness violations and returned as if persistence succeeded, leaving failed saves invisible in diagnostics.

Change

Retain existing conflict behavior while recording structured, content-safe diagnostics and whether the message remained without a persisted ID.

Validation

  • one-file observability change
  • git diff --check passes
  • focused analyzer reports only pre-existing import/style findings

Privacy and behavior

Message text is not logged. This does not change database schema, conflict resolution, or delete records.

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