Description
Flux has recently implemented an initial coverage of fuzzing across its repositories (xref #2002).
At the time of implementation golang did not offer native fuzz testing support, which is yet to be released in golang 1.18.
The proposed refactoring would:
- Build fuzzers using
compile_native_go_fuzzerinstead ofcompile_go_fuzzer. - Review need to depend on
github.com/AdaLogics/go-fuzz-headers. - Better integrate with existing tests and reuse private funcs used within controller testing.
- Reuse
testenvinstances across multiple executions to decrease test setup time.
Repositories to be refactored:
- source-controller
- kustomize-controller
- helm-controller
- notification-controller
- pkg
- image-reflector-controller
- image-automation-controller
Dependencies for this work:
-
oss-fuzzto support golang native fuzzing -
golang 1.18to be officially released - Target repository to be upgraded to
golang 1.18
Metadata
Metadata
Assignees
Type
Projects
Status
Done