Turning the engineering handbook into checks
A platform team owns a 40-page engineering standards document. New services keep violating its logging and timeout rules.
Name: Outbound HTTP calls need timeouts
Scope: File
Severity: High
Instructions:
Flag outbound HTTP calls (fetch, axios, http clients) without
a timeout. Follow section 4.2 of
@repo:platform/engineering-standards/docs/standards.mdThis axios call to the pricing service has no timeout, so a slow dependency can exhaust the worker pool. Set a timeout per section 4.2 of the engineering standards.
Result: The handbook becomes enforced policy on every pull request in every repository, with the source cited in each comment.