Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
docs(pipeline): wire configured FailureHandler into the engine (#1444)
Zohaib Hassnainf6a0e4a32ef5
diff --git a/docs/guides/pipeline.md b/docs/guides/pipeline.mdindex ecd06f92..b11470f5 100644--- a/docs/guides/pipeline.md+++ b/docs/guides/pipeline.md@@ -127,7 +127,7 @@ engine = ExecutionEngine(max_workers=4, retry_on_failure=True)result = engine.execute_pipeline(pipeline)print(f"Success: {result.success}")-print(f"Output: {result.output}") # {"node_count": 312, "edge_count": 847}+print(f"Output: {result.output}") # the final step's return value, e.g. {"node_count": ..., "edge_count": ...}print(f"Duration: {result.metrics['execution_time']:.2f}s")print(f"Steps completed: {result.metrics['steps_executed']}")```@@ -197,7 +197,9 @@ engine = ExecutionEngine(max_workers = 4,retry_on_failure = True,)-# The engine uses handler.get_retry_policy(step.step_type) when a step fails+# ExecutionEngine builds its own FailureHandler; replace it with the configured one+engine.failure_handler = handler+# The engine now calls engine.failure_handler.get_retry_policy(step.step_type) on failure````handler.classify_error()` distinguishes `ValidationError` (low severity, usually don't retry), `ProcessingError` (high severity), and timeout/connection errors (medium severity, always retry). You can inspect the classification: