JCano694968 (Community Member) asked a question.

I packaged a microservice developed in Go 1.24.3, but I'm getting an error preventing me from adding this file for analysis.

I packaged a microservice developed in Go 1.24.3, but I'm getting an error preventing me from adding this file for analysis.

 

Support Issue (fatal): Parse failure: Error:

err: exit status 1: stderr: go: go.mod requires go \u003e= 1.24.3 (running go 1.24.2; GOTOOLCHAIN=local)\n

 

Does Veracode not support parsing Go 1.24.3? Should I use Go 1.24.2, or can I package it another way to work around this error?

 

Information:

Module/File: Go files within mp-svc.zip

Platform:GOLANG / GoLang / GOLANG_1_24

Status: Not Selected as Entry Point

Error: Support Issue (fatal): Parse failure: Error:

err: exit status 1: stderr: go: go.mod requires go \u003e= 1.24.3 (running go 1.24.2; GOTOOLCHAIN=local)\n

 

Regards


  • SamHouston (Veracode)

    Hi @JCano694968 (Community Member)​ -

     

    Your go.mod file sets the minimum version of go that the code will build under to 1.24.3 (see below snippet).

     

     

    module mp-whitelabel-credits-svc

     

    go 1.24.3 // <---- Sets minimum go version to absolute latest

     

    require (

    ...

    )

     

     

    You can change that line to read go 1.24 or even go 1.24.2 and the app will still build on your machines with 1.24.3 installed and it will work with our current release.

     

     

    Expand Post
    Selected as Best
  • SamHouston (Veracode)

    Hi @JCano694968 (Community Member)​ I think we also received a support ticket about this issue. We're currently investigating this and this will be included in the upcoming static hotfix.

  • JCano694968 (Community Member)

    Hi Sam,

     

    Thanks for your response. So, the bug I reported in this community is due to a Veracode incompatibility issue with the latest version of Goland 1.24.3? In what month this year does Veracode plan to implement this improvement in production?

    I should report this to company management.

    Regards,

    Expand Post
    • SamHouston (Veracode)

      Hi @JCano694968 (Community Member)​ -

       

      Your go.mod file sets the minimum version of go that the code will build under to 1.24.3 (see below snippet).

       

       

      module mp-whitelabel-credits-svc

       

      go 1.24.3 // <---- Sets minimum go version to absolute latest

       

      require (

      ...

      )

       

       

      You can change that line to read go 1.24 or even go 1.24.2 and the app will still build on your machines with 1.24.3 installed and it will work with our current release.

       

       

      Expand Post
      Selected as Best

Topics (8)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.