Skip to content
Kitbay

hybrid-cloud-test-gen

NOASSERTIONUpdated on Nov 11, 202645,751GitHub stars

A maintainer skill in Sentry's repository for writing hybrid cloud tests: tests for RPC services, the API gateway, outbox patterns and the silo decorators on endpoints.

What the skill teaches

A maintainer skill in Sentry's repository for writing hybrid cloud tests: tests for RPC services, the API gateway, outbox patterns and the silo decorators on endpoints. The agent works out which of the four kinds is needed, asking if unclear, reads the source module to find its silo mode, finds the matching test file with its existing tests and base classes, and generates tests from the reference file for that kind. It uses Sentry's silo test decorators and context managers, factory helpers rather than direct model creation, pytest-style assertions and existing test files where they exist. A checklist covers decorators, base class, imports, file path and naming, and the agent ends with the pytest command to run.

Capabilities

  • Generate RPC service and outbox tests
  • Write API gateway and endpoint silo tests
  • Pick the right silo test decorator
  • Check tests against a validation list