﻿# Argo bare task dependencies do not mean success only

Argo enhanced depends expands a bare task name beyond Succeeded; Skipped and Daemoned also qualify, so mandatory analysis should use an explicit result predicate.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-argo-depends-bare-task-success/
Language: en

## Require evidence from the producer explicitly

A report task depends on an analysis task that can be skipped when a condition is false. Argo's [enhanced-dependency guide](https://argo-workflows.readthedocs.io/en/latest/enhanced-depends-logic/) explains that a bare task name in `depends` is not shorthand for success alone. It accepts Succeeded, Skipped or Daemoned. A report requiring an actual completed analysis should therefore state the relevant result, such as `analysis.Succeeded`, rather than rely on the name's everyday implication.

## Distinguish skipped and omitted execution

The guide distinguishes Skipped, caused by a false `when` condition, from Omitted, caused by a false dependency condition. Neither producer executes its body. This matters when tracing why an expected analysis artifact is absent. Record the actual node result instead of treating every unexecuted task as an infrastructure failure or every dependency decision as successful production of document evidence.

## Handle absent outputs according to the declared branch

The detailed [variable reference](https://argo-workflows.readthedocs.io/en/latest/variables/) specifies absent outputs for Skipped or Omitted producers. From v4.0.7, explicit producer or consumer defaults can apply, expression tags see nil and can use a fallback, and an unhandled absent reference fails the node with a terminal error. This specific rule qualifies the dependency overview’s simpler empty-string description. An actually empty result from an executed producer is different. Review installed-version behavior and declare the intended fallback or required evidence explicitly.

## Review compatibility when migrating dependency syntax

The [DAG walkthrough](https://argo-workflows.readthedocs.io/en/latest/walk-through/dag/) introduces task dependencies, while the [field reference](https://argo-workflows.readthedocs.io/en/latest/fields/) describes their declarations. Enhanced logic cannot be mixed with `dependencies` in the same task group, and `continueOn` is replaced there by explicit result predicates. A migration should review accepted producer outcomes, not only mechanically join names with Boolean operators. [Progressive reading](/journal/learn-codex-progressive-reading/) helps follow declarations into the consumers of those outputs.

## Confirm the branch outcome and the artifact

Inspect the producer result, evaluated dependency and actual input supplied to the report. [Tool observations](/journal/learn-codex-tool-observation/) preserve that chain. A satisfied condition can legitimately allow an optional skipped branch, but it does not prove an analysis was performed. The accepted report should reflect whether it used completed evidence or an intentional fallback, keeping empty orchestration values separate from findings about the source document.
