Commit graph

2 commits

Author SHA1 Message Date
google-labs-jules[bot]
07e23e3aad Bolt: optimize pull request review script performance
This commit optimizes the `scripts/review_pull_requests.py` script by
implementing a global metadata cache using `git for-each-ref` with the
`%(ahead-behind:main)` atom (Git 2.41+).

Key improvements:
- Reduced subprocess calls from $O(N)$ to $O(1)$ for branch metadata.
- Execution time reduced by ~73% (from 1.5s to 0.4s for 291 branches).
- Added robust fallback for older Git versions.
- Fixed branch lookup bugs by consistently using stripped ref names.
- Silenced missing 'gh' errors while preserving other environment diagnostics.
- Maintained functional compatibility for displayed branch details.
2026-02-23 20:05:57 +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