feat(gradle): global noise line filters + config#2
Merged
Conversation
Nava2
commented
Mar 16, 2026
src/gradle/snapshots/rtk__gradle__global__tests__generic_noise_snapshot.snap
Outdated
Show resolved
Hide resolved
c5161e1 to
3f370dd
Compare
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Mar 16, 2026
Nava2
commented
Mar 16, 2026
e8d04e8 to
1f35e55
Compare
This was referenced Mar 16, 2026
dc850e1 to
5da9ced
Compare
Add src/gradle/global.rs with ~18 lazy_static regex patterns for all noise categories from the spec: daemon startup, task status, config cache, deprecation, downloads, progress bars, build scan, VFS, reflection warnings, classpath, Kotlin daemon, evaluation, etc. Stateful * Try: block removal. Note/warning deduplication. Blank line trimming. Add [gradle] config section to config.rs with user_packages (for stack trace filtering in commit 4) and extra_drop_patterns (user-supplied regex, invalid patterns logged to stderr and skipped). Add insta dev dependency for snapshot testing. Fixtures use com.example.* packages (obfuscated). Token savings >=90% on both fixtures. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move AWS SSO noise patterns to extra_drop_patterns config space. Remove AWS SSO lines from generic_noise fixture (Faire-specific). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
5da9ced to
63283cc
Compare
Update build scan regex to match both private develocity.* and public scans.gradle.com URLs. Update fixture accordingly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
63283cc to
aec0512
Compare
Collaborator
Author
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
strip_ansi()before pattern matching* Try:block removal (blank lines inside Try blocks consumed)[gradle]config section:user_packages,extra_drop_patterns(invalid patterns logged and skipped)Note: org-specific patterns (AWS SSO, focus plugin) belong in
extra_drop_patternsconfig, not built-in.Stack
Test plan
cargo fmt --all --check && cargo clippy --all-targets && cargo test --all🤖 Generated with Claude Code