Skip to content

Conversation

@priettt
Copy link
Contributor

@priettt priettt commented Nov 27, 2025

Goal

Improve readability of build telemetry JSON API by replacing abbreviated keys with descriptive names.

@priettt priettt requested a review from a team as a code owner November 27, 2025 16:50
Copy link
Member

@fractalwrench fractalwrench left a comment

Choose a reason for hiding this comment

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

LGTM, assuming that backend folks are ok with this migration. Will the existing keys still be supported for older plugin versions so we don't entirely lose insight on those older versions?

@@ -116,6 +118,19 @@ class BuildTelemetryCollector {
null
}
}

private fun getKotlinJvmTarget(project: Project): String? {
return if (project.pluginManager.hasPlugin("org.jetbrains.kotlin.android")) {
Copy link
Member

Choose a reason for hiding this comment

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

This is probably good enough for our purposes. jvm or multiplatform could also be in play but should be much less common.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is definitely something we should revisit in the future.

If we end up refactoring the build telemetry process, one of the things we could do is call withPlugin with the three options, jvm, android and multiplatform, get the data from the first one we get, and ignore the rest.

@priettt
Copy link
Contributor Author

priettt commented Nov 27, 2025

@fractalwrench yep, working on it

Will the existing keys still be supported for older plugin versions so we don't entirely lose insight on those older versions?

@priettt priettt changed the base branch from main to priettt/kotlinJvmTargetTelemetry November 27, 2025 18:51
Base automatically changed from priettt/kotlinJvmTargetTelemetry to main December 4, 2025 16:34
@priettt priettt force-pushed the priettt/buildTelemetryRename branch from 2c1a87e to 1fe316f Compare December 4, 2025 16:37
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@priettt priettt merged commit 6fd0f6f into main Dec 4, 2025
8 of 10 checks passed
@priettt priettt deleted the priettt/buildTelemetryRename branch December 4, 2025 16:40
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.

3 participants