Skip to content
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

Track cli version #67

Closed
wants to merge 1 commit into from
Closed

Track cli version #67

wants to merge 1 commit into from

Conversation

riya-n
Copy link
Contributor

@riya-n riya-n commented Jul 8, 2024

Ticket: https://linear.app/trunk/issue/TRUNK-11730/track-analytics-cli-version-in-upload

  • this small change will make it easier to just track the cli version, without having to parse it in the etl

@riya-n riya-n requested review from zaycev and dfrankland July 8, 2024 11:19
@@ -206,12 +206,7 @@ async fn run_upload(
});
let meta = BundleMeta {
version: META_VERSION.to_string(),
cli_version: format!(
Copy link
Contributor

@zaycev zaycev Jul 9, 2024

Choose a reason for hiding this comment

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

should we just split this into 3 fields? Why do we have to do this in first place?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure why we had this in the first place, we don't use any of the other fields in the ETL it seems (we weren't even using cli_version). I think we log all 3 fields when running the CLI so might've just copied over that string

@riya-n riya-n requested a review from zaycev July 9, 2024 17:11
@riya-n
Copy link
Contributor Author

riya-n commented Jul 10, 2024

We will instead extract the cli_version from the existing format in the ETL

@riya-n riya-n closed this Jul 10, 2024
@riya-n riya-n deleted the riya/cli-version branch July 10, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants