Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 1.87 KB

File metadata and controls

71 lines (49 loc) · 1.87 KB

Contributing

How to contribute to HyperbyteDB.


Before you open a PR

  1. Branch from main.

  2. Follow Coding standards.

  3. Run the same checks as CI:

    cargo fmt --all --check
    cargo clippy --all-targets -- -D warnings
    cargo test --lib
    cargo test --test '*'
  4. Document new config keys in Configuration and config.toml.example.

  5. Open a PR against main. CI must pass.


Code review

PRs are reviewed against the code review rubric. Highlights:

  • Correctness — data path integrity, cluster safety, InfluxDB v1 compatibility, query translation.
  • Tests — each suite has a defined scope; do not duplicate coverage without reason.
  • Docs — config and operator changes need matching documentation updates.

Commit conventions

  • Use clear, descriptive commit messages.
  • Reference issues when applicable.
  • Keep commits focused on one logical change.

Dependencies

  • Use Arc<dyn Trait> for dependency injection at service boundaries.
  • Keep domain types free of I/O dependencies.
  • Pin major versions of GitHub Actions.
  • Commit Cargo.lock.

Getting help

Question Start here
System design Architecture
Where is this code? Core modules
How do I add a feature? Extension points
How do I run tests? Testing

Further reading

Document Topic
Architecture System design
Coding standards Code conventions
Testing Test strategy
Building & CI CI and releases
Code review rubric Review checklist