Repository navigation
Keep regression fixtures within Git and below the Go module size limit - #210
Merged
Merged
Conversation
Preserve the complete Git checkout corpus while keeping dependency archives below Go's 500 MiB limit. - sent from alixander's Codex
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.
Human
AI
D2 cannot upgrade to the latest parity fixes because Go rejects the repository's module archive: its included source exceeds the 500 MiB limit. Root regression fixtures account for most of the roughly 629 MiB source tree.
Add an empty
testdata/go.mod, following the Go module reference, to omit that test-only directory from dependency archives. Every fixture, oracle helper, and visual comparison remains in Git. The README explains that the full regression suite requires a Git checkout.Validation passed at
6e1f21f3dc2b7d407afd7eedb7f597f488f3effd: full frozen-oracle tests, race detector, vet, WebAssembly build, and all four hosted CI jobs. An actualgo mod downloadwith the checksum database enabled produced a 15,691,066-byte ZIP containing 66,393,446 uncompressed bytes. Two independent reviews verified all 672 archived files against their committed bytes and extracted module files. Runtime packages, embedded Mhchem data, licenses/provenance, and retained internal fixtures remain unchanged and included. All runtime packages build successfully from the downloaded module.