Files
supabase/.github
claude[bot]andClaude c4bbd65acb chore: add growth-eng as code owner on core telemetry senders (#54207)
<!-- claude-slack-attribution -->
_Requested by **Pam Chia** · [Slack
thread](https://supabase.slack.com/archives/C076KTY11DF/p1795791803872399)_

## Problem

**Before:** Growth Eng owns only the event catalog
(`packages/common/telemetry-constants.ts`). Changes to the PostHog
client (including the per-experiment `<experiment>_experiment_exposed`
events), the shared telemetry event sender and the telemetry standards
skill don't need a Growth Eng review. They can start new event streams
or sharply increase volume, and Growth Eng only sees the volume and cost
after they ship.

**After:** Growth Eng is a code owner on these core telemetry senders
and the telemetry standards skill, so GitHub requests a Growth Eng
review on these changes before merge.

## Solution

This PR changes only `.github/CODEOWNERS`. It adds three rules directly
under the existing `telemetry-constants.ts` line, which is unchanged. No
later rule matches any of these files, so Growth Eng is their owner.

- `/packages/common/posthog-client*` → `posthog-client.ts` and its test.
Sends `$pageview`, `$pageleave` and the `_experiment_exposed` events
directly to PostHog. Owner: growth-eng (no owner before).
- `/packages/common/telemetry-event*` → `telemetry-event.ts` and its
test. Builds every `/telemetry/event` request. Owner: growth-eng (no
owner before).
- `/.agents/skills/telemetry-standards/` → `SKILL.md`, the rules for
adding events. Owner: growth-eng (no owner before).

`GET
/repos/supabase/supabase/codeowners/errors?ref=growth/codeowners-telemetry-events`
returns no errors.

Not covered: individual `track(...)` and `sendTelemetryEvent(...)` call
sites in components, because CODEOWNERS works by path. New event names
still go through `telemetry-constants.ts`, which Growth Eng already
owns.

## Review instructions

1. Read the three rules under `telemetry-constants.ts` in
`.github/CODEOWNERS`.

## Checklist

Check all before review:

- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_011aGhS9n5Vh49BK2WMq9h4Q

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-30 23:04:39 +08:00
..
2020-04-29 21:09:54 +08:00