Comparisons · Workflow orchestration

Decim vs Apache Airflow: task state is not the cause

Apache Airflow orchestrates workflows and records task execution. Decim investigates why a pipeline produced a wrong result when task state alone does not explain it.

Decim and Apache Airflow: the short answer

Apache Airflow schedules and orchestrates workflow tasks. Decim investigates why a pipeline produced a wrong result when task state alone does not explain it.

Airflow is the right tool for orchestration and task-level execution context. Decim addresses the causal investigation that may cross a DAG, the code its tasks call, and the logs of each step.

Decim compared with Apache Airflow
Dimension Decim Apache Airflow
Primary questionWhy did this pipeline produce the observed result?How should this workflow be scheduled, ordered and executed?
Starting pointA known incident or unexplained result.A DAG, task run or dependency.
Relationship to the DAGReads DAG files and the code they call from a connected GitHub repository; reads task logs where they are in Google Cloud Logging.Defines and runs the DAG and keeps its execution state.
Evidence Decim reads todayCode, commits and pull requests from GitHub; entries from Google Cloud Logging; a linked Jira ticket; attached files; optionally Windows files and Event Logs via the agent.Task and DAG run context in the Airflow deployment.
Best use togetherInvestigate the cause when a task or data outcome needs explaining.Orchestrate the workflow and provide run identity and timing.

Choose Airflow for orchestration

A workflow engine should own dependencies, scheduling and execution state.

Airflow is the direct fit for coordinating work: defining a DAG, expressing dependencies, scheduling runs and exposing task state. That context is often the first useful signal in an incident — a failed task, a retry or a skip narrows the window. Decim is not an orchestrator. The comparison matters because teams with an orchestrator can still lack a structured way to explain why the resulting data was wrong.

Choose Decim when task state is not enough

A task can succeed and still produce the wrong result.

Task state tells you a process exited. It does not tell you that the stored procedure it called filtered out every EUR row because a release changed a parameter default. Decim reads the DAG and the code it calls from GitHub, locates the step most likely involved, and reads that step's logs. If Airflow runs on Cloud Composer, its task logs are in Google Cloud Logging and an investigation can read them through a named log source. Decim compares the failing run with successful ones and cites the lines that differ.

Let Airflow identify the run, Decim explain the outcome

Orchestration context makes the investigation precise.

Start from the DAG run, task instance and retry history: they give the run identity and time window for the Decim incident. Decim follows the evidence beyond the orchestrator into the code and the step logs. Decim does not read the Airflow metadata database today — connections, variables and pools changed in the UI are not visible to it yet — and a dedicated Airflow integration is planned.

Related guides

  • Airflow vs dbt: how an orchestrator and a SQL transformation framework divide the work, how they run together, and how each one fails.

What Decim does once an incident is open

The same five phases on every incident, shown as a timeline in the admin. This is the part of the workflow that begins where Apache Airflow hands over.

  1. 1

    Locate

    Decim ranks the pipelines it discovered in your GitHub repositories against the incident description and any linked Jira ticket, and cites the code — file and line range — that made the match. If nothing matches well enough, it asks for more context instead of guessing.

  2. 2

    Read the logs, step by step

    The most suspicious steps are walked first. Each step's logs are pulled from Google Cloud Logging or, on Windows hosts, through the optional agent, within fixed limits on requests, bytes and model calls. The failing run is compared with successful runs up to 30 days back, and each step ends as looked fine, found something, or an honest gap such as no logs.

  3. 3

    Weigh explanations

    Up to five competing hypotheses, each with a confidence, evidence for and against, the code involved and the tests that would settle it. An independent critique pass challenges them. Revisions are numbered, and rejected hypotheses are kept with the evidence that ruled them out.

  4. 4

    Settle it

    When the deciding evidence is somewhere Decim cannot read — typically a database — it writes a check for a person to run: a read-only SQL query validated against a read-only allowlist and never executed by Decim, a file to fetch, or guided steps. The result goes back in and triggers a new revision.

  5. 5

    Conclude, then fix

    A cause is confirmed only with corroborating evidence: Cause found, Likely cause, Cause unclear or Needs log access. A fix can be a repository patch checked to apply cleanly, an SQL repair for your team to run, or both; one click opens a draft pull request on GitHub. Nothing is merged automatically.

Common questions

Is Decim a replacement for Airflow?
No. Airflow orchestrates workflows; Decim investigates why a workflow produced an unexpected result.
Can Airflow show why a task failed?
Airflow provides task state, logs and execution context. Decim is for the broader chain when those signals do not establish the cause, including when the task succeeded.
Does Decim integrate with Airflow?
Not directly today. Decim reads DAG code from GitHub and task logs from Google Cloud Logging when they are shipped there, as they are on Cloud Composer. An Airflow metadata integration is planned.
Which product should schedule a remediation?
Airflow or your existing orchestrator. Decim proposes a fix for human review — a patch as a draft pull request, or an SQL repair for your team to run — and never changes the workflow itself.
Should I use Airflow or dbt?
Usually both, for different jobs. Airflow schedules and sequences work across systems; dbt builds and tests SQL models inside the warehouse, and Airflow often runs dbt as one step. See Airflow vs dbt for the full comparison and how each one fails.

Get started

Compare from a real incident

Bring a pipeline incident and the tools you already use. We will separate detection from investigation, and show where Apache Airflow and Decim each fit.