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

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

ulisesmac
Copy link
Contributor

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 (41)
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
✔️ 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
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 1d713e4 #6 2025-03-13 19:19:10 ~2 min ios 📦zip
✔️ 1d713e4 #6 2025-03-13 19:19:34 ~3 min android 📦aar
✔️ 1d713e4 #6 2025-03-13 19:20:28 ~3 min macos 📦zip
✔️ 1d713e4 #6 2025-03-13 19:21:11 ~4 min windows 📦zip
✔️ 1d713e4 #6 2025-03-13 19:21:45 ~5 min macos 📦zip
✔️ 1d713e4 #6 2025-03-13 19:22:36 ~6 min linux 📦zip
✔️ 1d713e4 #6 2025-03-13 19:37:05 ~20 min tests-rpc 📄log
✖️ 1d713e4 #7 2025-03-13 19:52:03 ~35 min tests 📄log
✔️ 8149807 #7 2025-03-14 18:35:03 ~2 min ios 📦zip
✔️ 8149807 #7 2025-03-14 18:35:30 ~3 min android 📦aar
✔️ 8149807 #7 2025-03-14 18:35:46 ~3 min windows 📦zip
✔️ 8149807 #7 2025-03-14 18:36:19 ~3 min macos 📦zip
✔️ 8149807 #7 2025-03-14 18:37:37 ~5 min macos 📦zip
✔️ 8149807 #7 2025-03-14 18:38:37 ~6 min linux 📦zip
✔️ 8149807 #7 2025-03-14 18:50:29 ~18 min tests-rpc 📄log
✔️ 8149807 #8 2025-03-14 19:07:09 ~34 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.04%. Comparing base (f500dcf) to head (8149807).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #6360      +/-   ##
===========================================
+ Coverage    61.02%   61.04%   +0.02%     
===========================================
  Files          843      843              
  Lines       108209   108210       +1     
===========================================
+ Hits         66034    66061      +27     
+ Misses       34541    34526      -15     
+ Partials      7634     7623      -11     
Flag Coverage Δ
functional 23.95% <0.00%> (-0.02%) ⬇️
unit 59.25% <100.00%> (+0.02%) ⬆️

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

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

... and 27 files with indirect coverage changes

@ulisesmac ulisesmac force-pushed the cancel-request-to-join-communities branch from cbad454 to 1d713e4 Compare March 13, 2025 19:16
@ulisesmac ulisesmac force-pushed the cancel-request-to-join-communities branch from 1d713e4 to 8149807 Compare March 14, 2025 18:32
@ulisesmac
Copy link
Contributor Author

Tested by QA and approved here:

So the PR is going to be merged

@ulisesmac ulisesmac merged commit 44d05a2 into develop Mar 14, 2025
19 checks passed
@ulisesmac ulisesmac deleted the cancel-request-to-join-communities branch March 14, 2025 19:25
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.

5 participants