fix(cli-push-runner): 新規 bookmark push を --all で修正 + clippy/W1 doc 同梱 - #221
Merged
Merged
Conversation
bare `jj git push` は tracking 済み bookmark のみ push するため、新規 bookmark (未 tracking) が push されず、jj は exit 0 のまま "Refusing to create new remote bookmark" を出力して何もしない。push-runner はこれを false success と誤報告していた (実 push 未完了を「成功」と誤表示)。jj 0.42 には --allow-new フラグは無いため --all を使う。 - config (push-runner-config.toml / template): command を "jj git push --all" に - stages/push.rs: push_was_refused() で "Refusing to" 出力を検知し失敗扱いに変更 (+ unit tests 4 件) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthrough
Changesファイル長制限計画の進捗更新
push runner の全 bookmark push と拒否検知
severity ソートの簡略化
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
fix/clippy-and-w1-docブランチに溜まった 3 コミットをまとめた PR。push 環境整備セッションでpush-runner の新規 bookmark push バグ修正が加わったため、元の clippy / doc 変更と同梱している。
変更内容
1. fix(cli-push-runner): 新規 bookmark の push を
--allで修正(中核)jj git pushは tracking 済み bookmark のみ push するため、新規 bookmark が push されず、jj は exit 0 のまま
Refusing to create new remote bookmarkを出力して何もしない。push-runner はこれを false success(実 push 未完了を「成功」)と誤報告していた。
push-runner-config.toml/templates/push-runner-config.toml: command をjj git push --allに変更(jj 0.42 に
--allow-newフラグは無いため--allを採用)。src/cli-push-runner/src/stages/push.rs:push_was_refused()を追加しRefusing to出力を検知して失敗扱いに変更(+ unit test 4 件)。
2. fix(lib-report-formatter): clippy 解消
unnecessary_sort_byをsort_by_keyに解消。3. docs(file-length-enforcement-plan): W1 doc 更新
検証
fix/clippy-and-w1-doc@origin=0e78fd22)。補足
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Refactor