make check fails on a fresh clone because script/check does not fetch the vendored assets #282
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On a fresh clone,
make checkfails with two errors before it can do anything useful:make bootstrap(ormake assets) fixes it. The error message is excellent and names the exact remedy — this is not a mystery failure. Butmake checkis the gate, and a gate that cannot run on a clean checkout of the repo is a papercut every newcomer pays.Filing it because it has now caught three independent parties in a single session: a deployability audit lane, a PR reviewer, and the repo manager running a release gate — where it briefly looked like
nexthad gone red. Each recovered within a minute, and each lost that minute.The container build is unaffected: the
Dockerfilefetches assets itself, which is why CI has never surfaced this.Definition of done
Pick one and state why:
script/checkensures the vendored assets are present before running tests — either by invoking the fetch itself, or by depending on the target that does. This makesmake checkwork on a clean clone, which is what a gate should do.make checkdeliberately requiresmake bootstrapfirst, and that is documented at the top of the README's Entrypoints section rather than discovered through a test failure.The first is better unless there is a reason the gate must stay side-effect-free — if there is, the second is fine but the documentation is then mandatory, not optional.
Whichever is chosen, verify by executing it against a genuinely fresh
git clonewith no prior state.Not milestoned: it costs a minute once, and the failure explains itself.