How It Works
Cadence.CI runs your pipelines on machines it starts in your own cloud account, and keeps a full record of every run. This page explains how. For the vocabulary, see Concepts; for the ways to launch a pipeline, see Where It Runs.
At a Glance
| Usual hosted CI | Cadence.CI | |
|---|---|---|
| Where steps run | On the CI provider’s runners | On machines started in your own cloud account, with any of the supported providers |
| Who bills the compute | The CI provider, per minute | Your cloud provider, at its rates |
| Machine for each step | A runner type chosen per job | The smallest instance that fits what each step declares |
| When a broken pipeline is found | When a job reaches the broken step | Before anything starts: the whole pipeline is checked |
| Data between steps | Artifacts uploaded and downloaded between jobs | Streamed directly between the machines |
| What a run leaves behind | Logs | Logs, debug events replayed on the pipeline graph, the program and parameters that ran |
Life of a Run
| Where | What happens | |
|---|---|---|
| 1 | Your machine or CI job | You launch melodium run --api-report. The engine checks the whole program, types, connections and parameters, and stops there if anything is wrong. |
| 2 | Cadence.CI | The run appears in the dashboard. When the program reaches a step to dispatch, the engine asks Cadence.CI for a machine with what the step declares: CPU, memory, storage, architecture. |
| 3 | Your cloud account | Cadence.CI picks the smallest matching instance type among your connected accounts and starts it with the credentials you connected. |
| 4 | The machine | A Mélodium engine starts on the machine and runs the step’s containers. Work and data go directly between the engines, not through Cadence.CI. |
| 5 | Cadence.CI | Each engine sends its status, logs and debug events while it runs; the dashboard shows them live. |
| 6 | Your cloud account | When the step ends, Cadence.CI terminates the instance. |
What Goes Through Cadence.CI lists what Cadence.CI receives at each of these steps, and what never leaves your side.
Core Technology
Cadence.CI relies on Mélodium to implement distributed pipelines by handling data streams, event reactions, and process management in a way that is scalable, reproducible, and fault-tolerant. Cadence.CI requires Mélodium 0.11 or later. The Mélodium Language Book explains the language, and the Mélodium Reference documents every package, such as cicd.
Data Streams as First-Class Citizens
Mélodium treats data streams as the fundamental unit of computation . Streams can be distributed, transformed, and processed across multiple nodes, enabling real-time and scalable data handling. Streams are typed and generic, allowing for safe and reusable pipeline code across different data types and environments.
Event-Driven and Reactive Programming
Treatments react to incoming data or events rather than following a predefined execution order, and each set of treatments started together forms a track . This is particularly useful for integration pipelines, real-time analytics, and distributed task processing where execution depends on data availability.
Cross-Platform Support
Mélodium runs on Linux, macOS and Windows, on x86-64 and ARM64 (see supported platforms ). Abstraction layers handle platform-specific details, letting pipeline authors focus on logic rather than deployment.
Infrastructure and Distribution
Your Cloud Accounts
Connect one or more cloud accounts to your organization, with any of the supported providers; more providers are on the roadmap. Accounts can belong to different providers and regions; for each step, Cadence.CI chooses among all of them. See Connect a Cloud.
Dynamic Runner Spawning
Runners are provisioned on demand and terminated when the job completes:
- On-demand provisioning: runners spawn only when needed, eliminating idle resource costs.
- Auto-scaling: the system scales up or down based on pipeline demand.
- Ephemeral runners: each runner is created for a specific job and destroyed afterward, improving both efficiency and security posture.
Unified Abstraction Layer
The pipeline declares what each step needs, never which provider to use. Cadence.CI translates the engine’s requests into provider-specific actions, through each provider’s own instance API, so the same pipeline runs on any connected account.
Monitoring and Debugging
Cadence.CI aggregates the logs and execution data of every engine of a run, wherever it runs.
Log and Debug Aggregation
Engines upload logs and debug events to Cadence.CI in chunks as execution progresses. They appear in the dashboard shortly after each upload, and you can browse them per run, along with the program that was executed.
Debug Events
Debug events record what the engine did: models and treatments built, started and finished, and data sent and received on each connection. They are captured at the basic level by default when a run is reported; at the detailed level (--debug-level detailed), they also carry the value of every data transmission, which is meant for small-scale debugging since it duplicates the data volume. The run page plays them back on a timeline under the pipeline graph, and lists them in a filterable table.
Secret values never appear in debug events, at any level, nor in logs or anything else a run reports.
Run-Level Execution Data
For each run, Cadence.CI records:
- Execution state: request, start, and end times, current status (scheduling, running, finished, unschedulable), and the success/failure result.
- Entrypoint and parameters: the exact treatment entrypoint and input parameters the run was launched with. A parameter typed
Secretis recorded by its name and type only. - Resource requests: CPU, memory, and storage requested for the run’s engine, containers, and service containers.
Inspecting values from the pipeline graph, time-travel replay, alerting, and metrics export are on the roadmap.
Organization and Security
Roles and Invitations
Users belong to an organization and hold a role (Administrator, Operator or Member) that governs what they can do, such as listing members or managing tokens. Admins can invite new users to the organization by email, and roles and access apply at the organization level.
Team-level grouping and per-project/per-runner permission scoping are on the roadmap.
Bring Your Own Infrastructure
Cadence.CI follows a “Bring Your Own Infrastructure” (BYOI) model: Cadence.CI coordinates runners and keeps run records, while compute runs in your own cloud provider account.
What Goes Through Cadence.CI shows what Cadence.CI receives and what stays in your account.
This model provides:
- Data sovereignty: the data your steps exchange stays in your account, and instances run in the regions you choose, to meet data residency requirements (GDPR, CCPA, etc.).
- Network isolation: instances run in your account’s network.
- Compliance alignment: because you control the account, you can meet strict requirements (HIPAA, PCI DSS, SOC 2, ISO 27001) by running on already-certified environments.
- Ephemeral runners: runners are short-lived, eliminating idle attack surface.
Per-team runner/secret scoping and IAM integration with external identity providers are on the roadmap.
Core-Level Security
Cadence.CI leverages Mélodium’s runtime properties for security guarantees that are built into the execution layer itself:
- Fail-fast validation: the entire program is validated at startup. Invalid configurations and unsafe setups halt immediately, before any runner is spawned or any compute is provisioned.
- Secrets: values typed
Secretare given as locators, such asenv:MELODIUM_SECRET_TOKENorfile:/run/secrets/token, and resolved by the engine that uses them. They are masked in logs and wiped from memory after use. Cadence.CI only knows that a secret kept on your side exists, by its name and type; the ones you store on Cadence.CI are encrypted, and read only by the runs your rules allow.