Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Continue on Error

Direct answer

Continue on error lets a job proceed after a non-critical step fails, such as ignore_errors in Ansible or -ErrorAction Continue, while recording the failure so it is not missed.

When to use this

Use this when a non-critical failure should not stop the job.

First 30 seconds

1. Continue on error only for non-critical steps.

2. Document why.

3. Still report errors.

4. Never for changes that later steps depend on.

5. Review regularly.

Operational verification

non-critical error → logged → continue

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
workflow continue-on-error / tolerated-failure semantics
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformworkflow continue-on-error / tolerated-failure semantics · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when a non-critical failure should not stop the job.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

The primary procedure is: Run one intentionally failing tolerated step and one non-tolerated control step; inspect step outcome/conclusion, job/workflow status and downstream conditions, then verify any target side effect separately. Exercise failure-oriented cases such as setting continue-on-error globally, hiding test/security failures, downstream steps reading a “success” aggregate instead of step outcome, matrix behavior misunderstood and tolerated mutation failure leaving partial target state so the test covers failure cases, not only the happy path.

Step 2 Common mistakes Narrow the fault
  • Continuing after errors that make later steps unsafe.
Step 3 Where it fails Narrow the fault

Failure analysis for Error Handling → Continue on Error should follow the path through the components: step execution → raw exit/error → tolerated-failure policy → job/workflow status aggregation → downstream condition → target verification. Tests should include edge cases such as setting continue-on-error globally, hiding test/security failures, downstream steps reading a “success” aggregate instead of step outcome, matrix behavior misunderstood and tolerated mutation failure leaving partial target state. Recovery should preserve raw failure and target state, remove or narrow the tolerance if unsafe, repair the failing operation, then rerun both tolerated and non-tolerated fixtures to verify status propagation.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Record the failure.
  • Only for truly optional steps.
  • Report at the end.
Key checks
  • ignore_errors / continue-on-error / -ErrorAction Continue usage — deliberate only
  • Documented reason per use — justification
  • Errors still reported — visibility
ReferenceWhy it matters1 section · depth on demand

In depth

Continue on error lets automation keep processing other items or steps after one fails, then report all failures at the end. It suits independent items — collecting backups from 500 devices — but is dangerous for dependent steps.

- name: Collect facts
  cisco.ios.ios_facts:
  ignore_unreachable: true
  ignore_errors: true
  register: facts
Good fitBad fit
Read-only collectionSteps that depend on earlier ones
Independent device updates with reportingMulti-step changes on one device

Always end such jobs with a summary of failures and a non-zero exit status if any item failed.

ReferenceImportant terms & boundaries1 section · depth on demand

Mechanics

Continue on Error in Error Handling is owned at runtime by the workflow engine status-propagation policy deciding whether a failed step/job is tolerated for overall workflow continuation. The durable intent is explicit allow-failure rule scoped to one step/job plus downstream conditions that consume its outcome/conclusion. Reliable automation must carry stable identity across the path: workflow/run/job/step ID and policy/expression selecting tolerated failure. The consumer-visible target is control-flow and aggregate status only; the underlying failed operation remains failed and must not be reclassified as successful evidence. The key invariants are tolerated failures remain observable, only reviewed failure classes/steps are allowed, downstream logic reads the correct outcome field and production safety gates cannot be bypassed by broad continue-on-error.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Lifecycle

Store and review explicit allow-failure rule scoped to one step/job plus downstream conditions that consume its outcome/conclusion; pin or at least record implementation/model versions and keep environment-specific identity outside reusable logic where possible. The stable identity contract is workflow/run/job/step ID and policy/expression selecting tolerated failure.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docworkflow continue-on-error / tolerated-failure semantics current

Authoritative/upstream documentation reviewed for bounded claims in Error Handling > Continue on Error. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax · confidence 94%
Embedded reference data

Quick lookup tables

Error Handling → Continue on Error · operational reference

Context-specific ownership, verification, output and failure-boundary lookup for Error Handling → Continue on Error.

LayerError Handling → Continue on Error operational reference
Runtime/ownershipworkflow continue-on-error / tolerated-failure semantics · the workflow engine status-propagation policy deciding whether a failed step/job is tolerated for overall workflow continuation
Persistent intentexplicit allow-failure rule scoped to one step/job plus downstream conditions that consume its outcome/conclusion
VerificationRun one intentionally failing tolerated step and one non-tolerated control step; inspect step outcome/conclusion, job/workflow status and downstream conditions, then verify any target side effect separately.
Expected interpretationOnly the reviewed step/job failure is tolerated, the raw failure remains visible for audit, downstream logic can distinguish it from success, and unsafe/partial target state cannot pass final verification.
Recovery boundarypreserve raw failure and target state, remove or narrow the tolerance if unsafe, repair the failing operation, then rerun both tolerated and non-tolerated fixtures to verify status propagation
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

At minimum retain run/job/step IDs, raw exit/error, outcome/conclusion, continue-on-error policy, downstream condition result, aggregate workflow status and independent target verification. The useful output makes ambiguity visible, links to the target identity from workflow/run/job/step ID and policy/expression selecting tolerated failure, and provides enough context to safely decide whether a retry is permitted.

Confirmation

Confirm action

Continue?