Skip to content

Run Sync translations' translate job when there is nothing to extract - #15549

Closed
yamz8 wants to merge 1 commit into
omacom:quattrofrom
yamz8:fix/i18n-sync-translate-skipped
Closed

yamz8 wants to merge 1 commit into
omacom:quattrofrom
yamz8:fix/i18n-sync-translate-skipped

Conversation

@yamz8

@yamz8 yamz8 commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

translate is the only job after the optional extract without an always() guard, so GitHub's implicit success() skips it whenever extract is skipped, which is every run with nothing to extract. In all 9 runs since #15326, translate was skipped. Since #15508 added 8 menu labels, land has run (has_work=true) with extract skipped (so locales was not empty), yet translate still skipped, leaving 49 languages pending and i18n-test.sh failing locally.

translate now uses the same guard as collect: it runs when publish-extract succeeded and languages are pending. A failed or skipped extraction still skips it, since publish-extract only succeeds when extraction succeeded or wasn't needed.

actionlint reports nothing new. Not verified: a real run with the repository's secrets. The first run after merging should show translate jobs starting for the 49 pending languages.

🤖 Generated with Claude Code

@greptile-apps

greptile-apps Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; the new condition preserves the required checks before translation starts.

Summary

Updates translate so skipped extraction jobs no longer block pending translations.

  • Pending translations run even when extraction is skipped.

Reviews (1) · Last reviewed commit: "Run Sync translations' translate job whe..." · Reviewed by Greptile

@yamz8

yamz8 commented Oct 17, 2026

Copy link
Copy Markdown
Contributor Author

Still reproducing on today's quattro: the last two Sync translations runs skipped translate while all 49 locales are 10 keys behind English. The change here is one if:, so translate runs whenever publish-extract succeeds, even with nothing to extract. Happy to adjust if you'd rather fix it another way.

@omarchybot

Copy link
Copy Markdown
Collaborator

Not reviewed yet. Every item here is classified by two models separately before any review or test runs, and only an agreement counts. Claude Opus 5.5 read the diff to .github/workflows/i18n-sync.yml and classed it as a bug fix, but the second opinion (Codex Medium) did not run: omabot's daily budget for second opinions was spent, so the classification is unsettled and nothing was verified. No tests ran and no labels were added.

This is waiting on omabot, not on you: it goes round again once a second opinion is available, and the review follows from there.

@yamz8

yamz8 commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Closing: #16559 landed the same fix, so translate now runs when nothing needed extracting. Thanks!

@yamz8 yamz8 closed this Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants