Repository navigation
Conversation
|
Friendly ping: this PR has been ready for review since March 6, 2026. If there is anything blocking it or if you would prefer changes before merge, let me know and I can update it. Would appreciate a review when someone has time. |
|
Updated this PR to include |
|
Following up on this PR. The branch-name handling change should be ready for review; please let me know if you'd like any updates or additional test coverage from my side. |
Update the whitelist regex in validateBranchName to support: - `@` character (anthropics#998): valid in git branch names, only `@{` is reserved (already checked separately) - Unicode letters via `\p{L}` (anthropics#1020): enables non-ASCII branch names like Japanese, Chinese, Cyrillic characters Fixes anthropics#998 Fixes anthropics#1020 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
e6978c5 to
2fe35e5
Compare
|
Rebased this branch onto the latest |
|
Following up on this PR. The branch-name handling fix should be ready for review; if you would like any adjustments or broader coverage for special-character branch names, I can update it. Would appreciate a review when someone has time. |
|
Adding a data point from another affected repository, since this has been open since March. Our branch names are Japanese by convention and this is not something we can change — they are derived from issue titles, e.g.: Every PR from such a branch fails the review job: Two observations that may help prioritise this: The The comment in
The reachable path for us is Happy to test a fix against real Japanese branch names if that would help. |
|
Thanks @aki310sony for the concrete example and offer to test. I've merged the latest Your exact Japanese branch name is now a regression case. I also covered decomposed characters (including Japanese dakuten) and invalid Unicode-containing names without removing the existing safety checks. Validation:
Would you be able to test this revision in your repository with |
|
@Lubrsy706 -san On a PR from the Japanese branch With the released Thanks for the fix — looking forward to seeing it merged. |
|
Thanks @aki310sony for testing e6b1563 end-to-end and sharing the detailed
results! Your confirmation that the Japanese branch checks out, the review
completes, and the tracking comment updates with track_progress: true
covers the real-world tag-mode validation we were waiting for.
Maintainers: could you please review this PR for merge? The remaining
change is focused on Unicode branch-name support, preserving the existing
ASCII support and validation checks. The validation already documented
above includes 983 passing tests, type and formatting checks, and local
checkout smoke tests; we now also have the reporter's successful end-to-end
test on the current PR head. Their report confirms that the released @v1
still fails in the same setup.
Please let me know if there are any remaining blockers or changes needed
before this can be merged. Thanks!
On Wed, 30 Sep 2026 01:20:31 -0700, aki310sony ***@***.***> wrote:
aki310sony left a comment (anthropics/claude-code-action#1022) @Lubrsy706
-san Tested e6b1563 end-to-end in our repository with `track_progress:
true` (tag mode), pinned by SHA. On a PR from the Japanese branch
`feature/567-動作確認用-日本語ブランチ名でclaudeレビューが動くか`, the action auto-detected tag
mode, `setupBranch()` fetched and checked out the branch (`Successfully
checked out PR branch`), and the review completed with the tracking comment
updated as expected. No `Invalid branch name` error. With the released
***@***.***`, the same setup fails on every PR from our Japanese-named branches.
Thanks for the fix — looking forward to seeing it merged. -- Reply to this
email directly or view it on GitHub:
#1022 (comment)
You are receiving this because you were mentioned. Message ID:
***@***.***>
|
Summary
Fixes #1020.
The ASCII-only whitelist in
validateBranchNamerejects Git-valid non-ASCII branch names beforesetupBranch()can check out an open PR. This affects tag mode, including PR workflows usingtrack_progress.This PR now focuses on the remaining Unicode support. The separately landed ASCII support (
@,+,#, commas, parentheses, and leading underscores) is preserved. The latestmainhas been merged and conflicts resolved.Changes
Validation
bun test: 983 passed, 0 failed.bun run typecheck: passed.bun run format:check: passed.setupBranch()successfully fetched and checked out the exact reported Japanese branch for both same-repository and fork-PR paths, with a Unicode base branch.Real repository workflow validation with the reporter and maintainer review are still pending.