You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sync-issues: cache miss triggers full epoch re-sync, exhausting API rate limit #980
The scaffolded sync-issues.yml keys its incremental-state cache by ${{ github.repository }} and passes updated-since: '' to vig-os/sync-issues-action when no state is restored. On any cache miss the action then re-syncs the entire issue/PR history from epoch.
For a repo with a large archive (devkit: 359 issues + 361 PRs = 720 items, several API calls each), that full sync exceeds the app installation's 5,000 req/hr GitHub API rate limit mid-run and fails before saving state — so every subsequent run repeats the full sync and fails again (never self-heals).
The routine 7-day cache eviction for any repo idle that long.
Observed: API rate limit exceeded for installation ID … after syncing a few hundred items; no cache is being saved.
Fix (in the scaffolded workflow)
On a cache miss, pass a bounded look-backupdated-since instead of epoch, so the sync stays small and completes under the rate limit, then saves state and self-heals to incremental. force-update still forces a full rebuild. Lands in the scaffold template + this repo's root copy so all consumers get it.
Fixed by #981 and validated in a real run: a workflow_dispatch --ref dev exercised the fixed workflow — the cache-miss path took the bounded 14-day look-back, completed without hitting the rate limit, and saved state (cache sync-issues-state-vig-os/devkit now exists). Production self-healed (scheduled runs from main now get a cache hit → incremental). Ships to main with the next release. Defense-in-depth checkpointing remains a separate, lower-priority item for vig-os/sync-issues-action.
Activity
fix(ci): bound sync-issues re-sync on cache miss
fix(ci): bound sync-issues re-sync on cache miss (#981)
c-vigo commentedon Jul 11, 2026
Fixed by #981 and validated in a real run: a
workflow_dispatch --ref devexercised the fixed workflow — the cache-miss path took the bounded 14-day look-back, completed without hitting the rate limit, and saved state (cachesync-issues-state-vig-os/devkitnow exists). Production self-healed (scheduled runs from main now get a cache hit → incremental). Ships to main with the next release. Defense-in-depth checkpointing remains a separate, lower-priority item forvig-os/sync-issues-action.chore: release 1.0.1 (#239)
chore: release 1.0.1 (#982)