Skip to content

Add ability to re-run failed executions in mint-runs component #642

@mosoriob

Description

@mosoriob

Summary

Users currently cannot re-run failed executions from the mint-runs interface. When model runs fail, users have to restart the entire process instead of being able to selectively re-run only the failed executions.

Current Behavior

  • Failed executions are displayed with red status bars in the runs table
  • Users can view logs of failed executions
  • No option to re-run individual failed executions
  • Users must restart the entire model run process to retry failed executions

Proposed Enhancement

Add a "Re-run" button or action for failed executions that allows users to:

  1. Identify failed executions (status == "FAILURE")
  2. Selectively re-run individual failed executions
  3. Re-run all failed executions at once
  4. Maintain the same parameters and inputs as the original failed run

Technical Details

  • Location: src/screens/modeling/thread/mint-runs.ts
  • Failed executions are identified by ensemble.status == "FAILURE" (line 439)
  • Current execution submission logic exists in _submitRuns() method (line 541)
  • Would need to extend the ensemble manager API to support re-running specific execution IDs

User Experience Benefits

  • Reduces time and resources by avoiding re-running successful executions
  • Improves workflow efficiency for large model ensembles
  • Provides better error recovery options
  • Reduces frustration when dealing with intermittent failures

Acceptance Criteria

  • Add re-run button/action for failed executions in the runs table
  • Implement re-run functionality that preserves original parameters and inputs
  • Add option to re-run all failed executions at once
  • Update UI to show re-run status appropriately
  • Maintain existing permissions and error handling

Labels

  • enhancement
  • user-experience
  • modeling

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions