Commit graph

2 commits

Author SHA1 Message Date
google-labs-jules[bot]
78b9ce5ed8 Bolt: optimize PR review branch analysis
Optimized \`scripts/review_pull_requests.py\` by replacing iterative \`git log\`
calls with a single \`git for-each-ref\` command using the \`%(ahead-behind:main)\` atom.

Performance Impact:
- Execution time reduced from ~1.2s to ~0.37s for 270+ branches.
- Scalability improved from O(N) git calls to O(1) git calls for metadata retrieval.

Technical Details:
- Utilizes Git 2.41+ \`ahead-behind\` atom for efficient merge detection.
- Pre-fetches branch names, commit counts, and last commit dates in one pass.
- Removed unused \`get_branch_info\` function.
- Filtered out \`origin/HEAD\` (short name 'origin') from analysis.
2026-02-21 20:09: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