Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
merge-queue.sh: wait for the CI run the gate dispatched, not the newest listed (a re-run on the same commit judged an old failed or cancelled run in 18 s)
islandmed49b10ba772ab
diff --git a/scripts/merge-queue.sh b/scripts/merge-queue.shindex 4070d816..01ac64e8 100755--- a/scripts/merge-queue.sh+++ b/scripts/merge-queue.sh@@ -61,12 +61,17 @@ checks_green() { # the PR's own required checks passed (skipped counts as passed}wait_ci() { # wait_ci <branch>: dispatches the full CI on the branch, waits, returns its conclusion- local branch=$1 sha id=""+ local branch=$1 sha id="" oldsha=$(git rev-parse "origin/$branch")+ # The runs this commit already has (a gate run again on the same commit): the new one is the run not among them,+ # not the newest listed, which right after the dispatch is still an old, finished one (11-06: a failed and a+ # cancelled run were judged in 18 s while the new run was building).+ old=$(gh run list -R "$REPO" --workflow ci.yml --branch "$branch" --event workflow_dispatch --json databaseId,headSha \+ -q ".[] | select(.headSha == \"$sha\") | .databaseId")gh workflow run ci.yml -R "$REPO" --ref "$branch" -f full=true >/dev/nullfor _ in $(seq 60); doid=$(gh run list -R "$REPO" --workflow ci.yml --branch "$branch" --event workflow_dispatch --json databaseId,headSha \- -q "[.[] | select(.headSha == \"$sha\")][0].databaseId")+ -q ".[] | select(.headSha == \"$sha\") | .databaseId" | grep -vxF -f <(printf '%s\n' $old) | head -1 || true)[ -n "$id" ] && breaksleep 5done