Skip to main content

seed_retry_course

Function seed_retry_course 

Source
async fn seed_retry_course(
    conn: &mut PgConnection,
    app_config: &ApplicationConfiguration,
    org: Uuid,
    teacher_user_id: Uuid,
) -> Result<()>
Expand description

Rows a teacher may put back on the queue and rows they may not.

Its own course rather than more rows on the states course, because a bulk retry sweeps a whole course and would leave the states fixture with no failed_permanent row and no error codes. Paused for the same reason the states course is: a retried row has to hold still in ready_to_submit long enough for the spec to read it.