HIGH story-bulk-registration-proxy-reporting-coordinator-004 3 pts

User Story

As a Coordinator
I want to retry only the failed rows from a bulk submission directly from the batch progress widget without clearing the successful results or resubmitting the entire batch
So that So that a transient network error or validation issue affecting one or two mentors does not require me to redo work already successfully completed for the rest of the group

Acceptance Criteria

  • Given at least one mentor row is in error state after a bulk submission, when the coordinator taps the retry action on that row, then only that mentor's activity insert is resubmitted
  • Given a retry submission succeeds, when the result is received, then the row transitions from error to success state and a delegation_grants record is created
  • Given a retry submission fails again, when the error is returned, then the row remains in error state with an updated error reason
  • Given multiple rows are in error state, when the coordinator taps 'Retry All Failed', then all error-state rows are resubmitted simultaneously
  • Given successful rows exist when retries are triggered, when retries complete, then previously successful rows are unaffected and retain their success state

Business Value

Transient network failures are common in mobile environments. Without granular retry, a single failed row in a 30-mentor batch forces the coordinator to reconstruct the entire submission or manually identify and re-enter the missed record — both of which defeat the efficiency goal of bulk registration. Targeted retry keeps the coordinator productive and ensures eventual completeness without redundant data entry.