Conversation
|
Thanks @Olshansk! I opened a PR (#850) to fix this and had planned to return to it. However, I like your concept of employing a separate The existing approach configures linter to run only against modified files, allowing some errors to slip through. If we constantly run the linter on the entire codebase (by setting To avoid redundancy, let's remove the current linter step from the main pipeline and get rid of I can apply these changes to your branch if that's okay. |
Sgtm, go ahead! |
|
@Olshansk with linter now checking the whole codebase, it found more issues. I'll investigate them tomorrow. |
Yes, I'm working on this now. I wasn't able to reproduce locally, though, and have some ideas as of why this is happening. |
|
@Olshansk Here's what's happening. The new CI job only pulls the source code, which doesn't include any code-generated stuff. As a result, we got a bunch of I tried to remove the At this point, I think it should be good to go (GTG). I've approved the PR; please merge if you are okay with my changes. |
* pokt/main: [P2P] Integrate background router (#732) Update main README.md [Bug] Fix CI linter errors (#885) [Tooling] Block `IN_THIS_*` comments from passing CI (#889) [Utility] Update E2E feature path template doc (#870) [IBC] Add nil check on proof for membership and non-membership proof creation (#877) Added git diff state to devlog10 Devlog 10 (#872)
Description
Summary generated by Reviewpad on 10 Jul 23 23:40 UTC
This pull request includes the following changes:
.github/workflows/golangci-lint.ymlfor golangci-lint workflow..github/workflows/main.ymlfile by removing thegolangci-lintjob..golangci.ymlfile to remove thetypechecklinter.Makefileto add installation ofhelmandtiltas part ofinstall_cli_depstask.app/client/cli/consensus.gofile by adding an import statement.p2p/config/config.gofile to return an error in theIsValid()method.p2p/raintree/router.gofile by removing the unused import and variable.Overall, this pull request adds a new golangci-lint workflow, updates some workflow files, makes changes to the Makefile, and modifies a few Go files.
Origin Document
I merged something unrelated to main and saw that the CI was broken
https://github.com/pokt-network/pocket/actions/runs/5468898070
Type of change
Please mark the relevant option(s):
List of changes
Testing
make develop_test; if any code changes were mademake test_e2eon k8s LocalNet; if any code changes were madee2e-devnet-testpasses tests on DevNet; if any code was changed