Replay one Swift execution where a client request calls a worker helper.

Project Entry

request_client.swift
let command = 
let label: String

if command == "build" {
    label = "pipeline"
} else if command == "deploy" {
    label = "release"
} else {
    label = "health"
}

let response = handleRequest(command)
let ticket = 40 + command.count

print("label=\(label)")
print("ticket=\(ticket)")
print(response)
let command = 
let label: String

if command == "build" {
    label = "pipeline"
} else if command == "deploy" {
    label = "release"
} else {
    label = "health"
}

let response = handleRequest(command)
let ticket = 40 + command.count

print("label=\(label)")
print("ticket=\(ticket)")
print(response)
let command = 
let label: String

if command == "build" {
    label = "pipeline"
} else if command == "deploy" {
    label = "release"
} else {
    label = "health"
}

let response = handleRequest(command)
let ticket = 40 + command.count

print("label=\(label)")
print("ticket=\(ticket)")
print(response)
source panels When an example has more than one source file, replay keeps each file in its own panel while preserving one ordered trace stream. The Data Flow view follows the actual `handleRequest(command)` call into the worker file and the returned response back to the client.
boundary The client owns the selected command, label, and visible output. The worker owns the response rule for that command.