Actions
Coding standards¶
Formatting is not a matter of taste here: the formatter runs in CI and its output is the standard.
What a reviewer will actually ask about:
-
Errors carry context. An error that reaches a log without the tenant, the route and the
correlation id has wasted everybody's time. - No new database read across a service boundary. Add an event or an endpoint.
-
Every migration is reversible and every migration is safe to run while the old code is still
serving traffic. We deploy before we migrate, never the other way round. -
Tests describe behaviour, not implementation. If renaming a private method breaks a test, the
test was wrong. -
Public API changes need a documentation change in the same commit. The OpenAPI document is
generated, so this usually means an annotation.
Updated by Mara Oyelaran 3 months ago · 1 revisions