The synchronization engine is a complex and critical component. Fuzzing would be an excellent way to test its reliability and discover edge cases and bugs that traditional unit tests might miss.
To fix:
- Research and integrate a fuzzing framework like
cargo-fuzz.
- Write fuzz targets for key functions within the sync engine, especially
transform_operations and patch application logic.
- Integrate fuzzing into the CI/CD pipeline to run continuously.
This is a suggestion for now. I would recommend looking into this after the other issues have been resolved.
Migrated from Linear: REP-19
The synchronization engine is a complex and critical component. Fuzzing would be an excellent way to test its reliability and discover edge cases and bugs that traditional unit tests might miss.
To fix:
cargo-fuzz.transform_operationsand patch application logic.This is a suggestion for now. I would recommend looking into this after the other issues have been resolved.
Migrated from Linear: REP-19