Skip to content

Remove support for deserialization of old pipeline_outputs from pipeline snapshot #10168

@Amnah199

Description

@Amnah199

Summary and motivation

When using pipeline breakpoints, Haystack creates pipeline snapshots that include pipeline_outputs. In this PR, we fixed the (de)serialization logic for pipeline_outputs so that snapshots now use the correct serialization schema.

As a result, older snapshots still contain pipeline_outputs in the legacy format, and we currently maintain backward-compatibility logic to deserialize them. This compatibility layer is only temporary and must be removed before the Haystack 2.23.0 release.

Required Action

Remove the backward-compatibility code paths that handle legacy pipeline_outputs serialization.
(Update the code sections here once the PR is merged)

Checklist

Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priority, add to the next sprint if no P1 availablebreaking change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions