Skip to content

Using this repository as a submodule has a large git history #225

@alexcrichton

Description

@alexcrichton

Right now Wasmtime pulls in tests from this repository as a submodule, pinned to the prod/testsuite-base branch. This effectively means, though, that when cloning Wasmtime contributors have to clone the full history of this branch, which is quite large. This branch is added to whenever a wasm binary changes, is added, etc, and wasm binaries are all blobs so there's not the ability to share much between commits (it's a lot of big objects). I wanted to open this as an issue because while it's not the biggest of problems now I think this is going to become a scaling problem at some point.

One possible alternative would be to produce downloadable artifacts from CI or similar from this repository rather than committing all wasm binaries to a branch. Wasmtime's tests could then download and unpack this artifact to run all the tests, which would avoid the need to check binaries into Wasmtime's repo as well. This also isn't necessarily great though as fetching artifacts can be annoying, and there might be a lot of artifacts in this repo (e.g. if they were per-commit).

Overall I'm not sure how best to handle this myself, but I wanted to file an issue regardless in case others have better ideas on integration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions