﻿# Argo template timeout includes time spent Pending

Argo template timeout counts from node start and includes Pending time; workflow and pod activeDeadlineSeconds have distinct scopes and effective inherited settings matter.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-argo-template-timeout-pending/
Language: en

## Locate the waiting period in the timeout

A document-analysis node times out even though its extraction process barely ran. Argo's [field reference](https://argo-workflows.readthedocs.io/en/latest/fields/) defines template `timeout` from the node's start time and includes time spent Pending. The elapsed interval can therefore contain admission or resource waiting. An observed timeout is not by itself evidence that the extractor or model spent the whole interval actively processing the source.

## Distinguish the workflow's overall deadline

The [timeout walkthrough](https://argo-workflows.readthedocs.io/en/latest/walk-through/timeouts/) shows `activeDeadlineSeconds` on the workflow specification to limit the workflow's elapsed execution. That boundary is different from a local node timeout. Inspect which scope reported termination. Extending an individual template setting does not necessarily extend the workflow-wide allowance that can stop the containing process before the local operation has used its own intended budget.

## Read pod-level applicability carefully

The reference also defines template-level `activeDeadlineSeconds` relative to pod start, applicable to container and script templates. It separately warns that template `timeout` may not apply to Step or DAG templates. Do not distribute one field indiscriminately across every template subtype and assume identical enforcement. Review the installed release and the actual node type when choosing the boundary that must limit a composite research workflow.

## Inspect inherited timeout values

The [template-defaults guide](https://argo-workflows.readthedocs.io/en/latest/template-defaults/) demonstrates runtime defaults, including timeout, with explicit template values taking precedence. The effective limit can therefore come from shared configuration even if it is absent from the local template block. [Progressive reading](/journal/learn-codex-progressive-reading/) helps trace the template into workflow and controller defaults before explaining a deadline as though only nearby YAML fields controlled it.

## Report waiting and processing separately

Record node start, Pending interval, pod or process start and the terminating deadline scope. [Tool observations](/journal/learn-codex-tool-observation/) make those observations comparable. If waiting consumed the allowance, the remedy can concern scheduling or capacity rather than generation speed. A useful timeout explanation states what was actually measured and which evidence-producing work ran, keeping an orchestration elapsed-time boundary separate from the amount of model inference or extraction the user received.
