#274 — [Bug]: new tenant owner emails are not pushed to PostHog
Repo: Twill-AI/facade State: closed | Status: done Assignee: Unassigned
Created: 2025-01-17 · Updated: 2025-01-23
Description
STR:
- Get new tenants in environment.
- Open https://us.posthog.com/project/112605/dashboard/295643
Expected: emails of owners of new tenants appears on dashboard
Actual: In spite of Facade’s /master/tenants/cached returns emails they don’t appear in PostHog events. See “app:startup_tenants” at 2025-01-17T16:56:53.113Z:
in result dashboard don’t show emails:
Investigation details
If look at event “tenant:create” which happened 2025-01-16T20:12:57.768Z for one of these “no email” tenants/owner then it contains all data for itself and for remained users. It means email was available on moment of tenant creation and they were persisted in cache. So issue here with persisting information into db, particularly into “master.profile” table.
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets