Skip to content

Run the translate job when nothing needed extracting - #16559

Merged
dhh merged 1 commit into
quattrofrom
i18n-translate-gate
Oct 25, 2026
Merged

dhh merged 1 commit into
quattrofrom
i18n-translate-gate

Conversation

@dhh

@dhh dhh commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

The translate job in Sync translations has been skipped on every run since the workflow landed, so no "Update translations" PR has ever been opened. Locally, all 49 languages show pending strings.

Cause: its condition, needs.prepare.outputs.locales != '[]', has no status function. GitHub adds an implicit success(), which also fails when any upstream job was skipped. translate needs publish-extract, which needs extract, and extract is skipped whenever there is nothing to extract (nearly every run). publish-extract, collect and land already guard with always() && !cancelled(), which is why they still ran.

Fix: give translate the same guard, requiring prepare and publish-extract to have succeeded.

Once merged, the next push or the daily run should fan out to all 49 languages. To start one right away: gh workflow run i18n-sync.yml.

🤖 Generated with Claude Code

Its condition had no status function, so the implicit success() failed
whenever extract was skipped upstream, which is nearly every run: no
translation has been produced since the workflow landed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@greptile-apps

greptile-apps Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Fixes translate being skipped when there is nothing to extract.

  • Pending translations run even when there is nothing to extract.

Reviews (1) · Last reviewed commit: "Run the translate job when nothing neede..." · Reviewed by Greptile

@dhh
dhh merged commit 63ac02e into quattro Oct 25, 2026
2 checks passed
@dhh
dhh deleted the i18n-translate-gate branch October 25, 2026 06:48
@emirb emirb added this to the 4.5 milestone Nov 5, 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