Files
supabase/.github/CODEOWNERS
Pamela Chia e1ed1653a1 chore: make growth-eng the code owner of telemetry files (#54599)
GitHub does not request a Growth Eng review on most telemetry files. The
rules added in #54207 name three paths in `packages/common` and miss the
rest, and everything under `apps/studio` belongs to Dashboard only.
#54536 changes which groups every Studio event carries and when each
event is sent, and GitHub did not request a Growth Eng review on it.

**Changed:**
- **Shared telemetry files**: I replaced the two per-file rules with one
name pattern, `/packages/common/*telemetry*`. It also covers the
telemetry provider, pageview sends, URL redaction, first-touch storage
and their tests, which had no owner.
- **Studio telemetry files**: I added `/apps/studio/lib/telemetry*` and
`/apps/studio/lib/posthog*`, owned by Growth Eng only. These files used
to resolve to Dashboard through `/apps/studio/`, so a Growth Eng
approval is now required to merge a change to them.

**Note:** `apps/studio/lib/telemetry/error-sampling.ts` (error-report
sampling) sits inside the Studio pattern, so Growth Eng becomes its
required approver too.

## To test

- [x] Run `gh api
"repos/supabase/supabase/codeowners/errors?ref=chore/growth-1616-codeowners-studio-telemetry"`,
expect `{"errors":[]}`
- [ ] After merge, open a PR that touches
`apps/studio/lib/telemetry/track.ts` or
`packages/common/telemetry-utils.ts`, expect `@supabase/growth-eng` as
the requested code owner. GitHub reads the owners file from the base
branch, so this cannot be observed before merge.

## Linear
- fixes GROWTH-1616
2026-12-04 17:56:49 +08:00

54 lines
2.3 KiB
Plaintext

/packages/ui/ @supabase/design
/packages/shared-data/pricing.ts @supabase/billing
/packages/shared-data/plans.ts @supabase/billing
/packages/shared-data/scoped-access-token-permissions.ts @supabase/Dashboard @supabase/docs
/packages/common/*telemetry* @supabase/growth-eng
/packages/common/posthog-client* @supabase/growth-eng
/.agents/skills/telemetry-standards/ @supabase/growth-eng
/packages/dev-tools/ @supabase/growth-eng
# /packages/pg-meta @supabase/postgres @avallete
/packages/ui-patterns @supabase/design
/apps/studio/ @supabase/Dashboard
/apps/studio/lib/telemetry* @supabase/growth-eng
/apps/studio/lib/posthog* @supabase/growth-eng
/apps/docs/ @supabase/docs
/apps/docs/content/guides/self-hosting* @supabase/docs @supabase/self-hosted
/apps/docs/content/guides/**/*self-hosted* @supabase/docs @supabase/self-hosted
# intentionally blank so anyone with write access can approve here
/apps/docs/public/humans.txt
/apps/kb/ @supabase/knowledgebase
/apps/www/ @supabase/marketing
/apps/www/public/images/blog @supabase/marketing
/apps/www/public/schemas/ @supabase/cli
/apps/www/lib/redirects/
/apps/www/data/legal/ @supabase/frontend
/apps/www/pages/legal/ @supabase/frontend
/apps/www/public/legal/ @supabase/frontend
/apps/www/_go/legal/ @supabase/frontend
/apps/www/pages/aup.tsx @supabase/frontend
/apps/www/pages/privacy.tsx @supabase/frontend
/apps/www/pages/terms.tsx @supabase/frontend
/apps/www/pages/sla.tsx @supabase/frontend
/apps/www/pages/enterprise-terms.tsx @supabase/frontend
/apps/www/pages/support-policy.tsx @supabase/frontend
/apps/www/components/Legal/ @supabase/frontend
/apps/www/lib/addenda.ts @supabase/frontend
/apps/www/lib/addenda-utils.ts @supabase/frontend
/docker/ @supabase/cli @supabase/self-hosted
/apps/studio/csp.ts @supabase/security
/apps/studio/components/interfaces/Billing/Payment @supabase/security
/apps/studio/components/interfaces/Organization/Documents/ @supabase/security
/apps/studio/routes/_app/new/index.tsx @supabase/security
/apps/studio/lib/ai/ @supabase/ai
/apps/studio/routes/api/ai/ @supabase/ai
/packages/shared-data/compute-disk-limits.ts @supabase/platform