back to home

apple / swift-temporal-sdk

Swift SDK for Temporal

211 stars
18 forks
17 issues
SwiftMakefileC

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing apple/swift-temporal-sdk in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/apple/swift-temporal-sdk)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Temporal Swift SDK Temporal is a distributed, scalable, durable, and highly available orchestration engine used to execute asynchronous, long-running business logic in a scalable and resilient way. • šŸš€ Swift package for authoring Temporal workflows and activities • šŸ“¦ Compatible with Swift Package Manager • šŸ“± Supports Linux (including the static SDK), macOS, iOS • šŸ”§ Built with Swift 6.2+ and Xcode 26+ šŸ”— Jump to: • šŸ“– Overview • āš™ļø Use Cases • šŸ Getting Started • šŸ“˜ Documentation • 🧰 Release Info • šŸ› ļø Support šŸ“– Overview The Temporal Swift SDK provides a package for building distributed, durable workflows and activities using Swift's modern concurrency features. Temporal enables you to build reliable applications that recover from failures, scale dynamically, and maintain long-running business processes with confidence. **Key Features:** • šŸ”„ **Durable Workflows**: Build fault-tolerant workflows that survive infrastructure failures • šŸ—ļø **Scalable Architecture**: Distribute workflow execution across multiple workers • ⚔ **Swift Concurrency**: Native integration with Swift Structured Concurrency • šŸŽÆ **Type Safety**: Compile-time type checking for workflow and activity definitions • šŸ“Š **Observability**: Built-in support for logging, metrics and tracing • šŸ”§ **Macro-based APIs**: Simple and macros to avoid boilerplate • 🧪 **Testing Support**: Easily test your workflows and activities āš™ļø Use Cases The Temporal Swift SDK excels in scenarios requiring reliable, long-running business processes such as: **šŸ›’ E-commerce & Payment Processing** • Order fulfillment workflows with inventory, payment, and shipping coordination • Multi-step payment processing with automatic retry and rollback capabilities • Subscription billing and recurring payment management **šŸ”„ Data Processing & ETL** • Large-scale data transformation pipelines with fault tolerance • Event-driven data processing with guaranteed delivery • Batch processing jobs with progress tracking and resumption **šŸ¢ Business Process Automation** • Approval workflows with human-in-the-loop interactions • Multi-system integration and orchestration • Document processing and compliance workflows **šŸ“Š Monitoring & Operations** • Health check orchestration across distributed systems • Automated incident response and remediation • Scheduled maintenance and cleanup tasks šŸ Getting Started Prerequisites • Swift version: Swift 6.2+ To install/upgrade Swift, see https://www.swift.org/install/ Adding as a dependency To use the Swift Temporal SDK in your Swift project, add it as a dependency in your file: Running the project • **Clone the repository** • **Build the package** • **Run tests** • **Run an example** Usage Here's a simple example showing how to create a workflow and activity: šŸ“˜ Documentation • API Documentation - Complete API reference and guides • Examples • Sample projects demonstrating various features 🧰 Release Info > [!NOTE] > This SDK is currently under active development. • Release Cadence: Ad-hoc whenever changes land on • Version Compatibility: Swift 6.2+ and macOS 15.0+ only šŸ› ļø Support If you have any questions or need help, feel free to reach out by opening an issue.