Skip to content

chore: upgrade action-translation to v0.16.1#132

Merged
mmcky merged 1 commit into
mainfrom
chore/action-translation-v0.16.1
Jul 15, 2026
Merged

chore: upgrade action-translation to v0.16.1#132
mmcky merged 1 commit into
mainfrom
chore/action-translation-v0.16.1

Conversation

@mmcky

@mmcky mmcky commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Brings review-translations.yml and rebase-translations.yml onto v0.16.1 (both were v0.15.0).

What v0.16.1 fixes for these two modes

  • Review — CRLF: GitHub normalizes an edited PR body to CRLF, and the old parser only matched \n — so review mode broke permanently on any PR whose body had been edited.
  • Review — pagination: listFiles was unpaginated (a PR touching >30 files was only partly reviewed); listComments was too, so past 30 comments the existing review comment wasn't found and duplicates accumulated.
  • Rebase — pagination: pulls.list was capped at 100, so sibling PRs beyond that were never rebased.
  • Both — truncation detection: a response cut off at max_tokens was used as if complete; it now fails loudly.

Validated before the bump: the 26-scenario e2e harness ran v0.16.1 against test-translation-sync.fa — 26/26 correct translation PRs, covering the RTL path specifically.

Note the companion PR in the source repo (QuantEcon/lecture-python-programming#575) moves this language's sync workflow to v0.16.1, which is also the Sonnet 4.6 → Sonnet 5 default-model change. This PR only affects review and rebase, which run here.

Detail: QuantEcon/action-translation#83 · v0.16.1 release notes

🤖 Generated with Claude Code

Both workflows move from v0.15.0.

v0.16.1 fixes, relevant to review and rebase mode here:
- review mode: CRLF in the PR body no longer breaks source-PR parsing
- review mode: paginate listFiles / listComments — PRs over 30 files were
  reviewed only in part, and past 30 comments the existing review comment
  was missed, so duplicates accumulated
- rebase mode: paginate pulls.list — sibling PRs beyond 100 were skipped
- both: a truncated model response now fails loudly instead of being used

See QuantEcon/action-translation#83 and the v0.16.1 release notes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 15, 2026 10:54
@netlify

netlify Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploy Preview for majestic-griffin-10b166 ready!

Name Link
🔨 Latest commit aafd7ca
🔍 Latest deploy log https://app.netlify.com/projects/majestic-griffin-10b166/deploys/6a5766e27472b50008bab86a
😎 Deploy Preview https://deploy-preview-132--majestic-griffin-10b166.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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 upgrades the QuantEcon/action-translation GitHub Action used by the translation review and rebase workflows from v0.15.0 to v0.16.1, aligning this repo’s automation with upstream fixes (notably pagination, CRLF handling, and truncation detection) described in the PR metadata.

Changes:

  • Bump review-translations.yml to QuantEcon/action-translation@v0.16.1.
  • Bump rebase-translations.yml to QuantEcon/action-translation@v0.16.1.

Reviewed changes

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

File Description
.github/workflows/review-translations.yml Updates the translation review workflow to use action-translation v0.16.1.
.github/workflows/rebase-translations.yml Updates the translation rebase workflow to use action-translation v0.16.1.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

fetch-depth: 2

- uses: QuantEcon/action-translation@v0.15.0
- uses: QuantEcon/action-translation@v0.16.1
steps:
- name: Rebase open translation PRs
uses: QuantEcon/action-translation@v0.15.0
uses: QuantEcon/action-translation@v0.16.1
@github-actions

Copy link
Copy Markdown

@mmcky mmcky merged commit 77708bd into main Jul 15, 2026
8 checks passed
@mmcky mmcky deleted the chore/action-translation-v0.16.1 branch July 15, 2026 11:27
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