feat(cargo): add cargo nextest support with failures-only output#107
Open
ilaborie wants to merge 1 commit intortk-ai:masterfrom
Open
feat(cargo): add cargo nextest support with failures-only output#107ilaborie wants to merge 1 commit intortk-ai:masterfrom
ilaborie wants to merge 1 commit intortk-ai:masterfrom
Conversation
Collaborator
|
thank you for the PR please rebase and add cargo nextest run in the hook. |
Add token-optimized filtering for `cargo nextest` output: strip compilation noise, PASS lines, and post-summary recaps; show only failure details and a compact summary. Extract flush_failure_block helper to DRY up failure block collection (was repeated 4 times). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24eecc7 to
9602ea7
Compare
Author
|
Done, I've rebase & update the hooks rtk-rewrite.sh, and rtk-suggest.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cargo nextestoutput (90%+ reduction)flush_failure_blockhelper to DRY up failure block collection (was repeated 4 times)Closes #106
Test plan
cargo fmt --all --check && cargo clippy --all-targets && cargo testpassesrtk cargo nextest runon a real project🤖 Generated with Claude Code