Commit graph

3 commits

Author SHA1 Message Date
google-labs-jules[bot]
daf3051e34 Optimize PR review script for shallow clones
- Update `scripts/review_pull_requests.py` to compare against `origin/main` instead of local `main`. This ensures accurate identification of unmerged branches in CI/CD environments and shallow clones.
- Ensure `get_all_branch_details` returns a structure fully compatible with `get_branch_info` (added `commits: []`), preventing potential KeyErrors.
- This change enables the script to correctly process 150+ branches in <0.5s by leveraging `git for-each-ref` (O(1) git call) instead of falling back to per-branch `git log` (O(N) git calls).
2026-02-07 05:13:23 +00:00
google-labs-jules[bot]
fc5646a73c Refactor review_pull_requests.py to batch git calls
Replaced per-branch git log calls with a single git for-each-ref command using the ahead-behind atom. This optimizes the script from O(N) to O(1) git subprocess calls.

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-27 01:10:00 +00:00
Huawei-Window-Techno
365881c76a feat: Add pull request review script and comprehensive report - Created review_pull_requests.py to analyze all PRs - Generated Pull Request Review Report with 23 open PRs analysis - Identified 20 performance optimization PRs ready for review - Documented 5 draft PRs and 2 WIP feature PRs - Added recommendations for PR consolidation and prioritization 2026-01-10 05:26:35 +07:00