feat(intl-pipeline): partial-success runs ship; failures surface in PR#18064
Merged
Conversation
Per-task failures no longer abort the whole run. The pool runs to completion; failures are captured with file context and rendered into the PR body as a "N task(s) failed" block with copy-pasteable rerun commands. Per-file manifests are still stamped only on success, so a rerun naturally retries only the failed combinations. Hard abort retained for the all-failed case (no empty PR). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
wackerow
approved these changes
Apr 29, 2026
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
A single failed (file, locale) combination no longer aborts the whole run. The pipeline now ships partial-success runs and reports failures in the PR body with copy-pasteable rerun commands.
Why
Real example: a 12-language run translating
public/content/videos/(58 files × 12 = 696 tasks) hit Gemini'sRECITATIONfilter on one combination. The whole run aborted, stranding 695 successful translations on the temp branch. Manual recovery was needed to squash and merge per-language. With ~24 locales and growing content, single-task failures will only get more common.Changes
main.ts:submitWithContext()wrapspool.submit()to capture file context on failure. Thepool.hasErrors() -> throwblock becomes log-and-continue. Hard abort retained only for the all-failed case (no empty PR).pr-creation.ts:generateRunSummaryandcreateOrUpdateTranslationPRaccept an optionalfailures[]array and render a "N task(s) failed:" section with each(file, locale, message)plus rerun commands.Per-file manifest stamping is unchanged: failed files don't stamp, so a rerun naturally retries only the failed combinations.
Test plan
Generated by Claude (Opus 4.7)