Skip to content

Conversation

@yosriady
Copy link
Contributor

No description provided.

@yosriady yosriady requested a review from Copilot August 27, 2025 07:30
@linear
Copy link

linear bot commented Aug 27, 2025

@yosriady
Copy link
Contributor Author

bugbot run

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@yosriady yosriady requested a review from Copilot August 27, 2025 07:54

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@yosriady yosriady requested a review from Copilot August 27, 2025 08:27
@yosriady
Copy link
Contributor Author

bugbot run

This comment was marked as outdated.

@yosriady yosriady requested a review from Copilot August 27, 2025 08:55

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@yosriady yosriady requested a review from Copilot August 27, 2025 09:18
@yosriady
Copy link
Contributor Author

bugbot run

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@yosriady yosriady requested a review from Copilot August 27, 2025 09:22

This comment was marked as outdated.

@yosriady yosriady requested a review from Copilot August 27, 2025 09:27

This comment was marked as outdated.

@yosriady yosriady requested a review from Copilot August 27, 2025 12:20
@yosriady yosriady marked this pull request as ready for review August 27, 2025 12:20

This comment was marked as outdated.

@yosriady yosriady requested a review from Copilot August 27, 2025 12:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue with duplicate connect events when multiple wallet providers are available by implementing provider-specific identification and concurrency protection.

  • Enhances event identification by adding provider RDNS to connect/disconnect events
  • Implements concurrency protection to prevent race conditions during account changes
  • Adds logic to only emit connect events from the active provider to avoid duplicates

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
src/utils/base.ts Adds RDNS identifier to connect/disconnect event descriptors for provider differentiation
src/FormoAnalytics.ts Implements comprehensive provider switching logic with concurrency protection and duplicate event prevention

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@yosriady
Copy link
Contributor Author

bugbot run

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no bugs!


@yosriady yosriady merged commit 0804497 into main Aug 28, 2025
6 checks passed
@yosriady yosriady deleted the p-1445 branch August 28, 2025 02:39
@github-actions
Copy link

🎉 This PR is included in version 1.19.8 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants