Skip to content

integration runner: add --max-failures flag to cap test output #548

Open
lupin012 wants to merge 2 commits intomainfrom
lupin012/runner-max-failures
Open

integration runner: add --max-failures flag to cap test output #548
lupin012 wants to merge 2 commits intomainfrom
lupin012/runner-max-failures

Conversation

@lupin012
Copy link
Copy Markdown
Collaborator

@lupin012 lupin012 commented Apr 11, 2026

Add a new -M / --max-failures flag (default: 100) that stops the test sequence once the failure count reaches the configured threshold. When triggered, workers are cancelled via context and a clear message is printed:

ABORTED: too many failures (100), test sequence stopped early

This prevents the result artifact from growing to hundreds of MB when Erigon is completely broken in a PR — only the first N diffs are written to disk. Set --max-failures 0 to restore unlimited behaviour.

Also fix a stale test assertion for trace_rawTransaction which was removed from the default skip list in a previous PR but the test was not updated.

…ilure

Add a new -M / --max-failures flag (default: 100) that stops the test
sequence once the failure count reaches the configured threshold. When
triggered, workers are cancelled via context and a clear message is printed:

  ABORTED: too many failures (100), test sequence stopped early

This prevents the result artifact from growing to hundreds of MB when
Erigon is completely broken in a PR — only the first N diffs are written
to disk. Set --max-failures 0 to restore unlimited behaviour.

Also fix a stale test assertion for trace_rawTransaction which was removed
from the default skip list in a previous PR but the test was not updated.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lupin012 lupin012 requested review from canepat and mriccobene April 11, 2026 07:24
@lupin012 lupin012 marked this pull request as ready for review April 11, 2026 07:25
@canepat canepat changed the title runner: add --max-failures flag to cap test output integration runner: add --max-failures flag to cap test output Apr 13, 2026
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.

2 participants