Commit graph

3 commits

Author SHA1 Message Date
google-labs-jules[bot]
4308e98e6e Bolt: optimize test automation execution speed
This change removes the ProcessPoolExecutor from scripts/test_automation.py and replaces it with sequential execution.

For the specific workload of this test suite (a few short-lived subprocess calls), the overhead of process creation and IPC in the parallel implementation was significantly higher than the actual work being performed.

Switching to sequential execution:
- Reduces total execution time by ~33% (from ~4.4s to ~2.9s).
- Ensures deterministic and ordered output.
- Simplifies the code and removes unnecessary dependencies.

Measurement:
- Before: ~4.4s
- After: ~2.9s
- Verified with 'time python3 scripts/test_automation.py' in the sandbox.
2026-02-15 17:15:18 +00:00
google-labs-jules[bot]
e4c6d277a0 Parallelize test execution in test_automation.py
Refactored `scripts/test_automation.py` to run independent integration tests in parallel using `concurrent.futures.ProcessPoolExecutor`.

* 💡 **What:** Used `ProcessPoolExecutor` to run tests concurrently.
* 🎯 **Why:** To improve test suite performance.
* 📊 **Measured Improvement:** ~30% faster (3.3s -> 2.25s).
* **Details:** Used processes instead of threads to ensure `contextlib.redirect_stdout` works correctly for each test without interference.
2026-01-18 19:24:02 +00:00
copilot-swe-agent[bot]
c11eb0c373 Add automation features documentation and integration tests
- AUTOMATION_FEATURES.md with comprehensive feature overview
- Integration test suite for verifying all scripts
- Logs directory README for documentation
- All tests passing successfully

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-06 04:25:48 +00:00