You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add --fail-fast to stop skill-evals --cli at the first FAIL or ERROR #376
Add a --fail-fast flag to skill_evals.runner that, in --cli mode,
stops the loop as soon as a case is reported FAIL or ERROR instead
of running the full suite.
Background
The runner already iterates cases in --cli mode and prints PASS / FAIL / MANUAL / ERROR per case, then exits non-zero at the end
if anything failed (see tools/skill-evals/README.md).
On large suites a single bad case can take minutes to surface because
the harness keeps running the rest. --fail-fast is the same affordance pytest -x and prek already offer, and the loop is already structured
to support it (each case is reported then continues).
Where to look
tools/skill-evals/src/skill_evals/runner.py — the case loop in main() around lines 484–530, where passed, failed, manual,
and errored are incremented. After each failed or errored
increment, break out of the loop if args.fail_fast is set.
Same file, the argparse block around line 377 — add the flag next
to --verbose. Document it as --cli-mode only.
tools/skill-evals/tests/test_runner.py — where a regression test
goes.
Acceptance criteria
--fail-fast is accepted by argparse and documented in --help.
In --cli mode with --fail-fast, the runner stops after the
first case reported FAIL or ERROR; remaining cases are not
executed.
Without --fail-fast, behaviour is unchanged (existing tests still
pass).
The end-of-run summary line still prints, reflecting the partial
counts.
A test in tools/skill-evals/tests/test_runner.py exercises the
flag with a stub --cli command that fails on the first case
and asserts later cases were not invoked.
uv run --directory tools/skill-evals --group dev pytest passes.
This issue was drafted with the help of an AI-assisted tool and reviewed by an apache/airflow-steward maintainer before posting. If anything here is unclear or looks wrong, say so on the issue: a real person is reading.
Activity
feat(tools/skill-evals): add --fail-fast flag to stop on first failure
feat(tools/skill-evals): add --fail-fast flag to stop on first failure
justinmclean commentedon May 31, 2026
@Aayushhumai can you please comment here so I can assign you the issue
Aayushhumai commentedon May 31, 2026
Sure please assign it to me
feat(tools/skill-evals): add --fail-fast flag to stop on first failure (