Skip to content

Commit 4aa1690

Browse files
committed
VT gate: increase timeout to 120 min (was 20 min)
1 parent 3087c2a commit 4aa1690

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -892,9 +892,9 @@ jobs:
892892
fi
893893
fi
894894
895-
# Poll /api/v3/analyses/<id> until status=completed (max 20 min)
895+
# Poll /api/v3/analyses/<id> until status=completed (max 120 min)
896896
SCAN_COMPLETE=false
897-
for attempt in $(seq 1 120); do
897+
for attempt in $(seq 1 720); do
898898
RESULT=$(curl -sf --max-time 10 \
899899
-H "x-apikey: $VT_API_KEY" \
900900
"https://www.virustotal.com/api/v3/analyses/$ANALYSIS_ID" 2>/dev/null || echo "")
@@ -945,10 +945,10 @@ jobs:
945945
# Script files (sh, ps1) are low-priority in VT queue — warn but don't block
946946
case "$BASENAME" in
947947
*.sh|*.ps1)
948-
echo "WARNING: $BASENAME scan did not complete within 20 minutes (script files are low-priority in VT)"
948+
echo "WARNING: $BASENAME scan did not complete within 120 minutes (script files are low-priority in VT)"
949949
;;
950950
*)
951-
echo "BLOCKED: $BASENAME scan did not complete within 20 minutes!"
951+
echo "BLOCKED: $BASENAME scan did not complete within 120 minutes!"
952952
echo "FAIL" >> /tmp/vt_gate_fail
953953
;;
954954
esac

0 commit comments

Comments
 (0)