Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.08 KB

REVIEWING.md

File metadata and controls

27 lines (16 loc) · 1.08 KB

Review Guidelines

This repository is shared between many teams, and it is not always clear what a reviewer should be looking for. The following guidelines are intended to help. This is a work in progress and additions to this list are welcome.

Practicalities

If any of the .proto files are changed, then the corresponding Go code should be regenerated in the same PR (GOPATH=$(go env GOPATH) rake codegen).

Tests should be run locally before making a PR, and should pass in CI before a PR is merged.

Implications for Security

  • Where complex data parsing logic is implemented, ensure fuzzing tests are place to improve resilience against malformed payloads.

Implications for the Agent

TBD

Implications for Compatibility

When changing proto definitions:

  • Will a sender using the old definition be able to communicate with a receiver using the new definition?
  • Will a sender using the new definition be able to communicate with a receiver using the old definition?
  • If a field is removed, is the ID marked as reserved so that it will not be accidentally re-used?