Skip to content

feat: add os and arch for posthog report [CDMD-4420] #1713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 20, 2025

Conversation

amirabbas-gh
Copy link
Collaborator

📚 Description

Include OS and architecture in PostHog requests to provide more detailed reporting

@amirabbas-gh amirabbas-gh requested a review from mohebifar August 19, 2025 19:29
Copy link

vercel bot commented Aug 19, 2025

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

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
codemod Ignored Ignored Aug 19, 2025 7:29pm

@amirabbas-gh amirabbas-gh changed the title feat: add os and arch for posthug report feat: add os and arch for posthug report [CDMD-4420] Aug 19, 2025
Copy link

linear bot commented Aug 19, 2025

Copy link

pkg-pr-new bot commented Aug 19, 2025

Open in StackBlitz

npm i https://pkg.pr.new/codemod@1713

commit: 1d85ca0

@mohebifar mohebifar requested a review from Copilot August 19, 2025 19:33
@mohebifar mohebifar changed the title feat: add os and arch for posthug report [CDMD-4420] feat: add os and arch for posthog report [CDMD-4420] Aug 19, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds OS and architecture information to PostHog telemetry events to improve analytics and user environment tracking.

  • Includes OS type (e.g., "linux", "windows", "macos") in telemetry data
  • Includes CPU architecture (e.g., "x86_64", "aarch64") in telemetry data
  • Updates telemetry collection in both run and publish command handlers

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
crates/cli/src/commands/run.rs Adds OS and architecture fields to telemetry events for codemod execution tracking
crates/cli/src/commands/publish.rs Adds OS and architecture fields to telemetry events for codemod publishing tracking

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@amirabbas-gh amirabbas-gh merged commit 337d0f3 into main Aug 20, 2025
10 checks passed
@amirabbas-gh amirabbas-gh deleted the feat/add-track-os-in-posthog-events branch August 20, 2025 08:18
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