Commit graph

3 commits

Author SHA1 Message Date
google-labs-jules[bot]
de7870f31f Bolt: optimize repository validation performance
This commit optimizes the repository validation script (`scripts/ci_validate_repo.py`)
by consolidating multiple file-traversal passes into a single efficient pass.

Key improvements:
- Combined size and NUL byte checks into a single `validate_files` function.
- Implemented early size checks using `p.stat().st_size` to avoid reading invalid files.
- Replaced full-file reading (`read_bytes`) with chunked binary reading (64KB)
  to ensure a constant memory footprint and enable early exit on NUL byte detection.
- Reduced syscall overhead and I/O by minimizing redundant traversals.

Ref: Bolt Philosophy - "Speed is a feature", "Measure first, optimize second".
2026-02-21 17:14:34 +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