MQL5-Google-Onedrive/.jules
google-labs-jules[bot] fb700df574 Bolt: optimize git branch metadata retrieval in review_pull_requests.py
Optimized the git branch review process by consolidating multiple redundant
'git log' and 'git branch' calls into a single bulk 'git for-each-ref' command.

Key improvements:
- Used '%(ahead-behind:main)' atom (Git 2.41+) to fetch ahead/behind counts in bulk.
- Implemented 'BRANCH_METADATA_CACHE' to avoid redundant subprocess calls.
- Reduced system-level 'execve' calls from ~2400 to ~600 (75% reduction).
- Reduced execution time by ~30% for repositories with many branches.
- Added robust parsing for commit subjects using 'split("|", 3)'.
- Maintained fallback support for older Git versions.

Measurement:
- Before: ~2378 execve calls, ~0.65s
- After: ~603 execve calls, ~0.45s
- Total subprocesses removed: ~1700+

Impact: Significantly faster PR review summaries, especially in CI environments.
2026-02-24 10:53:05 +00:00
..
bolt.md Bolt: optimize git branch metadata retrieval in review_pull_requests.py 2026-02-24 10:53:05 +00:00
deploy.yml Add dev container setup, cloud deployment configs, and Jules deployment automation 2026-01-19 09:53:30 +07:00