Skip to content

Commit 4761a01

Browse files
authored
Workaround sporadic git submodule failure (#484)
This is to avoid sporadic failures when trying to download the fuzzing corpus for s2n-quic (a Kani submodule). See https://github.com/model-checking/verify-rust-std/actions/runs/17576564986/job/49923064743 for an example of such a run. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
1 parent 3675c7b commit 4761a01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/run-kani.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ setup_kani_repo() {
132132

133133
git fetch --depth 1 origin "$commit" --quiet
134134
git checkout "$commit" --quiet
135-
git submodule update --init --recursive --depth 1 --quiet
135+
# Workaround for occasionally failing to copy a file in s2n-quic that we
136+
# don't actually care about
137+
GIT_LFS_SKIP_SMUDGE=1 git submodule update --init --recursive --depth 1 --quiet
136138
popd > /dev/null
137139
}
138140

0 commit comments

Comments
 (0)