Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: idempotency per client #274

Merged
merged 8 commits into from
Nov 8, 2023
Merged

fix: idempotency per client #274

merged 8 commits into from
Nov 8, 2023

Conversation

chris13524
Copy link
Member

Description

If multiple clients are subscribed to the same topic and are registered to receive push notifications, this won't work because the idempotency logic is designed to prevent the same message ID from being notified multiple times.

This behavior was actually flakey due to the idempotency logic itself not being robust against race conditions, but this is a separate issue.

Context: https://walletconnect.slack.com/archives/C044SKFKELR/p1699446818332569?thread_ts=1699442986.858579&cid=C044SKFKELR

Resolves #273

How Has This Been Tested?

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@chris13524 chris13524 self-assigned this Nov 8, 2023
@arein arein added the accepted The issue has been accepted into the project label Nov 8, 2023
Copy link
Contributor

@geekbrother geekbrother left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks for fixing it.

@chris13524 chris13524 force-pushed the fix/idempotency-per-client branch 3 times, most recently from 086a609 to 0e23353 Compare November 8, 2023 19:05
@chris13524 chris13524 merged commit 2002cba into main Nov 8, 2023
4 checks passed
@chris13524 chris13524 deleted the fix/idempotency-per-client branch November 8, 2023 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted The issue has been accepted into the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: idempotency per client
3 participants