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

ci_: upgrade go to 1.22 #6258

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

ci_: upgrade go to 1.22 #6258

wants to merge 1 commit into from

Conversation

siddarthkay
Copy link
Contributor

@siddarthkay siddarthkay commented Jan 16, 2025

Closes #6254

Summary

Pending

Related

@siddarthkay siddarthkay self-assigned this Jan 16, 2025
@status-im-auto
Copy link
Member

status-im-auto commented Jan 16, 2025

Jenkins Builds

Click to see older builds (87)
Commit #️⃣ Finished (UTC) Duration Platform Result
4622001 #1 2025-01-16 05:46:35 ~1 min windows 📄log
4622001 #1 2025-01-16 05:47:54 ~2 min ios 📄log
4622001 #1 2025-01-16 05:48:29 ~3 min android 📄log
✖️ 4622001 #1 2025-01-16 05:49:15 ~3 min tests-rpc 📄log
4622001 #1 2025-01-16 05:49:51 ~4 min macos 📄log
4622001 #1 2025-01-16 05:50:06 ~4 min linux 📄log
4622001 #1 2025-01-16 05:55:25 ~9 min macos 📄log
✖️ 4622001 #1 2025-01-16 05:56:45 ~11 min tests 📄log
0ede977 #2 2025-01-16 06:54:18 ~48 sec windows 📄log
0ede977 #2 2025-01-16 06:54:33 ~1 min android 📄log
✖️ 0ede977 #2 2025-01-16 06:54:55 ~1 min tests-rpc 📄log
0ede977 #2 2025-01-16 06:55:32 ~2 min macos 📄log
0ede977 #2 2025-01-16 06:56:02 ~2 min linux 📄log
0ede977 #2 2025-01-16 06:56:55 ~3 min macos 📄log
0ede977 #2 2025-01-16 06:58:32 ~5 min ios 📄log
✖️ 0ede977 #2 2025-01-16 07:04:46 ~11 min tests 📄log
f95fafe #3 2025-01-16 07:24:32 ~35 sec windows 📄log
f95fafe #3 2025-01-16 07:24:47 ~55 sec ios 📄log
f95fafe #3 2025-01-16 07:25:18 ~1 min android 📄log
✖️ f95fafe #3 2025-01-16 07:26:01 ~2 min tests-rpc 📄log
f95fafe #3 2025-01-16 07:26:06 ~2 min macos 📄log
f95fafe #3 2025-01-16 07:26:53 ~3 min linux 📄log
f95fafe #3 2025-01-16 07:27:40 ~3 min macos 📄log
✖️ f95fafe #3 2025-01-16 07:28:39 ~4 min tests 📄log
c74ebd3 #4 2025-01-16 07:39:27 ~36 sec windows 📄log
c74ebd3 #4 2025-01-16 07:40:56 ~2 min ios 📄log
✖️ c74ebd3 #4 2025-01-16 07:41:48 ~3 min tests-rpc 📄log
✔️ c74ebd3 #4 2025-01-16 07:42:12 ~3 min android 📦aar
✔️ c74ebd3 #4 2025-01-16 07:43:49 ~5 min macos 📦zip
✔️ c74ebd3 #4 2025-01-16 07:45:04 ~6 min linux 📦zip
✖️ c74ebd3 #4 2025-01-16 07:45:16 ~6 min tests 📄log
✔️ c74ebd3 #4 2025-01-16 07:47:25 ~8 min macos 📦zip
2d2d927 #5 2025-01-16 07:52:14 ~35 sec windows 📄log
✖️ 2d2d927 #5 2025-01-16 07:53:25 ~1 min tests-rpc 📄log
✖️ 2d2d927 #5 2025-01-16 07:54:02 ~2 min tests 📄log
2d2d927 #5 2025-01-16 07:54:07 ~2 min ios 📄log
✔️ 2d2d927 #5 2025-01-16 07:54:20 ~2 min android 📦aar
✔️ 2d2d927 #5 2025-01-16 07:55:19 ~3 min macos 📦zip
✔️ 2d2d927 #5 2025-01-16 07:56:36 ~5 min macos 📦zip
✔️ 2d2d927 #5 2025-01-16 07:57:11 ~5 min linux 📦zip
dd262fa #6 2025-01-16 08:22:37 ~42 sec windows 📄log
✖️ dd262fa #6 2025-01-16 08:24:51 ~2 min tests-rpc 📄log
✔️ dd262fa #6 2025-01-16 08:25:17 ~3 min android 📦aar
✔️ dd262fa #6 2025-01-16 08:25:33 ~3 min ios 📦zip
✖️ dd262fa #6 2025-01-16 08:26:58 ~5 min tests 📄log
✔️ dd262fa #6 2025-01-16 08:27:34 ~5 min linux 📦zip
✔️ dd262fa #6 2025-01-16 08:28:21 ~6 min macos 📦zip
✔️ dd262fa #6 2025-01-16 08:29:55 ~8 min macos 📦zip
4c1feb8 #7 2025-01-16 10:03:39 ~36 sec windows 📄log
✖️ 4c1feb8 #7 2025-01-16 10:04:59 ~2 min tests-rpc 📄log
✔️ 4c1feb8 #7 2025-01-16 10:06:20 ~3 min ios 📦zip
✔️ 4c1feb8 #7 2025-01-16 10:07:21 ~4 min macos 📦zip
✔️ 4c1feb8 #7 2025-01-16 10:07:26 ~4 min android 📦aar
✔️ 4c1feb8 #7 2025-01-16 10:08:24 ~5 min linux 📦zip
✔️ 4c1feb8 #7 2025-01-16 10:09:24 ~6 min macos 📦zip
✔️ 4c1feb8 #7 2025-01-16 10:34:36 ~31 min tests 📄log
b81c608 #8 2025-01-16 10:21:51 ~38 sec windows 📄log
✖️ b81c608 #8 2025-01-16 10:23:27 ~2 min tests-rpc 📄log
✔️ b81c608 #8 2025-01-16 10:23:51 ~2 min ios 📦zip
✔️ b81c608 #8 2025-01-16 10:24:00 ~2 min android 📦aar
✔️ b81c608 #8 2025-01-16 10:25:09 ~4 min macos 📦zip
✔️ b81c608 #8 2025-01-16 10:26:41 ~5 min linux 📦zip
✔️ b81c608 #8 2025-01-16 10:27:06 ~5 min macos 📦zip
6d07bd2 #9 2025-01-16 10:27:07 ~36 sec windows 📄log
✖️ 6d07bd2 #9 2025-01-16 10:28:16 ~1 min tests-rpc 📄log
✔️ 6d07bd2 #9 2025-01-16 10:29:13 ~2 min android 📦aar
✔️ 6d07bd2 #9 2025-01-16 10:29:19 ~2 min ios 📦zip
✔️ 6d07bd2 #9 2025-01-16 10:30:18 ~3 min macos 📦zip
✔️ 6d07bd2 #9 2025-01-16 10:32:19 ~5 min linux 📦zip
✔️ 6d07bd2 #9 2025-01-16 10:32:31 ~5 min macos 📦zip
✔️ 6d07bd2 #8 2025-01-16 11:06:35 ~31 min tests 📄log
b273909 #10 2025-01-16 11:45:28 ~36 sec windows 📄log
✔️ b273909 #10 2025-01-16 11:47:26 ~2 min ios 📦zip
✔️ b273909 #10 2025-01-16 11:47:43 ~2 min android 📦aar
✔️ b273909 #10 2025-01-16 11:48:36 ~3 min macos 📦zip
✔️ b273909 #10 2025-01-16 11:50:16 ~5 min macos 📦zip
✔️ b273909 #10 2025-01-16 11:51:06 ~6 min linux 📦zip
✔️ b273909 #10 2025-01-16 11:51:50 ~7 min tests-rpc 📄log
✔️ b273909 #9 2025-01-16 12:14:50 ~29 min tests 📄log
58e0a24 #11 2025-01-16 11:49:15 ~34 sec windows 📄log
58e0a24 #11 2025-01-16 11:50:48 ~2 min ios 📄log
✔️ 58e0a24 #11 2025-01-16 11:51:19 ~2 min android 📦aar
✔️ 58e0a24 #11 2025-01-16 11:52:40 ~3 min macos 📦zip
✔️ 58e0a24 #11 2025-01-16 11:56:01 ~5 min macos 📦zip
✔️ 58e0a24 #11 2025-01-16 11:56:15 ~5 min linux 📦zip
✔️ 58e0a24 #11 2025-01-16 11:57:55 ~5 min tests-rpc 📄log
58e0a24 #12 2025-01-16 12:00:33 ~2 min ios 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
7372d20 #12 2025-01-16 12:03:05 ~36 sec windows 📄log
✔️ 7372d20 #13 2025-01-16 12:05:00 ~2 min ios 📦zip
✔️ 7372d20 #12 2025-01-16 12:05:28 ~3 min android 📦aar
✔️ 7372d20 #12 2025-01-16 12:06:11 ~3 min macos 📦zip
✔️ 7372d20 #12 2025-01-16 12:07:50 ~5 min macos 📦zip
✔️ 7372d20 #12 2025-01-16 12:08:12 ~5 min linux 📦zip
✔️ 7372d20 #12 2025-01-16 12:08:49 ~6 min tests-rpc 📄log
✔️ 7372d20 #10 2025-01-16 12:45:10 ~30 min tests 📄log
87151d7 #13 2025-01-22 10:35:53 ~49 sec windows 📄log
✔️ 87151d7 #14 2025-01-22 10:37:50 ~2 min ios 📦zip
✔️ 87151d7 #13 2025-01-22 10:37:57 ~2 min android 📦aar
✔️ 87151d7 #13 2025-01-22 10:39:58 ~5 min macos 📦zip
✔️ 87151d7 #13 2025-01-22 10:40:35 ~5 min macos 📦zip
✔️ 87151d7 #13 2025-01-22 10:40:44 ~5 min linux 📦zip
✔️ 87151d7 #13 2025-01-22 10:41:43 ~6 min tests-rpc 📄log
✔️ 87151d7 #11 2025-01-22 11:06:58 ~31 min tests 📄log

@siddarthkay siddarthkay force-pushed the bump-go-to-1-23 branch 3 times, most recently from f95fafe to c74ebd3 Compare January 16, 2025 07:38
@siddarthkay siddarthkay changed the title upgrade go to 1.23 upgrade go to 1.22 Jan 16, 2025
@siddarthkay
Copy link
Contributor Author

siddarthkay commented Jan 16, 2025

My initial assumptions were that this failure happens due to a symlink issue in xcode wrapper nix derivation :

/nix/store/8jwwh6r6rhw4lbvmkl7z40hr6qskh9hg-gomobile-0-unstable-2024-12-13/bin/gomobile: 
xcrun --find: exit status 255

[2025-01-16T07:40:55.026Z] error: unable to find sdk: 'iphoneos'

Needs more investigation.

This issue surfaces in nixpkgs-24.11, I did not face this issue in nixpkgs-24.05

@siddarthkay siddarthkay changed the title upgrade go to 1.22 ci: upgrade go to 1.22 Jan 16, 2025
@siddarthkay siddarthkay changed the title ci: upgrade go to 1.22 ci_: upgrade go to 1.22 Jan 16, 2025
@siddarthkay siddarthkay force-pushed the bump-go-to-1-23 branch 3 times, most recently from b273909 to 58e0a24 Compare January 16, 2025 11:48
@siddarthkay siddarthkay marked this pull request as ready for review January 16, 2025 11:48
@siddarthkay siddarthkay requested a review from a team as a code owner January 16, 2025 11:48
@siddarthkay siddarthkay requested a review from a team January 16, 2025 11:49
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.

Looks noice! Did you consider immediate switch to Go 1.23? Did it not work out as simple?
Because 1.22 will be outdated in 1 month 😐

And we probably must ensure mobile/desktop builds before merging ofc, just a heads up.

@siddarthkay
Copy link
Contributor Author

Did it not work out as simple

I first tried with 1.23, there were many issues, I tried to outline the recommended steps here #6254 (comment)

Copy link

codecov bot commented Jan 16, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 61.05%. Comparing base (3e0b1b2) to head (87151d7).

Files with missing lines Patch % Lines
params/config.go 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #6258      +/-   ##
===========================================
- Coverage    61.92%   61.05%   -0.88%     
===========================================
  Files          843      862      +19     
  Lines       111286   112696    +1410     
===========================================
- Hits         68918    68801     -117     
- Misses       34388    35921    +1533     
+ Partials      7980     7974       -6     
Flag Coverage Δ
functional 21.55% <0.00%> (-0.03%) ⬇️
unit 59.54% <0.00%> (-0.87%) ⬇️

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

Files with missing lines Coverage Δ
protocol/communities/persistence.go 70.65% <ø> (-0.15%) ⬇️
services/wallet/token/token.go 54.97% <ø> (ø)
params/config.go 69.02% <0.00%> (ø)

... and 49 files with indirect coverage changes

Copy link
Member

@yakimant yakimant left a comment

Choose a reason for hiding this comment

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

Looks good, but please leave comments on not obvious things.

})
];
}));
gomobile = callPackage ./pkgs/gomobile { };
Copy link
Member

Choose a reason for hiding this comment

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

Add a comment, why it is needed.

Copy link
Member

Choose a reason for hiding this comment

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

Also, is it just a copy from certain commit (add which one) or some lines were edited (add comments, which ones and why)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I will update comments.
Here i was updating to a newer version of gomobile and using latest derivation from master of nixpkgs.

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.

Upgrade to Go 1.22 or 1.23
5 participants