Skip to content

Research alternatives to go mod graph for Go provider #184

@Strum355

Description

@Strum355

What happened?

There is a difference in the output of go mod graph introduced somewhere between versions 1.20.4 and 1.24.2 of Go, which causes the tests to fail due to a difference in final SBOM generated. We should investigate alternatives that are more stable to go mod graph. Further reading: CycloneDX/cyclonedx-gomod#64

Please provide runtime information.

go version go1.20.4 linux/amd64 and go version go1.24.2 linux/amd64 (supplied via Nix) on main branch of exhort-javascript-api

Relevant log output

$ go version && go mod graph | grep go@
go version go1.24.2 linux/amd64
golang.org/x/example go@1.18
$ go version && go mod graph | grep go@
go version go1.20.4 linux/amd64
<blank>

How can this issue be reproduced?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions