ci: shard and harden daily translations - #152
Open
BZ-D wants to merge 1 commit into
Open
Conversation
BZ-D
force-pushed
the
agent/fix-daily-translation-ci
branch
from
July 14, 2026 07:00
80568eb to
4501381
Compare
BZ-D
marked this pull request as ready for review
July 14, 2026 07:01
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.
Summary
Root cause
The scheduled workflow translated all six languages in one job and committed only after every translation completed. Recent runs reached GitHub Actions six-hour per-job limit while translation was still progressing. The timed-out runs never advanced
last-sync.json, so each following run repeated the growing backlog.Language-only parallelism was still too close to the limit for the current backlog. The workflow now creates twelve language-by-shard jobs. Source byte size is used to balance each pair of shards while
max-parallel: 3preserves the existing API load ceiling.Reliability details
contents: write; PR validation is read-onlyValidation
sync --detect-onlyrun (75 changed documents)git diff --checkThe real model API path requires the repository secret and can be exercised by manually dispatching the workflow after merge.