Skip to content

Latest commit

 

History

History
125 lines (111 loc) · 11.3 KB

ValidatedModules.md

File metadata and controls

125 lines (111 loc) · 11.3 KB

Validated Modules

Go modules whose own _test.go suites go2cs converted with go2cs -tests -recurse, built against the converted standard library, ran under the Go-semantics test host, and compared verdict for verdict against a clean go test -json baseline of the same sources — the same bar the standard-library roster holds every package to. A module appears here only when, in every package the run reached, each test either matched go test or is disclosed, by its exact failure, as something the converted code does not do.

Each module's pages are written by the converter beside its conversion and copied here unedited: the module summary sums the per-package proof pages, and each proof page lists every verdict. Every module that go2cs publishes as a NuGet package has, as its summary, the VALIDATION.md that package carries, below the package's notices.

The first nine rows, the modules go2cs publishes as NuGet packages, are readings with Go 1.26.11, built on the go.* 1.26.11.1 standard-library packages, on linux/amd64, at Release with the tiered JIT off, the test host's default. The last four rows (go-difflib, both objx versions and yaml/v3) are also Go 1.26.11 readings on linux/amd64, built instead on the standard library as converted in this repository; their notes below say so. Each summary gives the module's counts of matched and disclosed verdicts. mousetrap has no Go tests, so its row is a behavioral proof instead: one hosted row per RID it ships.

Module Version Packages Platform Proof
golang.org/x/sync v0.19.0 4 linux/amd64 summary
github.com/google/uuid v1.6.0 1 linux/amd64 summary
github.com/golang-jwt/jwt/v5 v5.3.1 2 linux/amd64 summary
github.com/ritchiecarroll/hashset v1.0.0 1 linux/amd64 summary
github.com/spf13/pflag v1.0.9 1 linux/amd64 summary
github.com/inconshreveable/mousetrap v1.1.0 1 win-x64, linux-x64, osx-x64, osx-arm64, linux-arm64 behavior rows
github.com/spf13/cobra v1.10.2 1 linux/amd64 summary
github.com/itchyny/timefmt-go v0.1.8 1 linux/amd64 summary
github.com/itchyny/gojq v0.12.19 1 linux/amd64 summary
github.com/pmezard/go-difflib v1.0.0 1 linux/amd64 summary
github.com/stretchr/objx v0.5.2 1 linux/amd64 summary
github.com/stretchr/objx v0.5.3 1 linux/amd64 summary
go.yaml.in/yaml/v3 v3.0.5 1 linux/amd64 summary

golang.org/x/sync: semaphore's TestWeightedAcquire gives each acquire attempt a 10 ms deadline. With the tiered JIT off, the first attempt compiles the acquire path at full optimization before it can wait, which on the linux/amd64 machine that measured it takes longer than 10 ms, so the test fails there and is disclosed as runtime-capability; the semaphore proof page pins the exact failure. The test depends on timing: on a machine fast enough to pass it, the entry reads as orphaned and the package still validates.

github.com/google/uuid: TestClockSeqRace skips on both sides. TestVersion6 has an upstream race that can fail it on either runtime, so it carries a timing-sensitive disclosure; in this reading both sides passed it, and the entry is reported as orphaned, the ruled alternative reading.

github.com/golang-jwt/jwt/v5: the module also holds cmd/jwt and test, which have no tests of their own.

github.com/inconshreveable/mousetrap: each behavior row is a sample program run on that RID's own hosted runner: the converted program and go run printed the same bytes, and the row names the assembly that loaded. No row stands for another RID.

github.com/spf13/cobra and github.com/itchyny/gojq: each summary names one more package that was validated and is not packed, so it is not counted in the row and its proof page is not shipped: cobra/doc, whose imports are not go2cs NuGet packages, and gojq's cli, whose closure is deferred. gojq's row is the library root; cmd/gojq is a main package.

github.com/pmezard/go-difflib: the release ships no go.mod, so the run converts and tests a copy that carries the go.mod the module cache made for it. Its own go test fails at the vet checks go test runs first: two Example functions name identifiers that do not exist. Go's baseline therefore ran with -vet=off (-test-oracle-vet-off), and both vet findings are stated in its summary. Unlike the nine NuGet-packaged modules' rows, this reading is built on the standard library as converted in this repository at the reading's commit, not on published go.* packages; like them, it is a Go 1.26.11 reading.

github.com/stretchr/objx: its tests use testify, so the run also converts, as dependencies, the packages of testify v1.11.1 they import and testify's own dependencies (go-spew, go-difflib and gopkg.in/yaml.v3). Like go-difflib's, this reading is Go 1.26.11, built on the standard library as converted in this repository at the reading's commit.

github.com/stretchr/objx v0.5.3: the version testify v1.12.1 requires. Its tests use testify, so its run also converts, as dependencies, the testify packages they import. This reading is Go 1.26.11, built on the standard library as converted in this repository at the reading's commit.

go.yaml.in/yaml/v3 v3.0.5: the version testify v1.12.1 requires. Its tests are plain testing tests (v3.0.1, as gopkg.in/yaml.v3, ran its suite through gopkg.in/check.v1), so each test and subtest is its own row. Two of its test names hold a Liquid delimiter, so its proof page carries the raw guard the converter adds to such a page. This reading is Go 1.26.11, built on the standard library as converted in this repository at the reading's commit.