Skip to content

Track @v0 in the fa and zh-cn sync workflows#584

Merged
mmcky merged 1 commit into
mainfrom
migrate-v0-sync-pins
Jul 21, 2026
Merged

Track @v0 in the fa and zh-cn sync workflows#584
mmcky merged 1 commit into
mainfrom
migrate-v0-sync-pins

Conversation

@mmcky

@mmcky mmcky commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Completes the pin migration this repo started for French in #581.

Translation happens in the source repo's sync workflow, not in the target — so these two pins govern which engine version actually translates fa and zh-cn content. They were still on @v0.16.1, two releases behind. That asymmetry is exactly what let French syncs keep stripping non-breaking spaces for four days after the target-side migration in .fr#10 had supposedly fixed it; #581 closed that gap for French and this closes it for the other two.

Why floating @v0

The policy settled in QuantEcon/project-translation#9: it is the action's own documented convention (19 occurrences in its docs against a single exact pin), its floating tags are well maintained, and development tempo is fast enough that hand-bumping reliably lags the releases worth having. The residual "0.x may break" risk is mitigated not by the pin but by sync output landing as a PR a human reviews before merge.

What this completes

With these two, all nine translation workflow pins across the programming trio track @v0:

Repo Workflow Mode Pin after this PR
lecture-python-programming sync-translations-fr.yml sync @v0 (#581)
lecture-python-programming sync-translations-fa.yml sync @v0 (this PR)
lecture-python-programming sync-translations-zh-cn.yml sync @v0 (this PR)
.fr review + rebase review/rebase @v0
.fa review + rebase review/rebase @v0 (fa#137)
.zh-cn review + rebase review/rebase @v0 (zh-cn#73)

The practical effect is that future engine releases reach production on merge, rather than needing a rollout PR round each time — which matters because a queue of silent-corruption fixes is being worked in action-translation right now (#120).

Part of Stage 1 of the translation program work plan. See QuantEcon/project-translation#9.

🤖 Generated with Claude Code

Completes the pin migration this repo started for French in #581.
Translation happens in the source repo's sync workflow, so these two
pins govern what engine version actually translates fa and zh-cn
content — and they were still on `@v0.16.1`, two releases behind.

Floating `@v0` is the policy settled in
QuantEcon/project-translation#9: it is the action's own documented
convention, its floating tags are well maintained, and development
tempo is fast enough that hand-bumping reliably lags the releases worth
having. The residual 0.x-may-break risk is mitigated not by the pin but
by sync output landing as a PR a human reviews before merge.

With these two, all nine translation workflow pins across the
programming trio track `@v0`, so future releases reach production on
merge rather than needing a rollout PR each time.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 21, 2026 00:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completes the repo’s migration of translation sync workflows to track the floating QuantEcon/action-translation@v0 tag, aligning the fa and zh-cn source-side sync workflows with the already-updated fr workflow and reducing pin drift across translation pipelines.

Changes:

  • Updated the QuantEcon/action-translation action pin from @v0.16.1 to @v0 in the Simplified Chinese sync workflow.
  • Updated the QuantEcon/action-translation action pin from @v0.16.1 to @v0 in the Farsi sync workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/sync-translations-zh-cn.yml Switches the translation engine action pin to floating @v0 for zh-cn sync runs.
.github/workflows/sync-translations-fa.yml Switches the translation engine action pin to floating @v0 for fa sync runs.

@github-actions

Copy link
Copy Markdown

@mmcky
mmcky merged commit 21299db into main Jul 21, 2026
6 checks passed
@mmcky
mmcky deleted the migrate-v0-sync-pins branch July 21, 2026 04:05
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