Skip to content

Conversation

aridder
Copy link

@aridder aridder commented Sep 5, 2025

Summary

This pull request introduces a utility script, reset-order.sh, and a corresponding just command, just reset-order <order-id>, to facilitate the manual reprocessing of failed orders.

Problem

While Boundless is generally stable, certain conditions, such as memory pressure from very large proofs or transient infrastructure issues, can cause orders to fail with an internal error. Currently, there is no straightforward way to retry these orders without significant manual intervention.

Solution

This change provides a simple and effective way for operators to reset a failed order. The script performs the following actions:

  1. Clears all existing tasks associated with the specified order ID.
  2. Updates the order's status from failed to pending_proving.

This allows the broker to pick up the order again and attempt to process it from a clean state, providing a crucial tool for operational recovery.

Considerations

This could be a part of boundless cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants