Skip to content

Transient preparation failures prevent V1 settlement retries #1872

Open

Description

@snawaz

Problem

V1 can stop an intent after a temporary RPC failure while preparing buffers or ALTs, before the combined settlement transaction is submitted. Undelegation accounts can remain locked locally.

Single-stage preparation returns FailedFinalizePreparationError. The retry policy treats that error as terminal because it normally represents preparation after a confirmed commit, when restarting the whole intent would replay settlement.

Reproduction

Inject an RPC timeout into single-stage transaction preparation. The resulting error is not eligible for an outer retry, even though settlement has not been submitted.

Expected

Retry transient preparation failures before settlement using the existing limits and callback guard. Preparation failures after a confirmed commit must still prevent restarting the whole intent.

Context

Present in v1.1.1 and V1 at 8b2d8cf3: single-stage error mapping and retry classification.

Activity

  1. self-assigned this
    on Nov 2, 2026
  2. added theissue type on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions