Skip to content

[bug] Recovery retry fails permanently on IPFS upload errors #285

@realproject7

Description

@realproject7

Problem

In src/hooks/usePublish.ts, the publish intent is saved to localStorage before the IPFS upload is confirmed successful. If IPFS upload fails (line 97), the recovery banner appears — but attemptRetry() in usePublishIntent.ts only re-hits the indexer endpoint, not the IPFS upload step.

Users retry via the banner, the indexer tries to fetch from the same (missing) IPFS CID, and it fails repeatedly until max retries.

Impact

Users stuck in an unrecoverable retry loop for IPFS failures. After 5 retries, they see "Max retries reached" with no path forward.

Fix

Either:

  1. Don't save intent until IPFS upload succeeds, OR
  2. Include the upload phase in the retry flow so recovery can re-upload to IPFS

Related

PR #282, Issue #267

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/T3Assigned to T3 builder agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions