Skip to content

Include build details on the instantiation event - #36

Merged
ps2 merged 2 commits into
next-devfrom
analytics-build-details
Oct 14, 2026
Merged

ps2 merged 2 commits into
next-devfrom
analytics-build-details

Conversation

@ps2

@ps2 ps2 commented Oct 14, 2026 •

Copy link
Copy Markdown

The LoopKitAnalytics instantiation event, the only event sent at the "share version only" level, now carries properties that tell apart builds sharing a version string:

  • buildNumber: CFBundleVersion
  • workspaceBranch, workspaceRevision: LoopWorkspace git branch and short SHA (the branch is absent when the workspace is on a detached HEAD)
  • loopBranch, loopRevision: Loop submodule git branch and short SHA
  • customizations: identifiers of the build customizations applied, collected from .loopcustomization marker files (Record build customizations in BuildDetails.plist Loop#2577)

The values come from the app's Info.plist and BuildDetails.plist. Properties missing from BuildDetails.plist are left out. The source path and per-submodule details in that file aren't sent.

The workspace build succeeds. Not yet checked on a device: the simulator never creates the analytics client.

ps2 added 2 commits October 13, 2026 19:35
Adds the build number and the LoopWorkspace and Loop git branch and revision from BuildDetails.plist, so builds sharing a version string can be told apart. This event is sent at the version-only sharing level.
Sends the identifiers Loop's build-details script collected from .loopcustomization marker files.
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.

1 participant