Replay one Lua execution where a client request loads a worker response file.

Project Entry

request_client.lua
local command = 
local label = command

if command == "refresh" then
  label = "cache"
elseif command == "archive" then
  label = "records"
end

dofile("request_worker.lua")

local response = handle_request(command)
local ticket = 40 + string.len(command)

print("label=" .. label)
print("ticket=" .. ticket)
print(response)
local command = 
local label = command

if command == "refresh" then
  label = "cache"
elseif command == "archive" then
  label = "records"
end

dofile("request_worker.lua")

local response = handle_request(command)
local ticket = 40 + string.len(command)

print("label=" .. label)
print("ticket=" .. ticket)
print(response)
local command = 
local label = command

if command == "refresh" then
  label = "cache"
elseif command == "archive" then
  label = "records"
end

dofile("request_worker.lua")

local response = handle_request(command)
local ticket = 40 + string.len(command)

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 Variables panel follows the actual `dofile` load into the worker file and the returned response back to the client.
boundary The client owns the selected command and visible output. The worker owns the response rule for that command.