Skip to content

Add retry support for failed executions#21

Merged
V3RON merged 2 commits intomainfrom
feat/retry-failed-runs
May 6, 2026
Merged

Add retry support for failed executions#21
V3RON merged 2 commits intomainfrom
feat/retry-failed-runs

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented May 5, 2026

Summary

Broad benchmark runs can now retry only the case x runner executions that fail, so a single flaky agent response no longer forces you to rerun the whole matrix. You can configure retries with run.retryFailed or skillgym run ... --retry-failed <n>, and the final reports keep every attempt and call out when a pass came from a retry.

Context

This adds retry handling inside suite execution instead of requiring wrapper scripts around --case and --runner. Retry metadata now flows through the result model and built-in reporters so JSON output, GitHub Actions summaries, and the standard CLI reporter all preserve attempt artifacts and expose the final retry outcome.

Fixes #17

Proposed Testing Scenario

Run a suite that contains one intentionally flaky case with --retry-failed 2 and verify that only the failing case x runner execution is rerun, that successful executions are not repeated, and that the final output shows both the preserved attempt artifacts and whether the last result passed on retry.

@V3RON V3RON merged commit 402d94f into main May 6, 2026
4 checks passed
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.

Add an option to rerun failed executions

1 participant