Commit 664daea
fix(seer): Populate referrer field in agent_handoff analytics from launch path (#112523)
## Summary
- The `ai.autofix.agent_handoff` event added in #112516 hardcoded
`referrer=None` in `launch_coding_agents_for_run`, causing BigQuery
queries filtering on `referrer` to miss these events
- Adds a `referrer` parameter and passes meaningful values from each
caller: `api.organization_coding_agents` (UI) and
`seer_rpc.trigger_coding_agent_launch` (Seer RPC)
## Test plan
- [ ] Verify existing tests pass
- [ ] Confirm `referrer` is populated in BigQuery after deploy
Agent transcript:
https://claudescope.sentry.dev/share/UfJcQt8YPjsSgB02byVDpbig1RWMFUY4oBpF9MbQjRI1 parent 2655cbe commit 664daea
File tree
3 files changed
+4
-1
lines changed- src/sentry
- integrations/api/endpoints
- seer
- autofix
- endpoints
3 files changed
+4
-1
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| 424 | + | |
424 | 425 | | |
425 | 426 | | |
426 | 427 | | |
| |||
521 | 522 | | |
522 | 523 | | |
523 | 524 | | |
524 | | - | |
| 525 | + | |
525 | 526 | | |
526 | 527 | | |
527 | 528 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
| 605 | + | |
605 | 606 | | |
606 | 607 | | |
607 | 608 | | |
| |||
0 commit comments