Skip to content

Conversation

@alexjba
Copy link
Contributor

@alexjba alexjba commented Oct 10, 2025

An attempt to get over this crash #7009. This is based on a superficial investigation to unblock other tasks and I'll merge it only if it's good enough. It's fixing the crash, the synced app seems fine.

Not sure if this will only hide the root cause because the proper flow on pairing is unknown to me. But from what I've seen Waku is only started after login. While subscribe and unsubscribe is used in the pairing flow as well.

@status-im-auto
Copy link
Member

status-im-auto commented Oct 10, 2025

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 0bb63b6 #1 2025-10-10 07:11:31 ~3 min macos/status-go 📦zip
✔️ 0bb63b6 #1 2025-10-10 07:12:26 ~4 min linux/status-go 📦zip
✔️ 0bb63b6 #1 2025-10-10 07:13:50 ~5 min windows/status-go 📦zip
✔️ 0bb63b6 #1 2025-10-10 07:21:54 ~14 min linux/nwaku 📦zip
✔️ 0bb63b6 #1 2025-10-10 07:22:17 ~14 min tests-rpc 📄log
✔️ 0bb63b6 #1 2025-10-10 07:39:05 ~31 min tests 📄log
✔️ 8000720 #2 2025-10-10 09:23:57 ~3 min macos/status-go 📦zip
✔️ 8000720 #2 2025-10-10 09:23:58 ~3 min linux/status-go 📦zip
✔️ 8000720 #2 2025-10-10 09:26:17 ~6 min windows/status-go 📦zip
✔️ 8000720 #2 2025-10-10 09:31:34 ~11 min tests-rpc 📄log
✔️ 8000720 #2 2025-10-10 09:31:48 ~11 min linux/nwaku 📦zip
✔️ 8000720 #2 2025-10-10 09:48:10 ~27 min tests 📄log

@codecov
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

❌ Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.42%. Comparing base (c3bd89f) to head (8000720).
⚠️ Report is 18 commits behind head on develop.

Files with missing lines Patch % Lines
messaging/waku/gowaku.go 0.00% 4 Missing and 2 partials ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (50.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    status-im/status-desktop#6994      +/-   ##
===========================================
+ Coverage    55.13%   59.42%   +4.28%     
===========================================
  Files          820      821       +1     
  Lines       116624   116630       +6     
===========================================
+ Hits         64301    69305    +5004     
+ Misses       45535    40221    -5314     
- Partials      6788     7104     +316     
Flag Coverage Δ
functional 33.74% <0.00%> (?)
unit 55.18% <0.00%> (+0.04%) ⬆️

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

Files with missing lines Coverage Δ
messaging/waku/gowaku.go 65.41% <0.00%> (+4.58%) ⬆️

... and 215 files with indirect coverage changes

Not sure if this will only hide the root cause because the proper flow on pairing is unknown to me. But from what I've seen Waku is only started after login. While `subscribe` and `unsubscribe` is used in the pairing flow as well.
@alexjba alexjba force-pushed the fix/crash-pairing-lightclient branch from 0bb63b6 to 8000720 Compare October 10, 2025 09:19
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.

Looks harmless, feel free to merge. I'll take it over then and provide a proper fix if needed.

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.

Let's merge for now and find the actual fix after 👍
I reproduced it with a functional test here: #7002

@alaibe alaibe merged commit f0fd81a into develop Oct 15, 2025
20 of 21 checks passed
@alaibe alaibe deleted the fix/crash-pairing-lightclient branch October 15, 2025 12:37
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