chore(ci): show not completed required-checks jobs (#9503)

Seems we are still getting a hang on this workflow. Adding more output
to see which job is hanging.
This commit is contained in:
Jamil
2025-06-10 17:23:13 -07:00
committed by GitHub
parent c31f51d138
commit 82ac72b9c0

View File

@@ -29,7 +29,7 @@ jobs:
- name: Plan jobs to run
id: plan
run: |
set -xe
set -e
jobs="static-analysis,elixir,rust,tauri,kotlin,swift,codeql,build-artifacts,build-perf-artifacts";
@@ -112,7 +112,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
set -xe
set -e
while true; do
jobs_json=$(gh run view ${{ github.run_id }} --json jobs --jq '.jobs | map(select(.name != "required-check"))')
@@ -132,6 +132,9 @@ jobs:
break
fi
echo "Jobs not yet completed:"
echo "$jobs_json" | jq -r '.[] | select(.status != "completed") | "- " + .name + " (Status: " + .status + ")" '
sleep 10
done