test: expand ecosystem assembly corpus and x86 vector coverage - #40
Draft
cpunion wants to merge 4 commits into
Draft
test: expand ecosystem assembly corpus and x86 vector coverage#40cpunion wants to merge 4 commits into
cpunion wants to merge 4 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
cpunion
force-pushed
the
codex/expand-ecosystem-corpus-20260913
branch
from
September 13, 2026 12:21
f5906c0 to
e92e918
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github.com/aead/siphash@v1.0.1github.com/chain/txvm@v0.0.0-20190422181059-ff6bfbe53892github.com/klauspost/crc32@v1.3.0github.com/phuslu/log@v1.0.132VMOVQ, immediatePSLLQ, all packed integer min/max families, and correct oversized-countPSRLQsemantics.@latestbefore the exact-version seen check, including paths whose indexed historical version had no assembly.sha256(module)[0]shards. Successful no-assembly results are retained, failures remain retryable, and no.gzobject remains in this PR's commit history.TDD evidence
The external tests first reproduced unsupported forms in actual packages:
PSLLQVMOVQPMINUBNative-Go-vs-LLVM22 conformance tests then verified the implemented behavior. The discovery changes also began with failing tests for an indexed no-assembly version whose latest version contains assembly, an indexed-version checkpoint incorrectly suppressing a latest scan, loss of reused match metadata, non-sharded output, and the 8 MiB ZIP prefetch. The prefetch regression observed 8,388,608 bytes before the fix and passes with the 128 KiB tail.
Discovery funnel
The converted historical checkpoint retains these original results. Exact-version inspections can fan out above the unique-path count because that scanner inspected indexed versions and selected resolved-latest versions.
module@versioninspectionsA clean replay of the same 300,000-record input size exercised the new all-path
@latestbehavior:@latest@latest404sAcross both committed runs, exact-key deduplication leaves 111,058 successful
module@versionrecords, 52,053 module paths, 612 assembly-bearing candidates, and 4,147 unresolved exact failure keys. A later successful exact result suppresses the matching failure during ledger aggregation.Global scope and completeness
A separate census of the official default Go module index used 33 contiguous, non-overlapping time partitions from
2019-04-10T00:00:00Zthrough the fixed cutoff2026-09-13T10:49:35Z. Every partition completed, and module paths were deduplicated across partitions.module@versionrecordsThis is not a claim of complete pkg.go.dev or Go-module-universe coverage: it measures the public default index, not
include=all, private modules, or modules never served by the Go services. Within the 52,053-path replay, every path was attempted, but the 4,026 cached-only 404s remain explicitly retryable. Candidate discovery is broader than the strict compilation corpus: all 612 matches are recorded, while this PR continuously compiles 28 curated issue- and coverage-driven libraries.Issue-reported modules are covered as follows:
github.com/coder/websocket@v1.8.15github.com/klauspost/compress@v1.20.0github.com/tmthrgd/go-hex@v0.0.0-20190904060850-447a3041c3bcInstruction coverage
Official Go assembler inputs were checked for Go 1.20 through Go 1.27 on amd64, arm64, 386, arm, and riscv64.
VMOVQ,PSLLQ, and the 12 signed/unsigned packedPMIN*/PMAX*byte, word, and dword families.PSRLQwas already recognized, so its corrected oversized-count semantics are not counted among the 14 new mnemonics.The external-library scan and compilation corpus intentionally uses Go 1.27 plus
llc-22only. The Go 1.20–1.27 matrix applies exclusively to the separate official Go toolchain/standard-library assembly corpus.Validation
go test ./... -count=1go test -race ./... -count=1go vet ./...go mod verifyin every modulegit diff --checkThis PR intentionally remains Draft until the new CI run, Codecov patch coverage, and review all pass.