Skip to content

Conversation

@kaichaosun
Copy link
Contributor

@kaichaosun kaichaosun commented Nov 26, 2025

Add SDS unwrap process for received messages.

Important changes:

  • add SDS unwrap process for received message
  • log interested content for SDS callbacks
  • disable SDS wrap by default

Relates #logos-messaging/pm#194

@status-im-auto
Copy link
Member

status-im-auto commented Nov 26, 2025

Jenkins Builds

Click to see older builds (232)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 3e58a47 #1 2025-11-26 08:28:43 ~4 min linux/status-go 📦zip
✔️ 3e58a47 #1 2025-11-26 08:29:11 ~4 min macos/status-go 📦zip
✔️ 3e58a47 #1 2025-11-26 08:30:28 ~5 min windows/status-go 📦zip
✔️ 3e58a47 #1 2025-11-26 08:32:32 ~7 min linux/nwaku 📦zip
✔️ 3e58a47 #1 2025-11-26 08:33:38 ~8 min tests 📄log
✔️ 3e58a47 #1 2025-11-26 08:41:19 ~16 min tests-rpc 📄log
9f42ebb #2 2025-11-27 07:35:19 ~2 min macos/status-go 📄log
9f42ebb #2 2025-11-27 07:35:22 ~2 min windows/status-go 📄log
9f42ebb #2 2025-11-27 07:35:36 ~2 min linux/status-go 📄log
9f42ebb #2 2025-11-27 07:42:15 ~9 min linux/nwaku 📄log
e79a1c9 #3 2025-11-27 07:37:13 ~1 min windows/status-go 📄log
e79a1c9 #3 2025-11-27 07:37:32 ~1 min macos/status-go 📄log
✖️ e79a1c9 #3 2025-11-27 07:37:37 ~2 min tests 📄log
e79a1c9 #3 2025-11-27 07:38:39 ~2 min linux/status-go 📄log
e79a1c9 #3 2025-11-27 07:50:48 ~8 min linux/nwaku 📄log
bfa9be7 #4 2025-11-28 11:14:27 ~1 min linux/status-go 📄log
bfa9be7 #4 2025-11-28 11:14:32 ~1 min windows/status-go 📄log
bfa9be7 #4 2025-11-28 11:14:32 ~1 min macos/status-go 📄log
✖️ bfa9be7 #4 2025-11-28 11:14:50 ~2 min tests 📄log
bfa9be7 #4 2025-11-28 11:22:13 ~9 min linux/nwaku 📄log
✔️ bfa9be7 #4 2025-11-28 11:25:14 ~12 min tests-rpc 📄log
bfa9be7 #1 2025-12-01 11:13:04 ~2 min macos/nwaku 📄log
bfa9be7 #1 2025-12-01 11:30:23 ~4 min windows/nwaku 📄log
✖️ bfa9be7 #1 2025-12-01 12:21:29 ~8 min tests 📄log
✖️ bfa9be7 #1 2025-12-01 13:27:15 ~57 min tests-rpc 📄log
✔️ b659e65 #5 2025-12-08 04:36:57 ~4 min linux/status-go 📦zip
✔️ b659e65 #5 2025-12-08 04:38:01 ~5 min macos/status-go 📦zip
✔️ b659e65 #5 2025-12-08 04:38:37 ~5 min windows/status-go 📦zip
✔️ b659e65 #5 2025-12-08 04:41:03 ~7 min tests 📄log
✔️ b659e65 #5 2025-12-08 04:41:06 ~8 min linux/nwaku 📦zip
✔️ b659e65 #2 2025-12-08 04:42:03 ~9 min macos/nwaku 📦zip
✔️ b659e65 #2 2025-12-08 04:42:31 ~9 min tests 📄log
b659e65 #2 2025-12-08 04:45:27 ~12 min windows/nwaku 📄log
✔️ b659e65 #5 2025-12-08 04:49:39 ~16 min tests-rpc 📄log
✔️ b659e65 #2 2025-12-08 04:49:56 ~16 min tests-rpc 📄log
✖️ 8594a9b #6 2025-12-08 06:43:46 ~1 min tests 📄log
✔️ 8594a9b #6 2025-12-08 06:45:47 ~3 min linux/status-go 📦zip
✔️ 8594a9b #6 2025-12-08 06:46:56 ~4 min macos/status-go 📦zip
✔️ 8594a9b #6 2025-12-08 06:48:01 ~5 min windows/status-go 📦zip
✔️ 8594a9b #6 2025-12-08 06:49:09 ~7 min linux/nwaku 📦zip
✔️ 8594a9b #3 2025-12-08 06:50:57 ~8 min macos/nwaku 📦zip
✔️ 8594a9b #3 2025-12-08 06:51:12 ~9 min tests 📄log
8594a9b #3 2025-12-08 06:54:26 ~12 min windows/nwaku 📄log
✖️ 8594a9b #6 2025-12-08 07:01:39 ~19 min tests-rpc 📄log
✖️ 8594a9b #3 2025-12-08 07:02:07 ~20 min tests-rpc 📄log
✔️ a778255 #7 2025-12-08 09:52:15 ~3 min linux/status-go 📦zip
✖️ a778255 #7 2025-12-08 09:53:10 ~4 min tests 📄log
✔️ a778255 #7 2025-12-08 09:53:27 ~5 min macos/status-go 📦zip
✔️ a778255 #7 2025-12-08 09:54:03 ~5 min windows/status-go 📦zip
✔️ a778255 #7 2025-12-08 09:55:59 ~7 min linux/nwaku 📦zip
✔️ a778255 #4 2025-12-08 09:57:30 ~9 min macos/nwaku 📦zip
✖️ a778255 #4 2025-12-08 09:57:36 ~9 min tests 📄log
a778255 #4 2025-12-08 10:01:04 ~12 min windows/nwaku 📄log
✖️ a778255 #7 2025-12-08 10:08:34 ~20 min tests-rpc 📄log
✖️ a778255 #4 2025-12-08 10:08:59 ~20 min tests-rpc 📄log
✔️ 752ca5e #8 2025-12-08 10:20:13 ~4 min linux/status-go 📦zip
✔️ 752ca5e #8 2025-12-08 10:21:12 ~5 min macos/status-go 📦zip
✔️ 752ca5e #8 2025-12-08 10:24:10 ~8 min linux/nwaku 📦zip
✔️ 752ca5e #5 2025-12-08 10:25:18 ~9 min tests 📄log
✔️ 752ca5e #5 2025-12-08 10:26:35 ~10 min macos/nwaku 📦zip
✔️ 351f552 #9 2025-12-08 10:22:16 ~5 min windows/status-go 📦zip
✔️ 351f552 #9 2025-12-08 10:24:28 ~4 min linux/status-go 📦zip
✔️ 351f552 #9 2025-12-08 10:24:29 ~7 min tests 📄log
✔️ 351f552 #9 2025-12-08 10:26:47 ~5 min macos/status-go 📦zip
351f552 #5 2025-12-08 10:27:09 ~10 min windows/nwaku 📄log
✔️ 351f552 #9 2025-12-08 10:32:51 ~8 min linux/nwaku 📦zip
✔️ 351f552 #6 2025-12-08 10:33:38 ~8 min tests 📄log
✔️ 351f552 #9 2025-12-08 10:33:42 ~16 min tests-rpc 📄log
✖️ 351f552 #6 2025-12-08 10:34:23 ~17 min tests-rpc 📄log
✔️ 351f552 #6 2025-12-08 10:34:56 ~8 min macos/nwaku 📦zip
351f552 #6 2025-12-08 10:37:09 ~9 min windows/nwaku 📄log
✖️ ff1c6ae #7 2025-12-09 05:48:39 ~1 min tests 📄log
✔️ ff1c6ae #10 2025-12-09 05:51:07 ~4 min linux/status-go 📦zip
✔️ ff1c6ae #10 2025-12-09 05:51:56 ~4 min macos/status-go 📦zip
✔️ ff1c6ae #10 2025-12-09 05:52:16 ~5 min windows/status-go 📦zip
✔️ ff1c6ae #10 2025-12-09 05:54:58 ~7 min linux/nwaku 📦zip
✔️ ff1c6ae #10 2025-12-09 05:55:05 ~7 min tests 📄log
✔️ ff1c6ae #7 2025-12-09 05:56:59 ~9 min macos/nwaku 📦zip
ff1c6ae #7 2025-12-09 05:57:09 ~9 min windows/nwaku 📄log
✖️ ff1c6ae #7 2025-12-09 06:06:53 ~19 min tests-rpc 📄log
✖️ ff1c6ae #10 2025-12-09 06:07:11 ~20 min tests-rpc 📄log
✖️ 91b2ff1 #8 2025-12-09 05:50:54 ~2 min tests 📄log
2a01f0e #11 2025-12-09 05:53:41 ~2 min linux/status-go 📄log
✖️ 2a01f0e #9 2025-12-09 05:54:04 ~2 min tests 📄log
2a01f0e #11 2025-12-09 05:55:38 ~3 min macos/status-go 📄log
✔️ a49e237 #11 2025-12-09 05:57:41 ~4 min windows/status-go 📦zip
✔️ a49e237 #12 2025-12-09 05:58:13 ~4 min linux/status-go 📦zip
✔️ a49e237 #12 2025-12-09 06:01:03 ~5 min macos/status-go 📦zip
✔️ a49e237 #10 2025-12-09 06:02:19 ~8 min tests 📄log
✔️ a49e237 #11 2025-12-09 06:03:00 ~7 min linux/nwaku 📦zip
✔️ a49e237 #12 2025-12-09 06:03:34 ~5 min windows/status-go 📦zip
✔️ a49e237 #11 2025-12-09 06:03:39 ~8 min tests 📄log
✔️ a49e237 #8 2025-12-09 06:06:03 ~8 min macos/nwaku 📦zip
a49e237 #8 2025-12-09 06:10:31 ~13 min windows/nwaku 📄log
✔️ a49e237 #8 2025-12-09 06:23:45 ~16 min tests-rpc 📄log
✔️ 1b910af #13 2025-12-09 06:21:59 ~3 min linux/status-go 📦zip
✔️ 1b910af #13 2025-12-09 06:23:13 ~5 min macos/status-go 📦zip
✔️ 1b910af #13 2025-12-09 06:23:56 ~5 min windows/status-go 📦zip
✔️ 1b910af #12 2025-12-09 06:25:48 ~7 min linux/nwaku 📦zip
✔️ 1b910af #12 2025-12-09 06:26:22 ~8 min tests 📄log
✔️ 1b910af #11 2025-12-09 06:27:21 ~9 min tests 📄log
✔️ 1b910af #9 2025-12-09 06:27:26 ~9 min macos/nwaku 📦zip
1b910af #9 2025-12-09 06:28:30 ~10 min windows/nwaku 📄log
✔️ 1b910af #12 2025-12-09 06:35:18 ~16 min tests-rpc 📄log
✔️ 1b910af #9 2025-12-09 06:40:10 ~16 min tests-rpc 📄log
✔️ ffb863f #14 2025-12-09 06:39:54 ~3 min linux/status-go 📦zip
✔️ ffb863f #14 2025-12-09 06:41:30 ~5 min macos/status-go 📦zip
✔️ ffb863f #14 2025-12-09 06:42:47 ~6 min windows/status-go 📦zip
✔️ ffb863f #13 2025-12-09 06:43:49 ~7 min linux/nwaku 📦zip
✔️ ffb863f #13 2025-12-09 06:45:07 ~8 min tests 📄log
✔️ ffb863f #12 2025-12-09 06:45:10 ~8 min tests 📄log
✔️ ffb863f #10 2025-12-09 06:45:34 ~9 min macos/nwaku 📦zip
ffb863f #10 2025-12-09 06:50:26 ~14 min windows/nwaku 📄log
✔️ ffb863f #13 2025-12-09 06:53:29 ~17 min tests-rpc 📄log
✔️ ffb863f #10 2025-12-09 06:57:13 ~16 min tests-rpc 📄log
✔️ 85bbc62 #15 2025-12-09 07:05:17 ~4 min linux/status-go 📦zip
✔️ 85bbc62 #15 2025-12-09 07:06:17 ~5 min macos/status-go 📦zip
✖️ 85bbc62 #13 2025-12-09 07:06:23 ~5 min tests 📄log
✔️ 85bbc62 #15 2025-12-09 07:06:57 ~5 min windows/status-go 📦zip
✔️ 85bbc62 #14 2025-12-09 07:08:45 ~7 min linux/nwaku 📦zip
✔️ 85bbc62 #14 2025-12-09 07:09:42 ~8 min tests 📄log
✔️ 85bbc62 #11 2025-12-09 07:11:40 ~10 min macos/nwaku 📦zip
85bbc62 #11 2025-12-09 07:14:41 ~13 min windows/nwaku 📄log
✖️ 85bbc62 #11 2025-12-09 07:21:57 ~20 min tests-rpc 📄log
✖️ 85bbc62 #14 2025-12-09 07:22:45 ~21 min tests-rpc 📄log
✔️ 3cde176 #16 2025-12-09 07:09:19 ~3 min linux/status-go 📦zip
✖️ 3cde176 #14 2025-12-09 07:11:46 ~5 min tests 📄log
✔️ 3cde176 #16 2025-12-09 07:12:16 ~5 min macos/status-go 📦zip
✔️ 3cde176 #16 2025-12-09 07:14:02 ~6 min windows/status-go 📦zip
✔️ 3cde176 #15 2025-12-09 07:16:33 ~7 min linux/nwaku 📦zip
✔️ 3cde176 #15 2025-12-09 07:17:48 ~7 min tests 📄log
✔️ 3cde176 #12 2025-12-09 07:20:13 ~8 min macos/nwaku 📦zip
3cde176 #12 2025-12-09 07:24:57 ~9 min windows/nwaku 📄log
✔️ 3cde176 #12 2025-12-09 07:38:22 ~16 min tests-rpc 📄log
✔️ 0da398a #17 2025-12-09 09:47:08 ~4 min linux/status-go 📦zip
✔️ 0da398a #17 2025-12-09 09:48:01 ~5 min macos/status-go 📦zip
✔️ 0da398a #17 2025-12-09 09:49:33 ~6 min windows/status-go 📦zip
✔️ 0da398a #16 2025-12-09 09:51:06 ~8 min linux/nwaku 📦zip
✔️ 0da398a #16 2025-12-09 09:51:12 ~8 min tests 📄log
✔️ 0da398a #15 2025-12-09 09:52:07 ~9 min tests 📄log
✔️ 0da398a #13 2025-12-09 09:52:24 ~9 min macos/nwaku 📦zip
0da398a #13 2025-12-09 09:53:18 ~10 min windows/nwaku 📄log
✔️ 0da398a #16 2025-12-09 09:59:47 ~16 min tests-rpc 📄log
✔️ 0da398a #13 2025-12-09 10:02:13 ~19 min tests-rpc 📄log
✔️ 80d3aec #18 2025-12-09 09:57:36 ~4 min linux/status-go 📦zip
✔️ 80d3aec #18 2025-12-09 09:58:46 ~5 min macos/status-go 📦zip
✔️ 80d3aec #18 2025-12-09 09:59:28 ~5 min windows/status-go 📦zip
✖️ 80d3aec #16 2025-12-09 09:59:38 ~5 min tests 📄log
✔️ 80d3aec #17 2025-12-09 10:01:42 ~8 min linux/nwaku 📦zip
✔️ 80d3aec #17 2025-12-09 10:04:03 ~10 min tests 📄log
✔️ 80d3aec #14 2025-12-09 10:04:11 ~10 min macos/nwaku 📦zip
80d3aec #14 2025-12-09 10:04:41 ~10 min windows/nwaku 📄log
✔️ d889036 #19 2025-12-09 10:01:54 ~4 min linux/status-go 📦zip
✔️ d889036 #19 2025-12-09 10:04:48 ~5 min macos/status-go 📦zip
✔️ d889036 #19 2025-12-09 10:05:53 ~5 min windows/status-go 📦zip
✔️ d889036 #17 2025-12-09 10:08:36 ~8 min tests 📄log
✔️ d889036 #18 2025-12-09 10:10:22 ~8 min linux/nwaku 📦zip
✔️ d889036 #15 2025-12-09 10:12:58 ~8 min macos/nwaku 📦zip
✔️ d889036 #18 2025-12-09 10:13:53 ~9 min tests 📄log
d889036 #15 2025-12-09 10:14:56 ~9 min windows/nwaku 📄log
✔️ d889036 #17 2025-12-09 10:16:59 ~17 min tests-rpc 📄log
✔️ d889036 #14 2025-12-09 10:19:21 ~16 min tests-rpc 📄log
✔️ 6807d4a #20 2025-12-10 12:53:03 ~4 min linux/status-go 📦zip
✔️ 6807d4a #20 2025-12-10 12:53:48 ~4 min macos/status-go 📦zip
✔️ 6807d4a #20 2025-12-10 12:54:35 ~5 min windows/status-go 📦zip
✔️ 6807d4a #19 2025-12-10 12:56:34 ~7 min tests 📄log
✔️ 6807d4a #19 2025-12-10 12:56:48 ~7 min linux/nwaku 📦zip
6807d4a #16 2025-12-10 12:57:28 ~8 min macos/nwaku 📄log
✔️ 6807d4a #18 2025-12-10 12:57:46 ~8 min tests 📄log
6807d4a #16 2025-12-10 12:59:09 ~9 min windows/nwaku 📄log
✖️ 6807d4a #18 2025-12-10 13:08:28 ~19 min tests-rpc 📄log
✖️ 6807d4a #15 2025-12-10 13:08:47 ~19 min tests-rpc 📄log
✔️ 514bce7 #21 2025-12-10 12:57:17 ~3 min linux/status-go 📦zip
✔️ 514bce7 #21 2025-12-10 12:59:03 ~4 min macos/status-go 📦zip
✔️ 514bce7 #21 2025-12-10 13:01:31 ~6 min windows/status-go 📦zip
✔️ 514bce7 #20 2025-12-10 13:05:37 ~8 min tests 📄log
✔️ 514bce7 #20 2025-12-10 13:06:16 ~9 min linux/nwaku 📦zip
✔️ 514bce7 #17 2025-12-10 13:06:23 ~8 min macos/nwaku 📦zip
✔️ 514bce7 #19 2025-12-10 13:07:53 ~9 min tests 📄log
514bce7 #17 2025-12-10 13:13:09 ~13 min windows/nwaku 📄log
✔️ 514bce7 #16 2025-12-10 13:25:04 ~16 min tests-rpc 📄log
✔️ db68ef8 #22 2025-12-10 15:16:52 ~4 min linux/status-go 📦zip
✔️ db68ef8 #22 2025-12-10 15:17:32 ~5 min macos/status-go 📦zip
✔️ db68ef8 #22 2025-12-10 15:18:55 ~6 min windows/status-go 📦zip
✔️ db68ef8 #21 2025-12-10 15:20:25 ~8 min linux/nwaku 📦zip
✔️ db68ef8 #20 2025-12-10 15:21:14 ~8 min tests 📄log
✔️ db68ef8 #18 2025-12-10 15:22:18 ~9 min macos/nwaku 📦zip
✔️ db68ef8 #21 2025-12-10 15:22:41 ~10 min tests 📄log
db68ef8 #18 2025-12-10 15:23:49 ~11 min windows/nwaku 📄log
✖️ db68ef8 #20 2025-12-10 15:32:33 ~20 min tests-rpc 📄log
✖️ db68ef8 #17 2025-12-10 15:32:44 ~20 min tests-rpc 📄log
✔️ 13dd00e #23 2025-12-11 01:03:03 ~3 min linux/status-go 📦zip
✔️ 13dd00e #23 2025-12-11 01:04:15 ~4 min macos/status-go 📦zip
✔️ 13dd00e #23 2025-12-11 01:05:16 ~5 min windows/status-go 📦zip
✔️ 13dd00e #22 2025-12-11 01:07:11 ~7 min linux/nwaku 📦zip
✔️ 13dd00e #19 2025-12-11 01:08:41 ~9 min macos/nwaku 📦zip
✔️ 13dd00e #22 2025-12-11 01:09:18 ~9 min tests 📄log
✔️ 13dd00e #21 2025-12-11 01:09:23 ~9 min tests 📄log
13dd00e #19 2025-12-11 01:12:04 ~12 min windows/nwaku 📄log
✖️ 13dd00e #21 2025-12-11 01:19:56 ~20 min tests-rpc 📄log
✖️ 13dd00e #18 2025-12-11 01:20:18 ~20 min tests-rpc 📄log
dc89cf3 #24 2025-12-11 13:03:25 ~5 min macos/status-go 📄log
dc89cf3 #24 2025-12-11 13:04:11 ~6 min windows/status-go 📄log
dc89cf3 #20 2025-12-11 13:04:54 ~7 min macos/nwaku 📄log
dc89cf3 #24 2025-12-11 13:12:36 ~14 min linux/status-go 📄log
dc89cf3 #20 2025-12-11 13:12:56 ~14 min windows/nwaku 📄log
✖️ dc89cf3 #22 2025-12-11 13:14:31 ~16 min tests 📄log
✖️ dc89cf3 #23 2025-12-11 13:14:58 ~17 min tests 📄log
✖️ dc89cf3 #22 2025-12-11 13:16:59 ~19 min tests-rpc 📄log
✖️ dc89cf3 #19 2025-12-11 13:17:00 ~19 min tests-rpc 📄log
dc89cf3 #23 2025-12-11 13:17:12 ~19 min linux/nwaku 📄log
debc507 #21 2025-12-11 13:09:18 ~4 min macos/nwaku 📄log
✔️ debc507 #25 2025-12-11 13:11:01 ~6 min macos/status-go 📦zip
✔️ debc507 #25 2025-12-11 13:13:12 ~8 min windows/status-go 📦zip
debc507 #21 2025-12-11 13:28:33 ~15 min windows/nwaku 📄log
✔️ debc507 #25 2025-12-11 13:41:39 ~28 min linux/status-go 📦zip
✔️ debc507 #23 2025-12-11 13:53:39 ~38 min tests 📄log
✔️ debc507 #24 2025-12-11 13:53:55 ~38 min tests 📄log
✔️ 6f47e1c #26 2025-12-12 03:23:10 ~4 min linux/status-go 📦zip
✔️ 6f47e1c #26 2025-12-12 03:23:56 ~4 min macos/status-go 📦zip
✔️ 6f47e1c #26 2025-12-12 03:24:52 ~5 min windows/status-go 📦zip
✔️ 6f47e1c #25 2025-12-12 03:26:46 ~7 min linux/nwaku 📦zip
✔️ 6f47e1c #25 2025-12-12 03:27:13 ~7 min tests 📄log
✔️ 6f47e1c #22 2025-12-12 03:28:11 ~9 min macos/nwaku 📦zip
✔️ 6f47e1c #24 2025-12-12 03:28:22 ~9 min tests 📄log
6f47e1c #22 2025-12-12 03:31:50 ~12 min windows/nwaku 📄log
✖️ 6f47e1c #21 2025-12-12 03:39:01 ~19 min tests-rpc 📄log
✖️ 6f47e1c #24 2025-12-12 03:39:46 ~20 min tests-rpc 📄log
✔️ e95e82c #27 2025-12-12 05:24:22 ~4 min macos/status-go 📦zip
✔️ e95e82c #27 2025-12-12 05:26:43 ~6 min windows/status-go 📦zip
✔️ e95e82c #23 2025-12-12 05:29:40 ~9 min macos/nwaku 📦zip
e95e82c #23 2025-12-12 05:32:42 ~12 min windows/nwaku 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
15cfb07 #28 2025-12-12 05:28:03 ~3 min macos/status-go 📄log
✔️ dc29214 #29 2025-12-12 05:33:25 ~5 min macos/status-go 📦zip
✔️ dc29214 #28 2025-12-12 05:34:00 ~6 min windows/status-go 📦zip
✔️ dc29214 #24 2025-12-12 05:38:45 ~8 min macos/nwaku 📦zip
✔️ dc29214 #28 2025-12-12 05:40:39 ~5 min linux/status-go 📦zip
✔️ dc29214 #29 2025-12-12 05:40:45 ~6 min windows/status-go 📦zip
✔️ dc29214 #27 2025-12-12 05:43:53 ~7 min linux/nwaku 📦zip
dc29214 #24 2025-12-12 05:44:02 ~10 min windows/nwaku 📄log
✔️ dc29214 #26 2025-12-12 05:45:45 ~9 min tests 📄log
✔️ dc29214 #27 2025-12-12 05:47:32 ~11 min tests 📄log
✖️ dc29214 #23 2025-12-12 05:58:34 ~22 min tests-rpc 📄log
✖️ dc29214 #26 2025-12-12 05:59:04 ~22 min tests-rpc 📄log

@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

❌ Patch coverage is 48.78049% with 42 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.48%. Comparing base (d770406) to head (dc29214).

Files with missing lines Patch % Lines
messaging/layers/reliability/sds.go 52.94% 20 Missing and 4 partials ⚠️
messaging/controller/sender/sender_public.go 0.00% 6 Missing and 1 partial ⚠️
messaging/controller/processor/processor.go 57.14% 4 Missing and 2 partials ⚠️
protocol/messenger.go 0.00% 4 Missing ⚠️
protocol/common/message_sender.go 66.66% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (d770406) and HEAD (dc29214). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (d770406) HEAD (dc29214)
functional 3 2
Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #7149       +/-   ##
============================================
- Coverage    59.76%   39.48%   -20.28%     
============================================
  Files          822      823        +1     
  Lines       113641   113592       -49     
============================================
- Hits         67916    44856    -23060     
- Misses       38849    64453    +25604     
+ Partials      6876     4283     -2593     
Flag Coverage Δ
functional 6.66% <0.00%> (-30.05%) ⬇️
unit 39.19% <48.78%> (-15.68%) ⬇️

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

Files with missing lines Coverage Δ
messaging/layers/reliability/reliability.go 76.38% <100.00%> (+0.67%) ⬆️
protocol/common/message_sender.go 62.84% <66.66%> (-18.56%) ⬇️
protocol/messenger.go 25.00% <0.00%> (-37.10%) ⬇️
messaging/controller/processor/processor.go 78.96% <57.14%> (-7.42%) ⬇️
messaging/controller/sender/sender_public.go 64.34% <0.00%> (-20.91%) ⬇️
messaging/layers/reliability/sds.go 52.94% <52.94%> (ø)

... and 358 files with indirect coverage changes

@kaichaosun kaichaosun force-pushed the feat/sds-log branch 2 times, most recently from e79a1c9 to bfa9be7 Compare November 28, 2025 11:12
@kaichaosun kaichaosun changed the title feat: enable sds for wrap message feat: Add SDS unwrap process for received messages Dec 8, 2025
Copy link
Contributor

@osmaczko osmaczko left a comment

Choose a reason for hiding this comment

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

Thanks for the PR 🙏

Copy link
Member

@jrainville jrainville left a comment

Choose a reason for hiding this comment

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

Nice job, just some small things.

Also, I noticed that you also did some wrapping in this PR, but the description only talks about unwrapping. Just wondering if it's a description error or some commits got into this PR by accident?

if len(msg.EncryptionLayer.Payload) > 0 {
unwrappedMessage, err := r.stack.SDSManager.UnwrapReceivedMessage(msg.EncryptionLayer.Payload)
if err != nil {
r.logger.Warn("SDS: failed to unwrap received message", zap.Error(err))
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we just return the error? If the message was wrapped, there is no way to process it further anyway no?

Copy link
Contributor Author

@kaichaosun kaichaosun Dec 9, 2025

Choose a reason for hiding this comment

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

The error should be returned after the SDS wrap is enable by default, I will disable SDS wrap in the PR after tests, and enable it in newer release as it introduce broken changes.

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.

Thank you!
Just a few minor things. Looking forward to testing it

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.

LGTM, but please get an approval from @osmaczko before merging

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! 🙌
Adding minor nitpicks.
Besides¡, maybe the PR's title doesn't reflect the internal changes? Unless I'm missing somthing.
I thought that first we aimed to perform the unwrap but the code changes seem to perform wrap

Copy link

@jazzz jazzz left a comment

Choose a reason for hiding this comment

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

🚀

@kaichaosun kaichaosun force-pushed the feat/sds-log branch 2 times, most recently from 13dd00e to dc89cf3 Compare December 11, 2025 12:57
Copy link
Contributor

@osmaczko osmaczko left a comment

Choose a reason for hiding this comment

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

Thanks for the update. There is one key issue remaining around exposing reliability from messaging. Please see comments.

}
}

err = r.processSDSLayer(responseMessage)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please invoke it from within processReliabilityLayer? This way process*Layer invocations in processMessage reflect the protocol layers, i.e. SDS is part of reliability.

Copy link
Contributor Author

@kaichaosun kaichaosun Dec 12, 2025

Choose a reason for hiding this comment

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

The current processReliabilityLayer API looks specifically made for mvds. It'll be hard to reason about this PR if refactor this API.

Comment on lines 170 to 174
sdsWrappedPayload, err := s.messaging.Reliability().WrapPayloadForSDS(wrappedMessage, rawMessage.CommunityID)
if err != nil {
return nil, errors.Wrap(err, "failed to wrap payload for SDS")
}
wrappedMessage = sdsWrappedPayload
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
sdsWrappedPayload, err := s.messaging.Reliability().WrapPayloadForSDS(wrappedMessage, rawMessage.CommunityID)
if err != nil {
return nil, errors.Wrap(err, "failed to wrap payload for SDS")
}
wrappedMessage = sdsWrappedPayload
withSDS = true

Then

... messagingtypes.SendPublicParams{
    ...
    withSDS: withSDS,
    ...
}

Copy link
Contributor Author

@kaichaosun kaichaosun Dec 12, 2025

Choose a reason for hiding this comment

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

Put community id into the params and use it for the check of sds looks better. Not reusing the existing CommunityPublicKey, because it seems very different in its downstream usage, and how it gets set.

I remove the condition of ApplicationMetadataMessage_COMMUNITY_DESCRIPTION , as I don't see major blocker for not use sds for this type of message.

Copy link
Contributor

@osmaczko osmaczko left a comment

Choose a reason for hiding this comment

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

Much cleaner, thank you!

@kaichaosun
Copy link
Contributor Author

kaichaosun commented Dec 12, 2025

@status-im/devops please review :)

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.

7 participants