Skip to content

Conversation

@igor-sirotin
Copy link
Collaborator

@igor-sirotin igor-sirotin commented Dec 17, 2025

Requires:

Closes:

Description

  1. Bring back feat: Add SDS unwrap process for received messages #7149
  2. Call SDS Cleanup() on reliability Stop().
  3. Update nim-sds to get feat: thread pool logos-messaging/nim-sds#40
  4. Update sds-go-bindings to get fix: remove global logger logos-messaging/sds-go-bindings#9
  5. Improve Makefile to support updating nim-sds version.

@status-im-auto
Copy link
Member

status-im-auto commented Dec 18, 2025

Jenkins Builds

Click to see older builds (134)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ ee34258 #1 2025-12-18 00:01:44 ~4 min linux/status-go 📦zip
ee34258 #1 2025-12-18 00:01:49 ~4 min macos/nwaku 📄log
✔️ ee34258 #1 2025-12-18 00:01:56 ~4 min macos/status-go 📦zip
✔️ ee34258 #1 2025-12-18 00:03:30 ~5 min windows/status-go 📦zip
✔️ ee34258 #1 2025-12-18 00:05:17 ~7 min linux/nwaku 📦zip
✔️ ee34258 #1 2025-12-18 00:06:37 ~9 min tests 📄log
✔️ ee34258 #1 2025-12-18 00:06:53 ~9 min tests 📄log
ee34258 #1 2025-12-18 00:10:28 ~12 min windows/nwaku 📄log
✔️ ee34258 #1 2025-12-18 00:15:09 ~17 min tests-rpc 📄log
✖️ ee34258 #1 2025-12-18 00:18:19 ~20 min tests-rpc 📄log
✔️ ee34258 #2 2025-12-18 11:35:55 ~8 min tests 📄log
✖️ 16bd0e7 #2 2025-12-18 11:41:34 ~1 min tests 📄log
✔️ 16bd0e7 #2 2025-12-18 11:43:45 ~3 min linux/status-go 📦zip
✔️ 16bd0e7 #2 2025-12-18 11:45:07 ~5 min macos/status-go 📦zip
✔️ 16bd0e7 #2 2025-12-18 11:45:43 ~5 min windows/status-go 📦zip
✔️ 16bd0e7 #2 2025-12-18 11:47:42 ~7 min linux/nwaku 📦zip
✔️ 16bd0e7 #2 2025-12-18 11:49:01 ~9 min macos/nwaku 📦zip
16bd0e7 #2 2025-12-18 11:52:31 ~12 min windows/nwaku 📄log
✔️ 16bd0e7 #2 2025-12-18 11:56:04 ~16 min tests-rpc 📄log
✔️ 16bd0e7 #2 2025-12-18 11:56:42 ~16 min tests-rpc 📄log
✔️ 16bd0e7 #3 2025-12-18 11:59:36 ~19 min tests 📄log
✔️ eb27299 #3 2025-12-19 00:59:21 ~4 min linux/status-go 📦zip
✔️ eb27299 #3 2025-12-19 01:00:11 ~4 min macos/status-go 📦zip
✔️ eb27299 #3 2025-12-19 01:01:13 ~5 min windows/status-go 📦zip
✔️ eb27299 #3 2025-12-19 01:03:20 ~7 min linux/nwaku 📦zip
✔️ eb27299 #3 2025-12-19 01:03:55 ~8 min macos/nwaku 📦zip
eb27299 #3 2025-12-19 01:08:14 ~12 min windows/nwaku 📄log
✔️ eb27299 #3 2025-12-19 01:13:04 ~17 min tests-rpc 📄log
✔️ eb27299 #3 2025-12-19 01:13:52 ~18 min tests-rpc 📄log
✖️ eb27299 #4 2025-12-19 01:23:44 ~28 min tests 📄log
✖️ eb27299 #3 2025-12-19 01:24:33 ~29 min tests 📄log
✔️ edf7884 #4 2025-12-19 01:08:47 ~4 min linux/status-go 📦zip
✔️ edf7884 #4 2025-12-19 01:09:29 ~4 min macos/status-go 📦zip
✔️ edf7884 #4 2025-12-19 01:10:52 ~5 min windows/status-go 📦zip
✔️ edf7884 #4 2025-12-19 01:12:22 ~7 min linux/nwaku 📦zip
✔️ edf7884 #4 2025-12-19 01:13:12 ~8 min macos/nwaku 📦zip
edf7884 #4 2025-12-19 01:18:26 ~9 min windows/nwaku 📄log
✔️ edf7884 #4 2025-12-19 01:31:22 ~18 min tests-rpc 📄log
✔️ edf7884 #4 2025-12-19 01:31:25 ~17 min tests-rpc 📄log
✖️ edf7884 #4 2025-12-19 01:53:49 ~29 min tests 📄log
✖️ edf7884 #5 2025-12-19 01:55:36 ~31 min tests 📄log
✔️ 2494050 #5 2025-12-19 02:31:07 ~4 min linux/status-go 📦zip
✔️ 2494050 #5 2025-12-19 02:31:44 ~4 min macos/status-go 📦zip
✔️ 2494050 #5 2025-12-19 02:32:42 ~5 min windows/status-go 📦zip
✔️ 2494050 #5 2025-12-19 02:34:54 ~7 min linux/nwaku 📦zip
✔️ 2494050 #5 2025-12-19 02:35:29 ~8 min macos/nwaku 📦zip
2494050 #5 2025-12-19 02:37:20 ~10 min windows/nwaku 📄log
✔️ 2494050 #5 2025-12-19 02:44:41 ~17 min tests-rpc 📄log
✔️ 2494050 #5 2025-12-19 02:45:00 ~17 min tests-rpc 📄log
✖️ 2494050 #6 2025-12-19 02:55:40 ~28 min tests 📄log
✖️ 2494050 #5 2025-12-19 02:56:30 ~29 min tests 📄log
✔️ 821069e #6 2025-12-19 17:04:14 ~4 min linux/status-go 📦zip
821069e #6 2025-12-19 17:04:26 ~4 min macos/nwaku 📄log
✔️ 821069e #6 2025-12-19 17:04:47 ~4 min macos/status-go 📦zip
✔️ 821069e #6 2025-12-19 17:08:39 ~8 min linux/nwaku 📦zip
✔️ 821069e #6 2025-12-19 17:09:39 ~9 min windows/status-go 📦zip
821069e #6 2025-12-19 17:10:38 ~10 min windows/nwaku 📄log
✔️ 821069e #6 2025-12-19 17:18:58 ~18 min tests-rpc 📄log
✔️ 821069e #6 2025-12-19 17:20:22 ~20 min tests-rpc 📄log
✔️ 821069e #6 2025-12-19 17:30:33 ~30 min tests 📄log
b44643f #7 2025-12-19 17:08:51 ~4 min macos/nwaku 📄log
✔️ b44643f #7 2025-12-19 17:08:57 ~4 min linux/status-go 📦zip
✔️ b44643f #7 2025-12-19 17:09:33 ~4 min macos/status-go 📦zip
✔️ b44643f #7 2025-12-19 17:16:07 ~6 min windows/status-go 📦zip
✔️ b44643f #7 2025-12-19 17:18:27 ~9 min linux/nwaku 📦zip
b44643f #7 2025-12-19 17:19:26 ~8 min windows/nwaku 📄log
✔️ b44643f #8 2025-12-19 17:30:55 ~27 min tests 📄log
✔️ b44643f #7 2025-12-19 17:36:55 ~16 min tests-rpc 📄log
✔️ b44643f #7 2025-12-19 17:37:06 ~17 min tests-rpc 📄log
✔️ b44643f #7 2025-12-19 18:01:33 ~30 min tests 📄log
✔️ b300be1 #8 2025-12-19 20:24:27 ~4 min linux/status-go 📦zip
✔️ b300be1 #8 2025-12-19 20:25:05 ~4 min macos/status-go 📦zip
✔️ b300be1 #8 2025-12-19 20:26:15 ~5 min windows/status-go 📦zip
✔️ b300be1 #8 2025-12-19 20:28:29 ~8 min linux/nwaku 📦zip
✔️ b300be1 #8 2025-12-19 20:28:47 ~8 min macos/nwaku 📦zip
b300be1 #8 2025-12-19 20:32:52 ~12 min windows/nwaku 📄log
✔️ b300be1 #8 2025-12-19 20:37:36 ~17 min tests-rpc 📄log
✔️ b300be1 #8 2025-12-19 20:38:39 ~18 min tests-rpc 📄log
✖️ b300be1 #8 2025-12-19 20:46:54 ~26 min tests 📄log
✔️ b300be1 #9 2025-12-19 20:49:18 ~28 min tests 📄log
✔️ b300be1 #9 2025-12-19 23:14:29 ~4 min linux/status-go 📦zip
✔️ b300be1 #9 2025-12-19 23:16:39 ~6 min windows/status-go 📦zip
✔️ b300be1 #9 2025-12-19 23:16:39 ~6 min macos/status-go 📦zip
✔️ b300be1 #9 2025-12-19 23:18:06 ~8 min linux/nwaku 📦zip
✔️ b300be1 #9 2025-12-19 23:18:33 ~8 min macos/nwaku 📦zip
b300be1 #9 2025-12-19 23:20:17 ~10 min windows/nwaku 📄log
✖️ b300be1 #9 2025-12-19 23:26:35 ~16 min tests-rpc 📄log
✔️ b300be1 #9 2025-12-19 23:27:29 ~17 min tests-rpc 📄log
✖️ b300be1 #9 2025-12-19 23:38:57 ~28 min tests 📄log
✔️ 026c3d3 #10 2025-12-20 00:57:06 ~4 min linux/status-go 📦zip
✔️ 026c3d3 #10 2025-12-20 00:57:43 ~4 min macos/status-go 📦zip
✔️ 026c3d3 #10 2025-12-20 00:58:52 ~5 min windows/status-go 📦zip
✔️ 026c3d3 #10 2025-12-20 01:00:57 ~7 min linux/nwaku 📦zip
✔️ 026c3d3 #10 2025-12-20 01:01:40 ~8 min macos/nwaku 📦zip
026c3d3 #10 2025-12-20 01:03:25 ~10 min windows/nwaku 📄log
✖️ 026c3d3 #10 2025-12-20 01:15:32 ~22 min tests-rpc 📄log
✖️ 026c3d3 #10 2025-12-20 01:15:53 ~22 min tests-rpc 📄log
✖️ 026c3d3 #11 2025-12-20 01:19:24 ~26 min tests 📄log
✖️ 026c3d3 #10 2025-12-20 01:24:23 ~31 min tests 📄log
✖️ 026c3d3 #12 2025-12-20 16:06:40 ~30 min tests 📄log
✔️ 0ddaffa #11 2025-12-22 12:14:25 ~4 min linux/status-go 📦zip
0ddaffa #11 2025-12-22 12:14:33 ~4 min macos/nwaku 📄log
✖️ 0ddaffa #11 2025-12-22 12:15:14 ~4 min tests 📄log
✖️ 0ddaffa #13 2025-12-22 12:16:13 ~5 min tests 📄log
✔️ 0ddaffa #11 2025-12-22 12:16:29 ~5 min windows/status-go 📦zip
✔️ 0ddaffa #11 2025-12-22 12:18:10 ~7 min macos/status-go 📦zip
✔️ 0ddaffa #11 2025-12-22 12:18:11 ~7 min linux/nwaku 📦zip
0ddaffa #11 2025-12-22 12:23:30 ~12 min windows/nwaku 📄log
✖️ 0ddaffa #11 2025-12-22 12:28:45 ~18 min tests-rpc 📄log
✖️ 0ddaffa #11 2025-12-22 12:29:16 ~18 min tests-rpc 📄log
✖️ 2675b3b #14 2025-12-22 13:23:04 ~1 min tests 📄log
✔️ 2675b3b #12 2025-12-22 13:25:53 ~4 min linux/status-go 📦zip
✔️ 2675b3b #12 2025-12-22 13:26:26 ~4 min macos/status-go 📦zip
✔️ 2675b3b #12 2025-12-22 13:27:41 ~6 min windows/status-go 📦zip
✔️ 2675b3b #12 2025-12-22 13:30:22 ~9 min linux/nwaku 📦zip
✔️ 2675b3b #12 2025-12-22 13:31:00 ~9 min macos/nwaku 📦zip
2675b3b #12 2025-12-22 13:32:57 ~11 min windows/nwaku 📄log
✔️ 2675b3b #12 2025-12-22 13:39:24 ~17 min tests-rpc 📄log
✖️ 2675b3b #12 2025-12-22 13:41:21 ~19 min tests-rpc 📄log
✖️ 2675b3b #12 2025-12-22 13:57:33 ~36 min tests 📄log
✖️ 2675b3b #15 2025-12-22 14:00:42 ~36 min tests 📄log
e43ad91 #13 2025-12-22 14:14:55 ~4 min macos/nwaku 📄log
✔️ e43ad91 #13 2025-12-22 14:15:33 ~4 min linux/status-go 📦zip
✔️ e43ad91 #13 2025-12-22 14:15:35 ~4 min windows/status-go 📦zip
✔️ e43ad91 #13 2025-12-22 14:15:44 ~4 min macos/status-go 📦zip
e43ad91 #13 2025-12-22 14:17:24 ~6 min windows/nwaku 📄log
✔️ e43ad91 #13 2025-12-22 14:19:40 ~8 min linux/nwaku 📦zip
✔️ e43ad91 #13 2025-12-22 14:33:21 ~22 min tests-rpc 📄log
✔️ e43ad91 #13 2025-12-22 14:33:42 ~22 min tests-rpc 📄log
✖️ e43ad91 #13 2025-12-22 14:52:15 ~41 min tests 📄log
✔️ e43ad91 #16 2025-12-22 14:53:38 ~42 min tests 📄log
✖️ e43ad91 #14 2025-12-22 15:00:48 ~4 min tests 📄log
✖️ e43ad91 #15 2025-12-22 15:41:02 ~38 min tests 📄log
✔️ e43ad91 #16 2025-12-22 16:20:29 ~37 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ ca8d9f0 #14 2025-12-22 18:17:36 ~4 min linux/status-go 📦zip
✔️ ca8d9f0 #14 2025-12-22 18:18:31 ~4 min macos/status-go 📦zip
✔️ ca8d9f0 #14 2025-12-22 18:19:34 ~5 min windows/status-go 📦zip
ca8d9f0 #14 2025-12-22 18:19:50 ~6 min windows/nwaku 📄log
✔️ ca8d9f0 #14 2025-12-22 18:21:26 ~7 min linux/nwaku 📦zip
✔️ ca8d9f0 #14 2025-12-22 18:22:13 ~8 min macos/nwaku 📦zip
✔️ ca8d9f0 #14 2025-12-22 18:32:00 ~18 min tests-rpc 📄log
✔️ ca8d9f0 #14 2025-12-22 18:32:17 ~18 min tests-rpc 📄log
✔️ ca8d9f0 #17 2025-12-22 18:48:45 ~35 min tests 📄log
✔️ ca8d9f0 #17 2025-12-22 18:49:13 ~35 min tests 📄log
✔️ 0a713ec #15 2025-12-22 18:30:23 ~4 min linux/status-go 📦zip
✔️ 0a713ec #15 2025-12-22 18:31:35 ~5 min macos/status-go 📦zip
0a713ec #15 2025-12-22 18:31:51 ~5 min windows/nwaku 📄log
✔️ 0a713ec #15 2025-12-22 18:32:14 ~5 min windows/status-go 📦zip
✔️ 0a713ec #15 2025-12-22 18:35:16 ~9 min linux/nwaku 📦zip
✔️ 0a713ec #15 2025-12-22 18:36:41 ~10 min macos/nwaku 📦zip
✔️ 0a713ec #15 2025-12-22 18:49:16 ~17 min tests-rpc 📄log
✔️ 0a713ec #15 2025-12-22 18:49:56 ~17 min tests-rpc 📄log
✔️ 0a713ec #18 2025-12-22 19:26:17 ~37 min tests 📄log
✔️ 0a713ec #18 2025-12-22 19:27:26 ~38 min tests 📄log

@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 56.56566% with 43 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.37%. Comparing base (85403a1) to head (0a713ec).
⚠️ Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
pkg/messaging/layers/reliability/sds.go 51.02% 20 Missing and 4 partials ⚠️
pkg/messaging/controller/sender/sender_public.go 0.00% 6 Missing and 1 partial ⚠️
pkg/messaging/controller/processor/processor.go 77.77% 4 Missing and 2 partials ⚠️
pkg/messaging/layers/reliability/reliability.go 66.66% 2 Missing and 1 partial ⚠️
protocol/messenger.go 25.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7227      +/-   ##
===========================================
+ Coverage    60.35%   60.37%   +0.02%     
===========================================
  Files          814      815       +1     
  Lines       113082   113163      +81     
===========================================
+ Hits         68249    68321      +72     
- Misses       37762    37778      +16     
+ Partials      7071     7064       -7     
Flag Coverage Δ
functional 39.60% <43.43%> (+0.14%) ⬆️
unit 54.81% <56.56%> (+0.03%) ⬆️

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

Files with missing lines Coverage Δ
protocol/common/message_sender.go 80.72% <100.00%> (+0.16%) ⬆️
pkg/messaging/layers/reliability/reliability.go 74.35% <66.66%> (-1.36%) ⬇️
protocol/messenger.go 60.89% <25.00%> (+0.05%) ⬆️
pkg/messaging/controller/processor/processor.go 80.44% <77.77%> (-2.83%) ⬇️
pkg/messaging/controller/sender/sender_public.go 73.64% <0.00%> (-4.23%) ⬇️
pkg/messaging/layers/reliability/sds.go 51.02% <51.02%> (ø)

... and 25 files with indirect coverage changes

@igor-sirotin igor-sirotin changed the base branch from develop to fix/test-messenger-cleanup December 19, 2025 17:00
@igor-sirotin igor-sirotin force-pushed the fix/test-messenger-cleanup branch from 4a367d6 to 1748e14 Compare December 19, 2025 18:44
Base automatically changed from fix/test-messenger-cleanup to develop December 19, 2025 23:09
@igor-sirotin igor-sirotin marked this pull request as ready for review December 22, 2025 15:31
@igor-sirotin igor-sirotin requested a review from a team as a code owner December 22, 2025 15:31
Copy link
Contributor

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for it! 💯

* feat: enable sds for wrap message

* chore: add sds default flag

* feat: enable sds for public community message

* fix: always set community id

* feat: add message ID for public params

* chore: move sds to reliability

* chore: refactor flags

* chore: add unit test for sds

* chore: fix test

* chore: add test-single helper

* chore: update Makefile

Co-authored-by: Igor Sirotin <[email protected]>

* chore: update logs

Co-authored-by: Igor Sirotin <[email protected]>

* chore: refactor function name for init sds

* chore: merge upstream

* chore: refactor sds processor

* chore: move sds wrap logic to messaging sender.

* chore: refactor sds manager

* chore: disable sds wrap

* fix: disable Nim signal handler

---------

Co-authored-by: Igor Sirotin <[email protected]>
@igor-sirotin igor-sirotin merged commit 63fe9e7 into develop Dec 22, 2025
26 of 27 checks passed
@igor-sirotin igor-sirotin deleted the feat/sds-unwrapping branch December 22, 2025 19:57
igor-sirotin added a commit that referenced this pull request Dec 23, 2025
* feat: Add SDS unwrap process for received messages (#7149)

* feat: enable sds for wrap message

* chore: add sds default flag

* feat: enable sds for public community message

* fix: always set community id

* feat: add message ID for public params

* chore: move sds to reliability

* chore: refactor flags

* chore: add unit test for sds

* chore: fix test

* chore: add test-single helper

* chore: update Makefile

Co-authored-by: Igor Sirotin <[email protected]>

* chore: update logs

Co-authored-by: Igor Sirotin <[email protected]>

* chore: refactor function name for init sds

* chore: merge upstream

* chore: refactor sds processor

* chore: move sds wrap logic to messaging sender.

* chore: refactor sds manager

* chore: disable sds wrap

* fix: disable Nim signal handler

---------

Co-authored-by: Igor Sirotin <[email protected]>

* fix: cleanup sds manager

* feat: set sds logger

* chore: update sds-go-bindings

* test: named loggers

* test: TestSdsFileDescriptors

* chore: vendor hash

* feat: support updating nim-sds

* fix: TestSdsFileDescriptors skip comment

* chore: bump sds-go-bindings

* chore: bump nim-sds

* chore: vendor hash
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