Repository navigation
Conversation
Signed-off-by: Julio César Suástegui <[email protected]>
2 tasks done
Collaborator
|
Closing as a duplicate of #3324, which fixes the same fast-path gap. Two things from yours are being carried over: the path-stripped match — #3324 currently only strips the env prefix, so One note on the issue link: #3107 bundles three problems — |
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
hooks.exclude_commandsbefore the specialhead/tailline-range rewritetail -nescape hatchrtk readbuffers whole file (3.9x filesize RSS);--tail-lines/--max-linesbound output but not memory;exclude_commandscannot disable thetail -nrewrite #3107 without expanding this PR into the separate streaming/memory workTest plan
cargo fmt --all --check && cargo clippy --all-targets && cargo testtailor^tail -nleavestail -n 400 /var/log/foo.logunchanged; without an exclusion it still rewrites tortk read /var/log/foo.log --tail-lines 400Security note: this changes Tier 1 rewrite logic in
src/discover/registry.rs; the diff received isolated full-suite testing and an independent senior security/quality review before publication.Restored after an accidental fork deletion. Same commits as #3109.