fj run rerun --failed and --job: rerun only what failed #168

Closed
opened 2026-06-15 15:01:14 +00:00 by stephen · 0 comments
Owner

Problem

fj run rerun reruns the whole run; on a matrix where one job flaked it wastes minutes and runner cost.

Acceptance criteria

  • fj run rerun <id> --failed reruns only the failed jobs.
  • fj run rerun <id> --job <job-id> reruns a single job.
  • Bare fj run rerun <id> still reruns the whole run (unchanged default).
  • --failed and --job are mutually exclusive; job ids match those shown by fj run view.

Value

Faster, cheaper recovery from flakes; tighter CI loops.

Priority

p2.

Dependencies / sequencing

Relies on per-job ids already surfaced by fj run view; back with Forgejo's per-job rerun endpoint.

Overlap

None.

## Problem `fj run rerun` reruns the whole run; on a matrix where one job flaked it wastes minutes and runner cost. ## Acceptance criteria - [ ] `fj run rerun <id> --failed` reruns only the failed jobs. - [ ] `fj run rerun <id> --job <job-id>` reruns a single job. - [ ] Bare `fj run rerun <id>` still reruns the whole run (unchanged default). - [ ] `--failed` and `--job` are mutually exclusive; job ids match those shown by `fj run view`. ## Value Faster, cheaper recovery from flakes; tighter CI loops. ## Priority p2. ## Dependencies / sequencing Relies on per-job ids already surfaced by `fj run view`; back with Forgejo's per-job rerun endpoint. ## Overlap None.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rasterstate/fj#168
No description provided.