Skip to content

V1 [TEST] Add fuzz targets for query parser and HTTP handlers #82

Description

@austin-barrington

Context

The repository does not use fuzz testing or property-based testing. The query parser (timeseriesql) and HTTP request handlers are natural targets for fuzzing.

Deliverables

  • Add cargo-fuzz targets for:
    • Line protocol parser — feed random byte sequences, check for panics
    • Query parser — feed random strings, check for panics
    • JSON write endpoint — feed random JSON, check for 5xx
    • Config file parser — feed random TOML, check for panics
  • Setup fuzz CI job (not required, but document how to run fuzz targets)
  • Fix any panics discovered during fuzz target development

References

Priority

P2 — Security hardening, test coverage

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions