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_: cancel request to join to a community #6360

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

Conversation

ulisesmac
Copy link

Fixes the issue originally reported here:

Where the "cancel request to join" action threw an error,

Ran the test suite and nothing broke.

Thanks to @osmaczko for the solution

@ulisesmac ulisesmac requested review from qfrank and osmaczko February 24, 2025 17:15
@ulisesmac ulisesmac self-assigned this Feb 24, 2025
@status-im-auto
Copy link
Member

status-im-auto commented Feb 24, 2025

Jenkins Builds

Click to see older builds (25)
Commit #️⃣ Finished (UTC) Duration Platform Result
4b0db0e #1 2025-02-24 17:18:44 ~2 min ios 📄log
✔️ 4b0db0e #1 2025-02-24 17:19:16 ~3 min android 📦aar
✔️ 4b0db0e #1 2025-02-24 17:20:06 ~4 min macos 📦zip
✔️ 4b0db0e #1 2025-02-24 17:20:35 ~4 min windows 📦zip
✔️ 4b0db0e #1 2025-02-24 17:21:17 ~5 min macos 📦zip
✔️ 4b0db0e #1 2025-02-24 17:22:05 ~6 min linux 📦zip
✔️ 4b0db0e #1 2025-02-24 17:30:44 ~14 min tests-rpc 📄log
✖️ 4b0db0e #1 2025-02-24 17:47:37 ~31 min tests 📄log
✖️ 4b0db0e #2 2025-02-24 23:46:53 ~31 min tests 📄log
d66c277 #2 2025-02-25 14:17:39 ~2 min ios 📄log
✔️ d66c277 #2 2025-02-25 14:18:04 ~3 min android 📦aar
✔️ d66c277 #2 2025-02-25 14:18:17 ~3 min windows 📦zip
✔️ d66c277 #2 2025-02-25 14:19:06 ~3 min macos 📦zip
✔️ d66c277 #2 2025-02-25 14:20:26 ~5 min macos 📦zip
✔️ d66c277 #2 2025-02-25 14:21:25 ~6 min linux 📦zip
✔️ d66c277 #2 2025-02-25 14:28:03 ~12 min tests-rpc 📄log
✖️ d66c277 #3 2025-02-25 14:46:34 ~31 min tests 📄log
✔️ c0ff445 #3 2025-02-25 14:20:42 ~2 min ios 📦zip
✔️ c0ff445 #3 2025-02-25 14:21:14 ~3 min android 📦aar
✔️ c0ff445 #3 2025-02-25 14:21:16 ~2 min windows 📦zip
✔️ c0ff445 #3 2025-02-25 14:23:52 ~4 min macos 📦zip
✔️ c0ff445 #3 2025-02-25 14:26:53 ~6 min macos 📦zip
✔️ c0ff445 #3 2025-02-25 14:27:12 ~5 min linux 📦zip
✔️ c0ff445 #3 2025-02-25 14:40:32 ~12 min tests-rpc 📄log
✖️ c0ff445 #4 2025-02-25 15:17:15 ~30 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 14059e4 #4 2025-02-26 17:56:51 ~2 min ios 📦zip
✔️ 14059e4 #4 2025-02-26 17:57:03 ~3 min android 📦aar
✔️ 14059e4 #4 2025-02-26 17:57:12 ~3 min windows 📦zip
✔️ 14059e4 #4 2025-02-26 17:58:10 ~4 min macos 📦zip
✔️ 14059e4 #4 2025-02-26 18:00:15 ~6 min linux 📦zip
✔️ 14059e4 #4 2025-02-26 18:00:48 ~6 min macos 📦zip
✔️ 14059e4 #4 2025-02-26 18:06:20 ~12 min tests-rpc 📄log
✖️ 14059e4 #5 2025-02-26 18:24:26 ~30 min tests 📄log
✔️ cbad454 #5 2025-03-03 18:49:03 ~2 min windows 📦zip
✔️ cbad454 #5 2025-03-03 18:49:14 ~3 min android 📦aar
✔️ cbad454 #5 2025-03-03 18:51:32 ~5 min linux 📦zip
✔️ cbad454 #5 2025-03-03 18:51:40 ~5 min ios 📦zip
✔️ cbad454 #5 2025-03-03 18:52:36 ~6 min macos 📦zip
✔️ cbad454 #5 2025-03-03 18:53:04 ~6 min macos 📦zip
✔️ cbad454 #5 2025-03-03 19:02:35 ~16 min tests-rpc 📄log
✔️ cbad454 #6 2025-03-03 19:17:49 ~31 min tests 📄log

Copy link
Contributor

@ilmotta ilmotta left a comment

Choose a reason for hiding this comment

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

Ran the test suite and nothing broke.

@ulisesmac I imagine this is because the tests, like TestCancelRequestAccess are not not asserting the message was sent to each privileged member using the sender's identity, which I understood is what the fix is now forcing by setting the Sender to nil.

@ulisesmac ulisesmac force-pushed the cancel-request-to-join-communities branch 3 times, most recently from c0ff445 to 14059e4 Compare February 26, 2025 17:53
Copy link
Contributor

@qfrank qfrank left a comment

Choose a reason for hiding this comment

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

LGTM. I see you're facing jenkins/prs/tests failure, pls rebase your PR which should improve your XP now. @ulisesmac

@ulisesmac ulisesmac force-pushed the cancel-request-to-join-communities branch from 14059e4 to cbad454 Compare March 3, 2025 18:45
Copy link

codecov bot commented Mar 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.09%. Comparing base (6219faa) to head (cbad454).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #6360      +/-   ##
===========================================
- Coverage    61.09%   61.09%   -0.01%     
===========================================
  Files          867      867              
  Lines       112673   112674       +1     
===========================================
- Hits         68843    68834       -9     
- Misses       35851    35862      +11     
+ Partials      7979     7978       -1     
Flag Coverage Δ
functional 22.45% <0.00%> (-0.03%) ⬇️
unit 59.39% <100.00%> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
protocol/messenger_communities.go 53.46% <100.00%> (+0.08%) ⬆️

... and 29 files with indirect coverage changes

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.

4 participants