How voltservice/tuist works
Tuist is a monorepo for build-system tooling and a hosted platform supporting Xcode, Gradle, and Bazel. Its principal documented workflow is to use Tuist’s tools and services to accelerate and manage builds, then inspect build and test insights; other product branches include previews, the Swift package registry, bundle analysis, and generated projects. The README identifies the CLI, server, registry, cache mesh, and Gradle plugin, but the sampled source does not establish most cross-service runtime calls. Accordingly, edges below capture documented capabilities rather than inferred implementation flow.
Main entry points: server Tuist Server · cache Build Cache · PreviewsUploadService.swift Preview Upload · cli Tuist CLI
Components 29
Build Tooling
- Tuist CLI
cli - Project Paths
cli/Sources/ProjectDescription/Path.swift - Coverage Sources
cli/Sources/TuistCore/Analytics/CoverageBuildSources.swift - Run Metadata
cli/Sources/TuistCore/Analytics/RunMetadataStorage.swift - Cache Items
cli/Sources/TuistCore/Cache/CacheItem.swift - Cache Hashing
cli/Sources/TuistCore/Cache/TargetContentHashSubhashes.swift - Git Operations
cli/Sources/TuistGit/GitController.swift - HTTP Handles
cli/Sources/TuistHTTP/FullHandleService.swift - Gradle Plugin
gradle - Machine Metrics
gradle/src/main/kotlin/dev/tuist/gradle/MachineMetricsCollector.kt - Token Refresh
gradle/src/main/kotlin/dev/tuist/gradle/services/RefreshAuthTokenService.kt - Selective Testing
cli/Sources/TuistCore/Cache/TargetContentHashSubhashes.swift - Generated Projects
cli
Hosted Platform
- Tuist Server
server - Preview API
server/lib/tuist_web/controllers/api/previews_controller.ex - Server Storage
server/lib/tuist/storage.ex - Build Cache
cache - Cache Mesh
kura/src/app.rs - Mesh Authorization
kura/src/auth/engine.rs - Build Insights
cli/Sources/TuistCore/Analytics/RunMetadataStorage.swift - Bundle Insights
server
Preview Sharing
- Preview Types
cli/Sources/TuistServer/Models/PreviewType.swift - Preview Upload
cli/Sources/TuistServer/Services/PreviewsUploadService.swift - Artifact Transfer
cli/Sources/TuistServer/Services/MultipartUploadArtifactService.swift - Android Previews
android/app/src/main/java/dev/tuist/app/data/previews/PreviewsRepository.kt
Package Registry
- Swift Registry
registry - Registry API
registry/lib/tuist_registry_web/controllers/swift/registry_controller.ex
Operations
- Internal Ops
atlas
Other components
- Developer
Connections 18
- Developer → Tuist CLI: uses tooling
- Developer → Build Cache: speeds builds
- Developer → Selective Testing: selects tests
- Developer → Build Insights: reviews insights
- Developer → Bundle Insights: analyzes bundles
- Developer → Preview Upload: shares previews
- Developer → Swift Registry: resolves packages
- Developer → Generated Projects: manages projects
- Tuist Server → Build Cache: hosts cache
- Tuist Server → Preview API: provides previews
- Tuist Server → Server Storage: uses storage
- Build Cache → Cache Mesh: distributed cache
- Cache Mesh → Mesh Authorization: authorizes requests
kura/src/auth/engine.rs - Swift Registry → Registry API: serves registry
- Tuist CLI → Preview Upload: uploads previews
cli/Sources/TuistServer/Services/PreviewsUploadService.swift - Preview Upload → Artifact Transfer: transfers artifacts
cli/Sources/TuistServer/Services/PreviewsUploadService.swift - Android Previews → Preview API: requests previews
- Gradle Plugin → Machine Metrics: reports metrics
gradle/src/main/kotlin/dev/tuist/gradle/TuistMachineMetricsService.kt