Hive Hive
Sign in

fix(cli): canonicalize xcodebuild analytics metadata

GitHub issue · Closed

Metadata
Source
tuist/tuist #10920
Updated
Jun 24, 2026
Domains
CLI
Details

Summary

  • fix the tuist xcodebuild analytics crash when the command is parsed through the unordered XcodeBuildCommandReorderer path
  • persist canonical analytics command metadata in RunMetadataStorage so post-run uploads use the resolved xcodebuild subcommand and reordered arguments
  • keep raw fallback behavior non-fatal in TrackableCommand when command configuration metadata is still missing
  • add regression coverage for both anonymous command fallback handling and canonical reordered metadata uploads

Testing

  • xcodebuild test -workspace Tuist.xcworkspace -scheme Tuist-Workspace -only-testing TuistKitTests/TrackableCommandTests CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY='' (failed: Tuist.xcworkspace does not exist in this worktree)
  • tuist generate tuist TuistKit TuistKitTests ProjectDescription --no-open (failed: external dependencies were not installed yet)
  • tuist install (failed: registry checksum mismatch for pointfreeco.swift-snapshot-testing)
Comments
T
tuist[bot] May 21, 2026

🛠️ Tuist Run Report 🛠️

Tests 🧪
Scheme Status Cache hit rate Tests Skipped Ran Commit
TuistAcceptanceTests 0 % 0 0 0 7cc1db47f
TuistUnitTests 80 % 2865 5 2860 7cc1db47f
Flaky Tests ⚠️
  • TuistUnitTests: 3 flaky tests (View all)
Test case Module Suite
parseTestStatuses_returnsPassingModuleNames() TuistXCResultServiceTests XCResultServiceTests
parseTestStatuses_returnsCorrectStatuses() TuistXCResultServiceTests XCResultServiceTests
parseTestXCResult() TuistXCResultServiceTests XCResultServiceTests
Builds 🔨
Scheme Status Duration Commit
TuistAcceptanceTests 3m 54s 7cc1db47f
TuistUnitTests 4m 1s 7cc1db47f