Repository navigation
Conversation
… live data; API/push retries
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why the daily-update keeps failing (root cause)
In the last 3 weeks the repo has had 9
daily-updateruns (workflow first ran 2026-10-30): 2 failed, 6 succeeded, 1 manual rerun was still running when this PR was opened. Both failures are the same design flaw: the Verify step ran the whole unit-test suite against the data the job had just fetched, so anything that moves with GitHub failed the run, and a failed run discards the whole day's update (nothing is committed).test_hooks.test_every_ranked_new_repo_has_a_hook_or_is_listed_as_pending— 22 newly ranked repos had no hook yet (CI has no model key)test_repo.test_stats_cover_every_project_and_are_consistent—affaan-m/ECChistory_totalvsstarsdiffered by 3 (limit was 2)Previous fixes (#14 hooks, #15 slack 2 -> 5) each raised one limit; the next live value would have failed again. No rate-limit or push-conflict failures were seen yet, but neither was handled (only 5xx was retried;
git pushhad no retry).Changes
python3 tools/verify.py --daily= compile + newtools/data_checks.py+ README freshness. Unit tests still run inci.ymlon every PR/push.tools/data_checks.py: errors fail (project list mismatch, missing growth, negative gain, inconsistentper_day, no snapshot for today,history_totalvsstarsoff by more thanmax(50, 1%), more than 25% of repos fetched as missing = outage/rate limit). Warnings (::warning::) for small history/star drift (> 5) and a few missing repos; the run stays green.api_get: 5 attempts; backoff for 5xx and network errors;429and rate-limited403honourRetry-After/X-RateLimit-Reset(capped at 120 s); plain 403/404/422 stay final.git pull --rebase origin mainbetween them (main moves when a PR merges mid-run). Concurrency groupdaily-updatewas already there (kept, tested).tools/local_daily.shuses--dailytoo.test_repono longer asserts live drift (delegates todata_checks, errors only).Files
tools/data_checks.py(new),tools/verify.py,tools/update_stars.py,tools/risers_core.py,tools/local_daily.sh,.github/workflows/daily-update.yml,tests/test_daily_robustness.py(new, 19 tests),tests/test_repo.py,tests/test_core.py,docs/DAILY_UPDATE.md, governance docs (CURRENT_PLAN.mdPLAN-004,TODO_BACKLOG.md, WORKLOG/DECISIONS/CHANGELOG).Verification
Not merged. After merge, trigger
daily-updateonce (workflow_dispatch) and confirm it commits.