From 69c3b2e5a429c37317be62e3f7e3ed3691af6eaf Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sat, 6 Jun 2026 13:20:12 -0700 Subject: [PATCH] fix(ci): initialize FStar submodules in fstar-master-build workflow (#9746) The `Build FStar master with Z3 master` workflow was failing because FStar's `karamel` submodule was not present after a shallow clone, causing `make` to abort immediately. ## Change - Added `--recurse-submodules` to the `git clone` call for FStar in `.github/workflows/fstar-master-build.yml` ```diff -git clone --depth=1 --branch "$FSTAR_REF" https://github.com/FStarLang/FStar.git /tmp/gh-aw/agent/FStar +git clone --depth=1 --recurse-submodules --branch "$FSTAR_REF" https://github.com/FStarLang/FStar.git /tmp/gh-aw/agent/FStar ``` Failing run: https://github.com/Z3Prover/z3/actions/runs/27072072789/job/79903014692 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- .github/workflows/fstar-master-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fstar-master-build.yml b/.github/workflows/fstar-master-build.yml index 64a9ee89b..a3fd90c0e 100644 --- a/.github/workflows/fstar-master-build.yml +++ b/.github/workflows/fstar-master-build.yml @@ -89,7 +89,7 @@ jobs: run: | set -euo pipefail rm -rf /tmp/gh-aw/agent/FStar - git clone --depth=1 --branch "$FSTAR_REF" https://github.com/FStarLang/FStar.git /tmp/gh-aw/agent/FStar + git clone --depth=1 --recurse-submodules --branch "$FSTAR_REF" https://github.com/FStarLang/FStar.git /tmp/gh-aw/agent/FStar cd /tmp/gh-aw/agent/FStar echo "FStar commit: $(git rev-parse HEAD)" | tee /tmp/gh-aw/agent/fstar-commit.txt