#Nancy security check and PR

25 messages · Page 1 of 1 (latest)

split wharf
#

Guys, im trying make PR (https://github.com/99designs/gqlgen/pull/2432) and nancy reject it for security reason in tests.
It say, that in go.mod present module with 1 known vulnerabilities.

But my PR is about 3 lines of code. I dnt change go.mod and anything else. in "master" i see same module.

How can i resolve this problem?

GitHub

If for something reason we miss go.mod and then run "go run github.com/99designs/gqlgen init" we get cascade errors like:
projects/source/go/test/typeparam/issue51836.dir imports
...

limpid berry
#

which explains why it failed

#

i think it wants you to update gomod deps to pass

#

not sure if the maintainer will like it if the stuff get changed in an unrelated commit

#

just ask a msg there about what they want you to do

split wharf
#

i know, why it failed and i write about it in start topic. In master gomod same module

#

But other PR like my succesfully passed this test, Without update gomod. And i dnt know why

proud mesa
#

@split wharf it is weird that the CI is complaining on your PR, I think it's just a random thing because it happen to check go.mod now, I think any PR openned now would fail

#

Anyway you could send a PR updating the golang.org/x/text/language module or do it in your pr

split wharf
#

In master go.mod with 1.16. If i update gomod with my 1.19 and up-to-date deps it may be bad idea

proud mesa
#

it's not part of go you can update it as-is

split wharf
proud mesa
split wharf
#

"go: upgraded golang.org/x/text v0.3.7 => v0.4.0". Now i have do commit go.mod and send to PR?

proud mesa
split wharf
#

okey. I understand. I will try it now

proud mesa
#

So if CI breaks, you should try v0.3.8

split wharf
split wharf
#

At now it fails in federation test.