Skip to content

Conversation

@bokelley
Copy link
Contributor

Summary

  • Fix undefined values in analytics sync message (used processed instead of non-existent imported/skipped fields)
  • Improve Stripe subscription sync to skip deleted customers gracefully rather than counting as failures
  • Add migration to handle NULL product names in product_revenue view (shows "Unlabeled Product" instead of filtering out)
  • Fix org-filters to check organization_domains table for Slack user → organization matching (was only checking organizations.email_domain)
  • Add better logging and fallbacks for product name retrieval during Stripe backfill

Test plan

  • TypeCheck passes
  • All 241 tests pass
  • Local Docker testing shows analytics page loads correctly
  • Migration applies successfully

🤖 Generated with Claude Code

- Fix undefined values in sync message by using correct field names (processed vs imported)
- Improve Stripe subscription sync to skip deleted customers gracefully
- Add migration to handle NULL product names in product_revenue view
- Fix org-filters to check organization_domains table for Slack user matching
- Add better logging and fallbacks for product name retrieval

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 9001cb7 into main Jan 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants