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
fix(i18n): skip in-sync pages when translating explicit paths
discover() returned explicit paths verbatim, bypassing the source_sha
freshness gate. Since CI passes every en page changed in the PR (git
diff base...HEAD), each push re-translated the entire PR changeset
through Opus — even pages whose cn/ko already matched — exhausting the
rate limit / credit balance.
Explicit paths now flow through the same missing-or-drifted check used by
full discovery, so an in-sync page is a no-op. Added --force to
re-translate regardless (intentional local re-runs).
Verified: an in-sync page passed explicitly now reports "translating 0
page(s)" and makes no API call; drifted/missing pages are still selected.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments