Skip to content

Commit 13bded7

Browse files
committed
maybe that will help
1 parent 1e1aa6a commit 13bded7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/release.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ def send_ci_request_paged(path, payload=None, method=None):
227227

228228

229229
# TODO: Poll until the number of "build-and-test-all" jobs changes from
230-
# zero. Then there's another race, too...
231-
delay_seconds = 30
230+
# zero.
231+
delay_seconds = 10
232232
print(f'sleeping for {delay_seconds} seconds...')
233233
time.sleep(delay_seconds)
234234

@@ -327,6 +327,8 @@ def handle_job(job, work_dir):
327327
while True:
328328
jobs = send_ci_request_paged(f'/workflow/{workflow_id}/job')
329329
for job in jobs:
330+
if job['status'] == 'blocked':
331+
continue
330332
job_number = job['job_number']
331333
if job_number not in done_jobs:
332334
result = handle_job(job, work_dir)

0 commit comments

Comments
 (0)