Hive Hive
Sign in

fix(cli): keep tuist dump stdout machine-readable

GitHub issue · Closed

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

Resolves n/a

Keep tuist dump machine-readable when the CLI collects warnings such as expiring server licence notices. This centralizes machine-readable command detection so JSON logging, Noora suppression, and completion output all agree on when stdout must stay JSON-only, and adds focused tests for the detection path.

How to test locally

mise run install
tuist generate tuist ProjectDescription TuistKitTests TuistSupportTests --no-open
xcodebuild test -workspace Tuist.xcworkspace -scheme Tuist-Workspace -only-testing TuistSupportTests/MachineReadableOutputTests -only-testing TuistKitTests/SessionControllerTests CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY=""
Comments
T
tuist[bot] May 19, 2026

🛠️ Tuist Run Report 🛠️

Tests 🧪
Scheme Status Cache hit rate Tests Skipped Ran Commit
TuistAcceptanceTests 0 % 0 0 0 98a5275f1
TuistUnitTests 43 % 2870 4 2866 98a5275f1
Flaky Tests ⚠️
  • TuistUnitTests: 4 flaky tests (View all)
Test case Module Suite
parseTestStatuses_returnsCorrectStatuses() TuistXCResultServiceTests XCResultServiceTests
sampler_networkAndDiskDeltasAreNonNegative() TuistMachineMetricsTests MachineMetricsSamplerTests
parseTestStatuses_extractsModuleAndSuiteNames() TuistXCResultServiceTests XCResultServiceTests
parseTestWithCustomLabelXCResult() TuistXCResultServiceTests XCResultServiceTests
Builds 🔨
Scheme Status Duration Commit
TuistAcceptanceTests 3m 55s 98a5275f1
TuistUnitTests 5m 9s 98a5275f1