Skip to content

release(chatwoot-adapter): 0.8.0 — recover from a deleted Chatwoot conversation - #56

Merged
rmyndharis merged 1 commit into
mainfrom
release/chatwoot-adapter-0.8.0
Aug 1, 2026
Merged

release(chatwoot-adapter): 0.8.0 — recover from a deleted Chatwoot conversation#56
rmyndharis merged 1 commit into
mainfrom
release/chatwoot-adapter-0.8.0

Conversation

@rmyndharis

Copy link
Copy Markdown
Owner

Minor release for the recovery behaviour merged in #45.

Deleting a Chatwoot conversation out of band used to leave the adapter's cached mapping pointing at a dead conversation: every later message from that chat was posted to it, rejected, and retried against the same id until it gave up, so the chat silently stopped reaching Chatwoot. The adapter now drops the stale mapping, rebuilds through its normal path while reusing the existing contact, and re-posts into the fresh conversation; a failed rebuild falls back to the retry queue. Recovery is deliberately skipped while draining the retry queue, since a queued message is already a re-attempt and rebuilding there would mint a conversation per attempt.

Verified against a live OpenWA 0.12.1 host with a connected WhatsApp session and a real Chatwoot instance: a mapped conversation was deleted, posting to it was confirmed rejected, and the next message from that chat caused the adapter to drop the mapping and mint a fresh conversation keeping the same contact — the message was delivered, nothing entered the retry queue, and the plugin reported healthy.

Not exercised live, and stated as such in the changelog: the own-send recovery path and the retry-drain no-recovery path. Both are covered by tests.

testedOpenWAVersion is unchanged at 0.12.1 — the host did not change.

@rmyndharis
rmyndharis merged commit 5be59e4 into main Aug 1, 2026
1 check passed
@rmyndharis
rmyndharis deleted the release/chatwoot-adapter-0.8.0 branch August 1, 2026 03:15
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