Comparisons · Workflow orchestration

Decim vs Prefect: workflow execution, pipeline root cause

Prefect helps teams build and operate workflows. Decim investigates why a workflow produced a wrong result when execution state alone is not enough.

Decim and Prefect: the short answer

Prefect builds, schedules and operates data workflows. Decim investigates why a workflow produced a wrong result, using its code, changes and step-by-step logs.

Prefect is a natural fit for defining, scheduling and observing workflow execution. Decim addresses the investigation that follows when the data result remains unexplained.

Decim compared with Prefect
Dimension Decim Prefect
Primary questionWhy did this workflow produce this result?How should this workflow be defined, scheduled and run reliably?
Starting pointA known incident or unexpected result.A flow, task, deployment or run.
Relationship to the codeReads flows and the code they call from a connected GitHub repository, plus step logs.Is where flows are defined and run.
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.Flow and run context where the workflow is operated.
Best use togetherInvestigate the cause after a flow incident.Orchestrate and operate the workflow.

Choose Prefect for workflow operations

Workflow engines make execution, scheduling and retries manageable.

Prefect is the direct fit when a team needs to build and operate workflows with execution context, scheduling and operational visibility. It provides the run identity and state responders need when a flow fails or retries. Decim does not replace it. The comparison matters because a workflow platform can report what happened to a flow while the team still needs to explain why the resulting rows are wrong.

Choose Decim for the cause inside the run

A healthy flow can call code that does the wrong thing.

A flow can complete while the code it calls applies a changed default, skips a partition or writes only part of its result. Decim reads the flow and that code from GitHub, locates the step most likely involved, and reads its logs from Google Cloud Logging or, on Windows hosts, through the optional agent. Each step ends as looked fine, found something, or an honest gap such as no logs — Decim does not fill a gap with a guess. Findings cite the exact lines, and the conclusion is confirmed only when evidence corroborates it.

Start with the Prefect run, continue into the evidence

The orchestration record sets the boundary; Decim investigates inside it.

Use the Prefect run, task state and deployment context to set the window and scope of a Decim incident. Decim separates a scheduling problem from a logic change or a late input, and when the deciding evidence is in a database it writes a read-only query for the team to run. Decim does not ingest Prefect runs today; orchestrator integrations are planned.

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 Prefect 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 Prefect?
No. Prefect orchestrates and operates workflows; Decim investigates why a workflow produced an incorrect or unexplained result.
Can Prefect explain a failed data workflow?
It provides flow, task and run context. Decim adds the code changes and step logs that may be needed for the cause.
Does Decim integrate with Prefect?
Not directly today. The sources Decim reads today are GitHub, Google Cloud Logging, Jira Cloud, files you attach to an incident, and an optional Windows agent for files and Event Logs. Prefect flows in a connected GitHub repository are read as code.
Which product should own retries and scheduling?
Prefect or your existing orchestrator. Decim explains the incident and proposes a fix for human review; nothing is merged or changed automatically.

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 Prefect and Decim each fit.