Commit graph

2 commits

Author SHA1 Message Date
google-labs-jules[bot]
4ece2f97c3 feat(scripts): optimize PR review script using git for-each-ref
Replaced iterative `git log` calls (N+1 problem) with a single `git for-each-ref` command to fetch branch metadata.
This reduces execution time from O(N) to O(1) regarding subprocess calls.

- Removed `get_prs_via_git` and `get_branch_info`
- Added `get_branches_info_git` using `%(ahead-behind:base)` format
- Updated `main` loop to use pre-calculated data
- Measured ~3.5x speedup on current repo state

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-27 05:31:44 +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