Ignitify.dev
Overview
Build flows

Build flows

Ignitify runs one step in one VM. You build a flow from steps: state that goes from one run to the next, a way to start the next step, and the guides below. Each table here helps you choose, and links to the page that shows how.

Pass state between runs

A run does not see the run before it. Pick one way to carry state from one run to the next. Pass state between runs shows each way with its limits.

WayWhere it livesPlanUse it whenRead
From outsideThe last result. Your script passes it on as the next payload.Any planSomething outside starts each run anyway: a script, a CI job or your server.From outside
Warm memoryThe memory of a warm VM.Starter and upYou want a cache that makes the next run faster, and you can lose it at any time.Warm memory
Own databaseYour database, over its HTTPS API.Starter and upThe state is larger than 10 KiB, you cannot lose it, or runs started together share it.Own database

Chain runs

A run ends with a result. The task can return which step comes next. The caller, or your own workflow tool, cron job or queue, starts that step.

CallerAPI server1start task Apayload2resultnext: task B + payloaddecideloop or stop3start task Bpayload4resultdonethe state that travelsthe flow endsCallerAPI server1start task Apayload2resultnext: B + payloaddecideloop or stop3start task Bpayload4resultdone
The task returns the next step. The caller starts it.
WayWhere it livesUse it whenRead
The next step in the resultThe result of the run: which task, and which payload.The next step depends on what the task found. This is also how you branch and loop.The next step in the result
Your own orchestratorYour own workflow tool, cron job or queue. It keeps the state of the flow.The flow is larger than a few steps. Ignitify is the secure compute step that your tool calls.Your own orchestrator
Run B when A endsTask A's end-of-run callback calls task B's webhook. B gets A's run id and status, not its result.B needs to know only that A ended.Run B when A ends

Flow shapes

Your orchestrator or the caller makes each shape from single runs. A run never starts other runs. Flow shapes shows each one.

WayWhere it livesUse it whenRead
Fan-outYour orchestrator or a script starts many runs.Work splits into parts that can run at the same time.Fan-out
Fan-inYour orchestrator waits for all parts, then combines the results.The next step needs every part.Fan-in
Branch and loopThe task returns the next step or "again". The caller starts it and counts.The next step depends on a result.Branch and loop
One at a timeYour orchestrator, a schedule, or a bidirectional task. With --on-busy queue a second run waits and runs on the same VM, so with state: across-runs they share its memory. Behind a busy pinned VM a run fails with bidirectional-busy.Runs must not overlap.One at a time

Wait and time

A run does not wait. To act later, or when something happens, start the run then.

WayWhere it livesUse it whenRead
Run laterA one-time schedule on the platform (--at).One run must start at a set time.Schedule the run
RecurringA recurring schedule with a cron expression.A run must start every hour, every day or on a calendar.Run on a schedule, Tutorial: uptime check
Wait for an event or a personA signed webhook is the resume point. A provider, a person or an approval tool calls it, and it starts the next step.The next step starts when something outside happens.Trigger from a webhook, Tutorial: nightly report, Tutorial: PR reviewer
A long-lived VMA run that lasts, or a VM that stays warm or pinned.One process must stay up and serve traffic.Keep a VM warm or pinned, Tutorial: streaming job

Safety and retries

The platform retries its own infrastructure failures. A task error is not retried: the caller or your orchestrator retries it.

WayWhere it livesUse it whenRead
No duplicate runsAn idempotency key on the request that starts the run.A script retries task:run after a network error.Retry a run safely
Platform retriesThe platform. Your plan sets the number of tries.You want to know what is retried for you, and what is not.Reliability
CancelOne command for one run. Your orchestrator cancels the runs it started.A run must stop, or the flow is no longer needed.Stop and clean up

See the flow

The platform shows each run. It does not show a flow. Put a flow id in the payload of every run and in its result, then read it back from the results.

WayWhere it livesUse it whenRead
Per-run viewThe CLI and the tenant app: status, result, logs, timeline, failures.You look at one step of a flow.Run commands
AlertsNotifications, for example a refused webhook or a reached limit. notification:list shows them.You want to be told when something stops a run.notification:list, Trigger from a webhook
UsageUsage and limits per tenant. There is no usage view per flow.You want to know what all your flows cost together.See what you used this month