Skip to content

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

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#5
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.16.0) — a small patch bump; this repo was already current.

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.

Also relevant to this repo specifically: v0.16.1 fixes the French typography pass corrupting footnote and link-reference definitions ([^id]:[^id] :, which stops the line parsing as a definition and breaks every reference to it). The one instance already in this repo was repaired in #4. The fix matters going forward for translate init re-seeds; note the sync path doesn't apply typography yet (QuantEcon/action-translation#81).

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

🤖 Generated with Claude Code

Both workflows move from v0.16.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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates this repo’s translation automation workflows to use the patched QuantEcon/action-translation@v0.16.1, aligning with the upstream fix set described in the PR metadata (CRLF parsing, pagination, truncation detection, and French typography footnote/link-reference handling).

Changes:

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

Reviewed changes

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

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

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

@mmcky mmcky merged commit 819f221 into main Jul 15, 2026
2 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