From 4e0213e89af95a26e172ef21186d61d5f74a34c6 Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Mon, 24 Nov 2025 11:09:38 +0300 Subject: [PATCH 1/2] Fixed github.go --- github/github.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/github/github.go b/github/github.go index 8ea1c36d69..71b96a9182 100644 --- a/github/github.go +++ b/github/github.go @@ -224,7 +224,9 @@ Pages: } previousCursor = edgeNode["cursor"].(string) - minFollowerCount = int(followerCount) + if minFollowerCount == -1 || followerCount < minFollowerCount { + minFollowerCount = followerCount + } } } } From d9ed4878d64f439fffa188c6031f200a05dbc42d Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Wed, 26 Nov 2025 10:16:42 +0300 Subject: [PATCH 2/2] Revert "better handling of random preset-specific failures" This reverts commit ec0197245f2426aa7e66d99a19ed13d900f883e6. --- .github/workflows/daily_update.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/daily_update.yml b/.github/workflows/daily_update.yml index 4024ec0389..d61415abf7 100644 --- a/.github/workflows/daily_update.yml +++ b/.github/workflows/daily_update.yml @@ -27,7 +27,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - import csv, datetime, glob, os, random, re, subprocess, sys + import csv, datetime, glob, os, re, subprocess, sys MAX_IN_RUN = 3 STALE_DAYS = 5 @@ -86,7 +86,6 @@ jobs: if regenerated: subprocess.run('git add *.md _data/locations/*.yml rank_only/*.json && git commit -am "regenerate location pages"', shell=True, check=True) - random.shuffle(to_process) # in case we're getting failures for a specific preset, this should let others move forward for key in to_process[0:MAX_IN_RUN]: print("Running: %s" % key) preset = flookup[key]