In this article
Express the result the consumer requires, and do not treat a satisfied bare dependency as proof that its producer executed and created usable output.
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 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 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 introduces task dependencies, while the field reference 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 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 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.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.