jsii icon indicating copy to clipboard operation
jsii copied to clipboard

go: do not use sumdb when running go build during pacmak

Open eladb opened this issue 5 years ago • 2 comments

:bug: Bug Report

Affected Languages

  • [x] Golang
  • [ ] TypeScript or Javascript
  • [ ] Python
  • [ ] Java
  • [ ] .NET (C#, F#, ...)

General Information

  • JSII Version: 1.20.0
  • Platform: any

What is the problem?

By default, go get (and go build) uses go sumdb when resolving dependencies, but since sumdb takes some time to cache the module from GitHub, it makes sense that when we run go build during pacmak, we will disable sumdb by setting GOSUMDB=off.

eladb avatar Feb 03 '21 16:02 eladb

Are there concrete side-effects / visible pain associated with this?

RomainMuller avatar Apr 11 '22 13:04 RomainMuller

I think its purely performance

MrArnoldPalmer avatar Apr 11 '22 15:04 MrArnoldPalmer