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(bridge)_: fix bridge replies not working when they come from Discord #5830

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jrainville
Copy link
Member

Fixes status-im/status-desktop#16323

The problem was that the code expected to receive the Discord message ID, but the bridge is smart enough to return the Status message ID already, so there is no need to try and convert it.

There were also a couple issues in the bridge code itself.

Bridge PR: status-im/matterbridge#18

@status-im-auto
Copy link
Member

status-im-auto commented Sep 12, 2024

Jenkins Builds

Click to see older builds (5)
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 1c5288b #1 2024-09-12 22:06:46 ~1 min tests 📄log
✔️ 1c5288b #1 2024-09-12 22:07:45 ~2 min tests-rpc 📄log
✔️ 1c5288b #1 2024-09-12 22:09:23 ~3 min linux 📦zip
✔️ 1c5288b #1 2024-09-12 22:10:24 ~5 min ios 📦zip
✔️ 1c5288b #1 2024-09-12 22:10:52 ~5 min android 📦aar
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ d93e6a9 #2 2024-09-12 22:12:46 ~1 min android 📦aar
✔️ d93e6a9 #2 2024-09-12 22:12:54 ~2 min tests-rpc 📄log
✖️ d93e6a9 #2 2024-09-12 22:12:54 ~2 min tests 📄log
✔️ d93e6a9 #2 2024-09-12 22:14:00 ~3 min ios 📦zip
✔️ d93e6a9 #2 2024-09-12 22:14:07 ~3 min linux 📦zip
✔️ 2552a78 #3 2024-09-13 13:56:59 ~2 min android 📦aar
✔️ 2552a78 #3 2024-09-13 13:57:09 ~2 min linux 📦zip
✔️ 2552a78 #3 2024-09-13 13:57:10 ~2 min tests-rpc 📄log
✔️ 2552a78 #3 2024-09-13 13:58:43 ~3 min ios 📦zip
✖️ 2552a78 #3 2024-09-13 14:27:20 ~32 min tests 📄log

@jrainville jrainville changed the title fix(bridge): fix bridge replies not working when they come from Discord fix(bridge)_: fix bridge replies not working when they come from Discord Sep 12, 2024
Fixes status-im/status-desktop#16323

The problem was that the code expected to receive the Discord message ID, but the bridge is smart enough to return the Status message ID already, so there is no need to try and convert it.

There were also a couple issues in the bridge code itself.
@igor-sirotin
Copy link
Collaborator

igor-sirotin commented Sep 19, 2024

@jrainville a bunch of tests are failing, including TestBridgeMessageReplies 🤔
image

image

I think it's only TestBridgeMessageReplies and the others are just flaky.

Copy link
Collaborator

@igor-sirotin igor-sirotin left a comment

Choose a reason for hiding this comment

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

Nice and clean, just fix the TestBridgeMessageReplies

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.

Bridge replies don't show as replies from Status to Discord
5 participants