Skip to content

Conversation

@mmabrouk
Copy link
Member

@mmabrouk mmabrouk commented Jan 9, 2026

Summary

  • Restores the oss_deployment_created analytics event that was accidentally removed in commit 358fe2d during an import refactoring

Context

The capture_oss_deployment_created function was added on Nov 26, 2025 to track when the first user signs up in an OSS instance. However, two days later (Nov 28, 2025), the call to this function was accidentally removed during a commit titled "Refactor imports in db_manager.py for improved organization and readability" as part of PR #3046 (release/v0.64.0).

The function still exists in analytics_service.py but was never being called, meaning no oss_deployment_created events have been sent to PostHog for new OSS deployments since v0.64.0.

Test plan

  • Verify the analytics_service import is correctly added
  • Verify the function call is placed in the correct location (after organization creation, before return)
  • Deploy to a test OSS instance and verify event appears in PostHog when first user signs up

🤖 Generated with Claude Code

The capture_oss_deployment_created call was accidentally removed in commit
358fe2d during an import refactoring. This event is triggered when the
first user signs up in an OSS instance and is important for tracking new
OSS deployments in PostHog.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@vercel
Copy link

vercel bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Jan 9, 2026 0:21am

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jan 9, 2026
@dosubot dosubot bot added the bug Something isn't working label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants