Commit graph

3 commits

Author SHA1 Message Date
google-labs-jules[bot]
025daca3c7 Bolt: optimize repository validation efficiency
This commit optimizes the `scripts/ci_validate_repo.py` script to improve its
performance and memory efficiency during CI runs.

Key changes:
- Combined the size check and NUL byte check into a single-pass `validate_files` function.
- Implemented an early exit for the size check using `stat().st_size`, preventing
  unnecessary processing of large accidental artifacts.
- Replaced `read_bytes()` with chunked binary reading (64KB chunks) for NUL byte
  detection, significantly reducing the memory footprint for larger source files.
- Reduced the number of iterations over the file list and the number of system calls.

These optimizations ensure that the repository validation remains fast and
resource-efficient, even as the codebase grows.
2026-02-20 11:32:16 +00:00
copilot-swe-agent[bot]
e23f7cbb90 Add executable permissions to scripts and create verification document
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-06 20:41:06 +00:00
Cursor Agent
85c1e2f963 feat: Add GitHub Actions for CI, automerge, and sync
Co-authored-by: genxdbxfx3 <genxdbxfx3@gmail.com>
2025-12-27 06:02:09 +00:00