Skip to content
Kitbay

feature-flags

NOASSERTIONUpdated on Nov 11, 202645,751GitHub stars

A maintainer skill in Sentry's own repository for putting a new Sentry feature behind a FlagPole feature flag.

What the skill teaches

A maintainer skill in Sentry's own repository for putting a new Sentry feature behind a FlagPole feature flag. It walks through registering the flag in the temporary features file with a name, an organisation or project scope and the FlagPole handler, checking it in Python and, when the flag is exposed to the API, in the frontend, and turning it on in tests with a context helper. It notes that rollout settings live in a separate options repository, explains when to use a project-scoped flag and when to expose a flag, and sends the agent to a sibling skill that removes a flag in three pull requests once rollout is complete.

Capabilities

  • Register a FlagPole feature flag
  • Check a flag in Python and the frontend
  • Enable a flag in tests
  • Find where rollout is configured