spenpal opened a new issue, #8584:
URL: https://github.com/apache/incubator-devlake/issues/8584

   ## Search before asking
   
   - [x] I had searched in the issues and found no similar issues.
   
   ## What happened
   
   The project has inconsistent Go version requirements across different 
configuration files:
   
   1. **go.mod**: Specifies Go 1.20
   2. **Development tools in Makefile**: Require Go 1.21+ 
(golangci-lint@latest, mockery v2.43.0, swag v1.16.1)  
   3. **.devcontainer/Dockerfile**: Uses Go 1.22 base image
   
   When trying to run `make dep` or other Makefile targets with Go 1.20, users 
get prompted to upgrade to a higher Go version, causing confusion about which 
version is actually required.
   
   ## What do you expect to happen
   
   All Go version specifications should be consistent across the project. The 
go.mod file should reflect the actual minimum Go version required by the 
development toolchain.
   
   ## How to reproduce
   
   1. Install Go 1.20
   2. Clone the repository  
   3. Run `cd backend && make dep`
   4. Observe that development tools request a higher Go version than what's 
specified in go.mod
   
   ## Anything else
   
   This inconsistency creates confusion for new contributors and can lead to 
build failures. The .devcontainer already uses Go 1.22, suggesting this is the 
intended version.
   
   **Suggested fix**: Update go.mod to specify Go 1.22 to match the development 
environment and toolchain requirements.
   
   ## Version
   
   Latest main branch
   
   ## Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ## Code of Conduct
   
   - [x] I agree to follow this project's Code of Conduct


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to