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

refactor_: remove generated files from source control #5878

Merged
merged 10 commits into from
Oct 3, 2024

Conversation

igor-sirotin
Copy link
Collaborator

@igor-sirotin igor-sirotin commented Sep 25, 2024

Closes #4191

Requires:

Commits

Note

REVIEW BY COMMITS - I opened separate PRs for what was possible.

  • c234347 ci_: run generate, update docker file deps
  • 4ce7f46 fix(Makefile)_: dependent generate target
  • a5fefb5 feat(Makefile)_: generate target
  • 1785615 feat(Makefile)_: clean-generated-files target
  • 490a208 fix_: update go generate instructions
  • 58478f4 chore_: delete generated files
  • 4fe219a fix_: gitignore generated files

Description

  1. All generated files are removed from the repo.
    The only exception is abigen-generated contracts. Makes no sense to regenerate them every time. When needed, can be done with make generate-contracts.

  2. make generate runs generation for all subdirs (except ./contracts).
    No need to specify the list of directories.

  3. All required Makefile targets now have generate as a dependant target.

  4. make generate uses go-generate-fast.
    Full generation takes ~20 seconds. This one has caching and takes <1 second when nothing needs to be re-generated.

  5. On CI we ignore cache and always re-generate.

@status-im-auto
Copy link
Member

status-im-auto commented Sep 25, 2024

Jenkins Builds

Click to see older builds (226)
Commit #️⃣ Finished (UTC) Duration Platform Result
2f6862c #1 2024-09-25 11:22:26 ~2 min ios 📄log
✖️ 2f6862c #1 2024-09-25 11:22:45 ~2 min tests-rpc 📄log
2f6862c #1 2024-09-25 11:22:53 ~2 min android 📄log
2f6862c #1 2024-09-25 11:22:54 ~2 min linux 📄log
✖️ 2f6862c #1 2024-09-25 11:22:54 ~2 min tests 📄log
a510cc9 #2 2024-09-25 11:48:36 ~28 sec android 📄log
a510cc9 #2 2024-09-25 11:48:38 ~29 sec ios 📄log
a510cc9 #2 2024-09-25 11:48:45 ~30 sec linux 📄log
✖️ a510cc9 #2 2024-09-25 11:48:53 ~37 sec tests 📄log
✖️ a510cc9 #2 2024-09-25 11:49:03 ~49 sec tests-rpc 📄log
47328b6 #3 2024-09-25 13:21:11 ~28 sec android 📄log
47328b6 #3 2024-09-25 13:21:14 ~30 sec ios 📄log
47328b6 #3 2024-09-25 13:21:21 ~33 sec linux 📄log
✖️ 47328b6 #3 2024-09-25 13:21:25 ~36 sec tests-rpc 📄log
✖️ 47328b6 #3 2024-09-25 13:21:31 ~41 sec tests 📄log
9f49df4 #4 2024-09-26 16:10:14 ~40 sec linux 📄log
✖️ 9f49df4 #4 2024-09-26 16:10:22 ~41 sec tests 📄log
9f49df4 #4 2024-09-26 16:10:43 ~1 min android 📄log
✖️ 9f49df4 #4 2024-09-26 16:10:44 ~1 min tests-rpc 📄log
9f49df4 #4 2024-09-26 16:11:24 ~1 min ios 📄log
d479911 #5 2024-09-26 16:50:23 ~36 sec linux 📄log
d479911 #5 2024-09-26 16:50:23 ~42 sec android 📄log
d479911 #5 2024-09-26 16:50:32 ~43 sec ios 📄log
✖️ d479911 #5 2024-09-26 16:50:48 ~1 min tests-rpc 📄log
✖️ d479911 #5 2024-09-26 16:50:52 ~1 min tests 📄log
d479911 #1 2024-09-26 17:56:31 ~50 sec linux 📄log
7a55c02 #6 2024-09-26 22:16:45 ~35 sec android 📄log
✖️ 7a55c02 #6 2024-09-26 22:16:56 ~34 sec tests-rpc 📄log
7a55c02 #6 2024-09-26 22:16:56 ~42 sec ios 📄log
7a55c02 #6 2024-09-26 22:17:08 ~55 sec linux 📄log
✖️ 7a55c02 #6 2024-09-26 22:17:17 ~56 sec tests 📄log
042baad #7 2024-09-26 22:34:15 ~35 sec android 📄log
✖️ 042baad #7 2024-09-26 22:34:18 ~32 sec tests-rpc 📄log
042baad #7 2024-09-26 22:34:24 ~42 sec ios 📄log
042baad #7 2024-09-26 22:34:37 ~54 sec linux 📄log
✖️ 042baad #7 2024-09-26 22:34:44 ~57 sec tests 📄log
31e6b65 #8 2024-09-27 14:44:20 ~35 sec android 📄log
31e6b65 #8 2024-09-27 14:44:26 ~40 sec ios 📄log
✖️ 31e6b65 #8 2024-09-27 14:44:42 ~49 sec tests 📄log
31e6b65 #8 2024-09-27 14:44:44 ~56 sec linux 📄log
✖️ 31e6b65 #8 2024-09-27 14:45:34 ~1 min tests-rpc 📄log
efd2605 #9 2024-09-29 17:44:38 ~55 sec ios 📄log
efd2605 #9 2024-09-29 17:44:46 ~56 sec android 📄log
efd2605 #9 2024-09-29 17:44:46 ~55 sec linux 📄log
✖️ efd2605 #9 2024-09-29 17:44:46 ~56 sec tests-rpc 📄log
✖️ efd2605 #9 2024-09-29 17:44:59 ~1 min tests 📄log
3f4a08a #10 2024-09-29 17:45:32 ~18 sec ios 📄log
3f4a08a #10 2024-09-29 17:45:35 ~22 sec android 📄log
✖️ 3f4a08a #10 2024-09-29 17:45:43 ~19 sec tests-rpc 📄log
3f4a08a #10 2024-09-29 17:45:44 ~22 sec linux 📄log
✖️ 3f4a08a #10 2024-09-29 17:46:04 ~43 sec tests 📄log
b4a27ad #11 2024-09-29 18:20:40 ~18 sec ios 📄log
b4a27ad #11 2024-09-29 18:20:42 ~20 sec android 📄log
b4a27ad #11 2024-09-29 18:20:42 ~18 sec linux 📄log
✖️ b4a27ad #11 2024-09-29 18:20:53 ~20 sec tests-rpc 📄log
✖️ b4a27ad #11 2024-09-29 18:21:56 ~1 min tests 📄log
16c9f5e #12 2024-09-30 11:10:24 ~18 sec ios 📄log
16c9f5e #12 2024-09-30 11:10:36 ~30 sec android 📄log
16c9f5e #12 2024-09-30 11:10:48 ~36 sec linux 📄log
✖️ 16c9f5e #12 2024-09-30 11:10:57 ~42 sec tests-rpc 📄log
✖️ 16c9f5e #12 2024-09-30 11:10:57 ~42 sec tests 📄log
3a980dd #13 2024-09-30 11:11:52 ~17 sec ios 📄log
3a980dd #13 2024-09-30 11:12:04 ~29 sec android 📄log
3a980dd #13 2024-09-30 11:12:14 ~35 sec linux 📄log
✖️ 3a980dd #13 2024-09-30 11:12:23 ~36 sec tests 📄log
✖️ 3a980dd #13 2024-09-30 11:12:23 ~41 sec tests-rpc 📄log
e432591 #14 2024-09-30 11:34:32 ~18 sec ios 📄log
e432591 #14 2024-09-30 11:34:44 ~30 sec android 📄log
e432591 #14 2024-09-30 11:34:55 ~39 sec linux 📄log
✖️ e432591 #14 2024-09-30 11:34:55 ~35 sec tests 📄log
✖️ e432591 #14 2024-09-30 11:35:03 ~45 sec tests-rpc 📄log
e68e142 #15 2024-09-30 11:47:44 ~29 sec android 📄log
e68e142 #15 2024-09-30 11:47:58 ~38 sec linux 📄log
✖️ e68e142 #15 2024-09-30 11:48:14 ~52 sec tests 📄log
✖️ e68e142 #15 2024-09-30 11:48:33 ~1 min tests-rpc 📄log
e68e142 #15 2024-09-30 11:49:03 ~1 min ios 📄log
4cf8c9e #16 2024-09-30 14:29:27 ~20 sec ios 📄log
✖️ 4cf8c9e #16 2024-09-30 14:30:01 ~44 sec tests 📄log
✖️ 4cf8c9e #16 2024-09-30 14:30:11 ~54 sec tests-rpc 📄log
4cf8c9e #16 2024-09-30 14:30:26 ~1 min android 📄log
4cf8c9e #16 2024-09-30 14:30:38 ~1 min linux 📄log
064176f #17 2024-09-30 16:10:26 ~21 sec ios 📄log
✖️ 064176f #17 2024-09-30 16:10:57 ~47 sec tests-rpc 📄log
✖️ 064176f #17 2024-09-30 16:11:12 ~57 sec tests 📄log
✔️ 064176f #17 2024-09-30 16:14:08 ~4 min linux 📦zip
✔️ 064176f #17 2024-09-30 16:14:09 ~4 min android 📦aar
9c5ac9b #18 2024-09-30 17:37:05 ~18 sec ios 📄log
✖️ 9c5ac9b #18 2024-09-30 17:37:39 ~49 sec tests-rpc 📄log
✖️ 9c5ac9b #18 2024-09-30 17:38:28 ~1 min tests 📄log
✔️ 9c5ac9b #18 2024-09-30 17:38:41 ~1 min android 📦aar
✔️ 9c5ac9b #18 2024-09-30 17:39:43 ~2 min linux 📦zip
d89ae28 #19 2024-09-30 17:54:02 ~20 sec ios 📄log
✖️ d89ae28 #19 2024-09-30 17:54:34 ~47 sec tests-rpc 📄log
✖️ d89ae28 #19 2024-09-30 17:55:02 ~1 min tests 📄log
✔️ d89ae28 #19 2024-09-30 17:55:09 ~1 min android 📦aar
✔️ d89ae28 #19 2024-09-30 17:56:05 ~2 min linux 📦zip
d75677d #20 2024-09-30 18:08:54 ~18 sec ios 📄log
✖️ d75677d #20 2024-09-30 18:09:33 ~53 sec tests-rpc 📄log
✔️ d75677d #20 2024-09-30 18:10:40 ~2 min android 📦aar
✔️ d75677d #20 2024-09-30 18:10:59 ~2 min linux 📦zip
✖️ d75677d #20 2024-09-30 18:11:07 ~2 min tests 📄log
0d3c7e8 #21 2024-09-30 18:12:31 ~18 sec ios 📄log
✖️ 0d3c7e8 #21 2024-09-30 18:13:08 ~50 sec tests-rpc 📄log
✔️ 0d3c7e8 #21 2024-09-30 18:13:37 ~1 min android 📦aar
✖️ 0d3c7e8 #21 2024-09-30 18:13:57 ~1 min tests 📄log
✔️ 0d3c7e8 #21 2024-09-30 18:14:20 ~2 min linux 📦zip
✖️ 2d432d5 #22 2024-09-30 18:24:36 ~48 sec tests-rpc 📄log
✖️ 2d432d5 #22 2024-09-30 18:24:54 ~1 min tests 📄log
✔️ 2d432d5 #22 2024-09-30 18:25:10 ~1 min android 📦aar
✔️ 2d432d5 #22 2024-09-30 18:25:54 ~2 min linux 📦zip
1ae0238 #23 2024-09-30 18:25:10 ~19 sec ios 📄log
✖️ 1ae0238 #23 2024-09-30 18:25:46 ~49 sec tests-rpc 📄log
✖️ 1ae0238 #23 2024-09-30 18:26:12 ~1 min tests 📄log
✔️ 1ae0238 #23 2024-09-30 18:26:50 ~1 min android 📦aar
✔️ 1ae0238 #23 2024-09-30 18:28:20 ~2 min linux 📦zip
250270e #24 2024-09-30 18:32:06 ~18 sec ios 📄log
✖️ 250270e #24 2024-09-30 18:32:39 ~48 sec tests-rpc 📄log
✖️ 250270e #24 2024-09-30 18:32:59 ~1 min tests 📄log
✔️ 250270e #24 2024-09-30 18:33:17 ~1 min android 📦aar
✔️ 250270e #24 2024-09-30 18:33:50 ~2 min linux 📦zip
7b70b94 #25 2024-09-30 22:38:45 ~20 sec ios 📄log
✖️ 7b70b94 #25 2024-09-30 22:39:14 ~48 sec tests-rpc 📄log
✖️ 7b70b94 #25 2024-09-30 22:39:34 ~1 min tests 📄log
✔️ 7b70b94 #25 2024-09-30 22:39:49 ~1 min android 📦aar
✔️ 7b70b94 #25 2024-09-30 22:40:27 ~2 min linux 📦zip
96fb31c #26 2024-09-30 22:46:46 ~19 sec ios 📄log
✖️ 96fb31c #26 2024-09-30 22:47:20 ~48 sec tests-rpc 📄log
✖️ 96fb31c #26 2024-09-30 22:47:39 ~1 min tests 📄log
✔️ 96fb31c #26 2024-09-30 22:47:56 ~1 min android 📦aar
✔️ 96fb31c #26 2024-09-30 22:48:31 ~2 min linux 📦zip
3f466ac #27 2024-09-30 22:50:21 ~19 sec ios 📄log
✖️ 3f466ac #27 2024-09-30 22:50:48 ~42 sec tests-rpc 📄log
✖️ 3f466ac #27 2024-09-30 22:51:13 ~1 min tests 📄log
✔️ 3f466ac #27 2024-09-30 22:51:28 ~1 min android 📦aar
✔️ 3f466ac #27 2024-09-30 22:52:10 ~2 min linux 📦zip
1e2cba3 #28 2024-09-30 22:51:55 ~18 sec ios 📄log
1e2cba3 #28 2024-09-30 22:52:15 ~30 sec android 📄log
✖️ 1e2cba3 #28 2024-09-30 22:52:25 ~43 sec tests-rpc 📄log
✖️ 1e2cba3 #28 2024-09-30 22:52:38 ~54 sec tests 📄log
1e2cba3 #28 2024-09-30 22:52:58 ~34 sec linux 📄log
✖️ 2a43982 #29 2024-09-30 22:54:42 ~54 sec tests-rpc 📄log
✖️ 2a43982 #29 2024-09-30 22:55:06 ~1 min tests 📄log
✔️ 2a43982 #29 2024-09-30 22:55:22 ~1 min android 📦aar
✔️ 2a43982 #29 2024-09-30 22:56:08 ~2 min linux 📦zip
✔️ 2a43982 #29 2024-09-30 22:58:19 ~4 min ios 📦zip
✖️ 8865560 #30 2024-09-30 22:57:15 ~56 sec tests-rpc 📄log
✔️ 8865560 #30 2024-09-30 22:58:11 ~1 min android 📦aar
✔️ 8865560 #30 2024-09-30 22:59:18 ~2 min linux 📦zip
✔️ 8865560 #30 2024-09-30 23:02:03 ~3 min ios 📦zip
✔️ 8865560 #30 2024-09-30 23:28:54 ~32 min tests 📄log
08a9ec8 #31 2024-10-01 08:55:52 ~21 sec ios 📄log
08a9ec8 #31 2024-10-01 08:56:01 ~30 sec android 📄log
08a9ec8 #31 2024-10-01 08:56:12 ~36 sec linux 📄log
✖️ 08a9ec8 #31 2024-10-01 08:56:21 ~43 sec tests-rpc 📄log
✖️ 08a9ec8 #31 2024-10-01 08:56:35 ~57 sec tests 📄log
beddf1e #32 2024-10-01 09:04:37 ~21 sec ios 📄log
✖️ beddf1e #32 2024-10-01 09:05:15 ~54 sec tests-rpc 📄log
✖️ beddf1e #32 2024-10-01 09:05:49 ~1 min tests 📄log
✔️ beddf1e #32 2024-10-01 09:05:55 ~1 min android 📦aar
✔️ beddf1e #32 2024-10-01 09:06:52 ~2 min linux 📦zip
cbaeb6d #33 2024-10-01 16:09:40 ~19 sec ios 📄log
✖️ cbaeb6d #33 2024-10-01 16:10:20 ~54 sec tests-rpc 📄log
✖️ cbaeb6d #33 2024-10-01 16:10:58 ~1 min tests 📄log
✔️ cbaeb6d #33 2024-10-01 16:11:13 ~1 min android 📦aar
✔️ cbaeb6d #33 2024-10-01 16:11:47 ~2 min linux 📦zip
571269e #34 2024-10-01 16:12:44 ~36 sec ios 📄log
✖️ 571269e #34 2024-10-01 16:13:09 ~56 sec tests-rpc 📄log
✖️ 571269e #34 2024-10-01 16:13:37 ~1 min tests 📄log
✔️ 571269e #34 2024-10-01 16:13:48 ~1 min android 📦aar
✔️ 571269e #34 2024-10-01 16:14:43 ~2 min linux 📦zip
9573a40 #35 2024-10-01 16:15:31 ~33 sec android 📄log
9573a40 #35 2024-10-01 16:15:43 ~38 sec ios 📄log
9573a40 #35 2024-10-01 16:15:43 ~37 sec linux 📄log
✖️ 9573a40 #35 2024-10-01 16:15:54 ~44 sec tests-rpc 📄log
✖️ 9573a40 #35 2024-10-01 16:16:07 ~55 sec tests 📄log
cddaad6 #36 2024-10-01 18:17:05 ~33 sec android 📄log
cddaad6 #36 2024-10-01 18:17:25 ~35 sec ios 📄log
cddaad6 #36 2024-10-01 18:17:25 ~37 sec linux 📄log
✖️ cddaad6 #36 2024-10-01 18:17:26 ~43 sec tests-rpc 📄log
✖️ cddaad6 #36 2024-10-01 18:17:29 ~51 sec tests 📄log
✖️ 67191d7 #37 2024-10-01 19:00:24 ~45 sec tests-rpc 📄log
✔️ 67191d7 #37 2024-10-01 19:01:39 ~2 min android 📦aar
✔️ 67191d7 #37 2024-10-01 19:02:00 ~2 min linux 📦zip
✔️ 67191d7 #37 2024-10-01 19:03:19 ~3 min ios 📦zip
✔️ 67191d7 #37 2024-10-01 19:31:03 ~31 min tests 📄log
05ffd28 #38 2024-10-02 11:28:16 ~24 sec android 📄log
05ffd28 #38 2024-10-02 11:28:25 ~26 sec linux 📄log
✖️ 05ffd28 #38 2024-10-02 11:28:31 ~28 sec tests 📄log
✔️ 05ffd28 #38 2024-10-02 11:30:59 ~3 min ios 📦zip
✔️ 05ffd28 #38 2024-10-02 11:31:28 ~3 min tests-rpc 📄log
✖️ e549f6c #39 2024-10-02 11:44:06 ~1 min tests 📄log
✔️ e549f6c #39 2024-10-02 11:45:55 ~3 min ios 📦zip
✔️ e549f6c #39 2024-10-02 11:46:09 ~3 min linux 📦zip
✔️ e549f6c #39 2024-10-02 11:46:10 ~3 min tests-rpc 📄log
✔️ e549f6c #39 2024-10-02 11:47:57 ~5 min android 📦aar
✔️ c7792b0 #40 2024-10-02 11:50:19 ~2 min linux 📦zip
✔️ c7792b0 #40 2024-10-02 11:51:01 ~2 min android 📦aar
✔️ c7792b0 #40 2024-10-02 11:51:16 ~3 min tests-rpc 📄log
✔️ c7792b0 #40 2024-10-02 11:51:30 ~4 min ios 📦zip
✔️ 1e232c1 #41 2024-10-02 11:53:15 ~1 min tests-rpc 📄log
✔️ 1e232c1 #41 2024-10-02 11:53:29 ~1 min android 📦aar
✖️ 5becff3 #41 2024-10-02 11:54:53 ~1 min tests 📄log
✔️ 5becff3 #42 2024-10-02 11:55:22 ~3 min ios 📦zip
✔️ 5becff3 #42 2024-10-02 11:55:40 ~1 min android 📦aar
✔️ 5becff3 #42 2024-10-02 11:55:41 ~2 min tests-rpc 📄log
✔️ 5becff3 #42 2024-10-02 11:55:52 ~2 min linux 📦zip
✔️ c234347 #43 2024-10-02 12:02:12 ~1 min android 📦aar
✔️ c234347 #43 2024-10-02 12:02:23 ~1 min tests-rpc 📄log
✔️ c234347 #43 2024-10-02 12:03:01 ~2 min ios 📦zip
✔️ c234347 #43 2024-10-02 12:03:26 ~3 min linux 📦zip
✔️ c234347 #42 2024-10-02 12:32:15 ~31 min tests 📄log
✔️ ac38f50 #44 2024-10-02 20:02:56 ~1 min android 📦aar
✔️ ac38f50 #44 2024-10-02 20:03:38 ~2 min linux 📦zip
✔️ ac38f50 #44 2024-10-02 20:04:07 ~2 min ios 📦zip
✔️ ac38f50 #44 2024-10-02 20:04:53 ~3 min tests-rpc 📄log
✔️ ac38f50 #43 2024-10-02 20:33:33 ~32 min tests 📄log
✔️ c631968 #45 2024-10-02 20:13:01 ~1 min android 📦aar
✔️ c631968 #45 2024-10-02 20:13:41 ~2 min linux 📦zip
✔️ c631968 #45 2024-10-02 20:14:53 ~3 min tests-rpc 📄log
✔️ c631968 #45 2024-10-02 20:15:12 ~3 min ios 📦zip
✔️ c631968 #44 2024-10-02 21:06:35 ~32 min tests 📄log
✔️ c04765a #46 2024-10-03 13:57:18 ~3 min ios 📦zip
✔️ c04765a #46 2024-10-03 13:57:35 ~3 min tests-rpc 📄log
✔️ c04765a #46 2024-10-03 13:58:36 ~4 min linux 📦zip
✔️ c04765a #46 2024-10-03 13:59:10 ~5 min android 📦aar
✔️ c04765a #45 2024-10-03 14:27:59 ~34 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
3f9bfb3 #47 2024-10-03 17:49:07 ~21 sec ios 📄log
✔️ 3f9bfb3 #47 2024-10-03 17:50:59 ~2 min android 📦aar
✔️ 3f9bfb3 #47 2024-10-03 17:51:29 ~2 min linux 📦zip
✔️ 3f9bfb3 #47 2024-10-03 17:52:44 ~3 min tests-rpc 📄log
✔️ 3f9bfb3 #46 2024-10-03 18:20:41 ~31 min tests 📄log
✔️ bde82a2 #48 2024-10-03 17:56:25 ~1 min tests-rpc 📄log
✔️ bde82a2 #48 2024-10-03 17:56:26 ~1 min android 📦aar
✔️ bde82a2 #48 2024-10-03 17:57:30 ~2 min linux 📦zip
✔️ bde82a2 #48 2024-10-03 17:57:56 ~3 min ios 📦zip
✔️ bde82a2 #47 2024-10-03 18:53:21 ~32 min tests 📄log

@igor-sirotin igor-sirotin force-pushed the chore/remove-generated-files branch 3 times, most recently from 3f4a08a to b4a27ad Compare September 29, 2024 18:20
@igor-sirotin
Copy link
Collaborator Author

igor-sirotin commented Sep 30, 2024

Something's wrong when running go-generate-fast in nix-shell.

[nix-shell:~/Repositories/Status/status-go]$ GO_GENERATE_FAST_DISABLE=1 go-generate-fast services/wallet/token/token.go
2024/09/30 11:33:46 Loading input failed: token.go:92:2: could not parse package github.com/status-im/status-go/services/wallet/token/balancefetcher: cannot find package "github.com/status-im/status-go/services/wallet/token/balancefetcher" in any of:
        ($GOROOT not set)
        /Users/igorsirotin/go/src/github.com/status-im/status-go/services/wallet/token/balancefetcher (from $GOPATH)
running "mockgen -source=token.go -destination=mock/token/tokenmanager.go": exit status 1
services/wallet/token/token.go: mockgen -source=token.go -destination=mock/token/tokenmanager.go (error, disabled, 354ms)

Same command in zsh:

> GO_GENERATE_FAST_DISABLE=1 go-generate-fast services/wallet/token/token.go
services/wallet/token/token.go: mockgen -source=token.go -destination=mock/token/tokenmanager.go (generated, disabled, 2252ms)

only for some of the files, not all of them. 🤔


UPD:

  • Not mockgen version
  • Works fine when GOROOT is not unset here:

export GOROOT=

@igor-sirotin igor-sirotin force-pushed the chore/remove-generated-files branch 2 times, most recently from 16c9f5e to 3a980dd Compare September 30, 2024 11:11
@igor-sirotin igor-sirotin changed the title chore_: remove generated files and chore_: remove generated files from source control Sep 30, 2024
@igor-sirotin igor-sirotin force-pushed the chore/remove-generated-files branch 3 times, most recently from 4cf8c9e to 064176f Compare September 30, 2024 16:09
@igor-sirotin igor-sirotin changed the title chore_: remove generated files from source control refactor_: remove generated files from source control Sep 30, 2024
@igor-sirotin igor-sirotin force-pushed the chore/remove-generated-files branch 5 times, most recently from 2a43982 to 8865560 Compare September 30, 2024 22:56
@codecov-commenter
Copy link

codecov-commenter commented Sep 30, 2024

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
2802 2 2800 29
View the top 2 failed tests by shortest run time
github.com/status-im/status-go/peers TestPeerPoolSimulationSuite/TestMailServerPeersDiscovery
Stack Traces | 20s run time
=== RUN   TestPeerPoolSimulationSuite/TestMailServerPeersDiscovery&#xA;    peerpool_test.go:101: &#xA;        &#x9;Error Trace:&#x9;.../status-go_prs_tests_PR-5878/peers/peerpool_test.go:101&#xA;        &#x9;            &#x9;&#x9;&#x9;&#x9;.../status-go_prs_tests_PR-5878/peers/peerpool_test.go:378&#xA;        &#x9;Error:      &#x9;timed out waiting for a peer&#xA;        &#x9;Test:       &#x9;TestPeerPoolSimulationSuite/TestMailServerPeersDiscovery&#xA;    peerpool_test.go:379: &#xA;        &#x9;Error Trace:&#x9;.../status-go_prs_tests_PR-5878/peers/peerpool_test.go:379&#xA;        &#x9;Error:      &#x9;Not equal: &#xA;        &#x9;            &#x9;expected: &#34;79d407a600f5cbb9ddd09ff3856fdcbac861629868caa51e768e3413cb861333&#34;&#xA;        &#x9;            &#x9;actual  : &#34;0000000000000000000000000000000000000000000000000000000000000000&#34;&#xA;        &#x9;            &#x9;&#xA;        &#x9;            &#x9;Diff:&#xA;        &#x9;            &#x9;--- Expected&#xA;        &#x9;            &#x9;+++ Actual&#xA;        &#x9;            &#x9;@@ -1 +1 @@&#xA;        &#x9;            &#x9;-79d407a600f5cbb9ddd09ff3856fdcbac861629868caa51e768e3413cb861333&#xA;        &#x9;            &#x9;+0000000000000000000000000000000000000000000000000000000000000000&#xA;        &#x9;Test:       &#x9;TestPeerPoolSimulationSuite/TestMailServerPeersDiscovery&#xA;    peerpool_test.go:112: &#xA;        &#x9;Error Trace:&#x9;.../status-go_prs_tests_PR-5878/peers/peerpool_test.go:112&#xA;        &#x9;            &#x9;&#x9;&#x9;&#x9;.../status-go_prs_tests_PR-5878/peers/peerpool_test.go:382&#xA;        &#x9;Error:      &#x9;timed out waiting a pool event&#xA;        &#x9;Test:       &#x9;TestPeerPoolSimulationSuite/TestMailServerPeersDiscovery&#xA;--- FAIL: TestPeerPoolSimulationSuite/TestMailServerPeersDiscovery (20.01s)&#xA;
github.com/status-im/status-go/peers TestPeerPoolSimulationSuite
Stack Traces | 20s run time
=== RUN   TestPeerPoolSimulationSuite&#xA;--- FAIL: TestPeerPoolSimulationSuite (20.03s)&#xA;

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

@igor-sirotin igor-sirotin force-pushed the chore/remove-generated-files branch 3 times, most recently from c7792b0 to 1e232c1 Compare October 2, 2024 11:48
@status-im-auto
Copy link
Member

✔️ status-go/prs/android/PR-5878#40 🔹 ~3 min 6 sec 🔹 c7792b0 🔹 📦 android package

Copy link
Member

@jakubgs jakubgs left a comment

Choose a reason for hiding this comment

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

Nice work.

@status-im-auto
Copy link
Member

✔️ status-go/prs/tests/PR-5878#46 🔹 ~32 min 🔹 3f9bfb3 🔹 📦 tests package

@igor-sirotin igor-sirotin merged commit c1dd939 into develop Oct 3, 2024
11 of 12 checks passed
@igor-sirotin igor-sirotin deleted the chore/remove-generated-files branch October 3, 2024 19:59
@siddarthkay
Copy link
Contributor

@igor-sirotin : we should probably also have make vendor depend on generate

@igor-sirotin
Copy link
Collaborator Author

igor-sirotin commented Oct 4, 2024

@igor-sirotin : we should probably also have make vendor depend on generate

@siddarthkay hmmm, why? 🤔
UPD: ok I see discord now.

jakubgs pushed a commit to status-im/status-desktop that referenced this pull request Oct 8, 2024
Requires things like: go-bindata mockgen protobuf

Fixes:
#16477

For more details see:
status-im/status-go#5878

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-desktop that referenced this pull request Oct 8, 2024
Requires things like: go-bindata mockgen protobuf

Fixes:
#16477

For more details see:
status-im/status-go#5878

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-desktop that referenced this pull request Oct 8, 2024
Requires things like: go-bindata mockgen protobuf

Fixes:
#16477

For more details see:
status-im/status-go#5878

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-desktop that referenced this pull request Oct 8, 2024
Requires things like: go-bindata mockgen protobuf

Fixes:
#16477

For more details see:
status-im/status-go#5878

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-desktop that referenced this pull request Oct 8, 2024
Requires things like: go-bindata mockgen protobuf

Fixes:
#16477

For more details see:
status-im/status-go#5878

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-desktop that referenced this pull request Oct 8, 2024
Requires things like: go-bindata mockgen protobuf

Fixes:
#16477

For more details see:
status-im/status-go#5878

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-desktop that referenced this pull request Oct 8, 2024
Requires things like: go-bindata mockgen protobuf

Fixes:
#16477

For more details see:
status-im/status-go#5878

Signed-off-by: Jakub Sokołowski <[email protected]>
siddarthkay pushed a commit to status-im/status-desktop that referenced this pull request Oct 8, 2024
Requires things like: go-bindata mockgen protobuf

Fixes:
#16477

For more details see:
status-im/status-go#5878

Signed-off-by: Jakub Sokołowski <[email protected]>
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.

Remove generated files from source control
7 participants