fix: skip completed translation downloads - #1789
Draft
bgub wants to merge 1 commit into
Draft
Conversation
bgub
force-pushed
the
bg/skip-completed-download-workflow
branch
from
July 22, 2026 22:10
fca60b9 to
ff22961
Compare
Contributor
Author
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
Verification
Greptile Summary
This PR skips redundant work for translations already completed on the server. The main changes are:
Confidence Score: 5/5
This looks safe to merge.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[Upload and set up sources] --> B[Query completed translations] B --> C[Enqueue incomplete translations] B --> D[Carry completed keys forward] C --> E[Poll active jobs] D --> E E --> F[Build completed file tracker] F --> G{Detailed review status needed?} G -- Yes --> H[Query translation status] G -- No --> I[Reuse known completion] H --> J[Resolve output paths] I --> J J --> K{Current output recorded locally?} K -- Yes --> L[Skip download and re-merge schema output] K -- No --> M[Download and write output]Reviews (1): Last reviewed commit: "fix: skip completed translation download..." | Re-trigger Greptile
Context used:
Learned From
generaltranslation/gt-cloud#1266
generaltranslation/gt-cloud#1240