Skip to content

Investigate replacing PipelineRuntimeError-based flow with component output error handling #79

Description

@hranasit

The current pipeline architecture relies heavily on exceptions propagating through Haystack pipelines, which causes most failures to end up wrapped as PipelineRuntimeError. This makes debugging, error classification, and downstream handling unnecessarily difficult.

We should review the current exception propagation strategy across pipeline components and evaluate whether component outputs can be used for controlled error propagation instead of relying on runtime exceptions for expected failure scenarios.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions