Skip to content

fix(ci): daily-update Verify slack for history_total vs stars (2 → 5) - #15

Merged
jammyfu merged 1 commit into
mainfrom
cursor/history-total-slack-331c
Nov 1, 2026
Merged

jammyfu merged 1 commit into
mainfrom
cursor/history-total-slack-331c

Conversation

@jammyfu

@jammyfu jammyfu commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Summary

Daily-update run 41235403615 (schedule, Beijing ~03:41 on 2026-11-01) fetched OK, then failed Verify:

FAIL: test_stats_cover_every_project_and_are_consistent
AssertionError: 3 not less than or equal to 2 : affaan-m/ECC

Commit/push was skipped because |history_total - stars| was 3 while the allowed slack was 2.

stargazers/history weekly buckets can lag the live stargazers_count by a few stars (un-stars, same-day stars, UTC vs week boundaries). The integrity check stays. The allowed absolute delta is now 5 (HISTORY_TOTAL_STAR_SLACK in tools/risers_core.py). A 3-star gap is accepted; a gap larger than 5 still fails.

Changed files

  • tools/risers_core.py — named constant HISTORY_TOTAL_STAR_SLACK = 5 and helper history_total_within_slack
  • tests/test_repo.py — Verify assertion uses the helper (no longer a hardcoded <= 2)
  • tests/test_core.py — regression: delta 3 and 5 pass, delta 6 fails; the old <= 2 assertion cannot come back
  • docs/DAILY_UPDATE.md — documents the slack and the 2026-11-01 failure
  • docs/project-governance/DECISIONS.md, CHANGELOG.md, WORKLOG.md — decision and record
  • CURRENT_PLAN.md, TODO_BACKLOG.md — PLAN-002 and follow-up to confirm the next daily run

No ranking logic, secrets, or generated README* / data/ / latest/ / rankings/ files were changed.

How to re-run / verify

python3 tools/verify.py
python3 tools/next_plan.py --check

Local result: 202 tests OK, all verification commands passed.

After this is merged to main, the next scheduled daily-update (or a workflow_dispatch) will pick up the new slack and can commit the star data. Do not merge from this PR without owner review.

Checklist

  • Followed CONTRIBUTING.md
  • Edited inputs only (data/projects.json, data/categories.json, docs/, tools/), not generated files
  • New or changed descriptions have all five languages (en, zh-Hans, zh-Hant, ja, ko) — N/A, no copy strings
  • python3 tools/verify.py passes
  • No tracking or analytics code added
Open in Web Open in Cursor 

…rify

GitHub's stargazers/history can lag the live count by a few stars. The
2026-11-01 daily-update failed Verify on affaan-m/ECC (diff 3, slack 2)
and skipped the data push. Keep the integrity check; raise slack 2 → 5.

Co-authored-by: PaintingCoder <jammyfu@users.noreply.github.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T00:16:37.003902Z 5e8c225 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jammyfu
jammyfu merged commit aba2477 into main Nov 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants