Skip to content

Commit 9ea6f62

Browse files
committed
fix(ci): increase wait time for indexing completion
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
1 parent 9f0e6ba commit 9ea6f62

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/integration-test-cron.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,11 @@ jobs:
292292
# list all the bg jobs
293293
./occ background-job:list
294294
295-
- name: Periodically check context_chat stats for 15 minutes to allow the backend to index the files
295+
- name: Periodically check context_chat stats for 30 minutes to allow the backend to index the files
296296
run: |
297297
success=0
298-
echo "::group::Checking stats periodically for 15 minutes to allow the backend to index the files"
299-
for i in {1..90}; do
298+
echo "::group::Checking stats periodically for 30 minutes to allow the backend to index the files"
299+
for i in {1..180}; do
300300
echo "Checking stats, attempt $i..."
301301
302302
stats_err=$(mktemp)
@@ -416,6 +416,7 @@ jobs:
416416
tail -v -n +1 context_chat_backend/persistent_storage/logs/em_server.log* || echo "No logs in logs directory"
417417
418418
- name: Final stats log
419+
if: always()
419420
run: |
420421
./occ context_chat:stats
421422
./occ context_chat:stats --json

.github/workflows/integration-test-file-listener.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,11 @@ jobs:
284284
# list all the bg jobs
285285
./occ background-job:list
286286
287-
- name: Periodically check context_chat stats for 15 minutes to allow the backend to index the files
287+
- name: Periodically check context_chat stats for 40 minutes to allow the backend to index the files
288288
run: |
289289
success=0
290-
echo "::group::Checking stats periodically for 15 minutes to allow the backend to index the files"
291-
for i in {1..90}; do
290+
echo "::group::Checking stats periodically for 40 minutes to allow the backend to index the files"
291+
for i in {1..240}; do
292292
echo "Checking stats, attempt $i..."
293293
294294
stats_err=$(mktemp)
@@ -544,6 +544,7 @@ jobs:
544544
tail -v -n +1 context_chat_backend/persistent_storage/logs/em_server.log* || echo "No logs in logs directory"
545545
546546
- name: Final stats log
547+
if: always()
547548
run: |
548549
./occ context_chat:stats
549550
./occ context_chat:stats --json

0 commit comments

Comments
 (0)