Skip to content

feat(gradle): COMPILE filter + path normalization#3

Merged
Nava2 merged 3 commits intomasterfrom
rtk-gradle/compile
Mar 16, 2026
Merged

feat(gradle): COMPILE filter + path normalization#3
Nava2 merged 3 commits intomasterfrom
rtk-gradle/compile

Conversation

@Nava2
Copy link
Collaborator

@Nava2 Nava2 commented Mar 16, 2026

Summary

  • paths.rs: normalize_paths() detects repo root from error/warning paths via non-greedy regex, strips absolute prefixes to repo-relative
  • compile.rs: COMPILE-specific drops — kapt/KSP annotation processing noise, Kotlin incremental compilation status, Java compiler notes
  • Snapshot test + token savings test (>=60%)

Stack

scaffold <- global-filters <- compile <- test-filter <- detekt <- batch
                           ├── deps
                           └── health-proto

Test plan

  • Snapshot tests for success + failure, token savings >=60%
  • Path normalization tests
  • cargo fmt --all --check && cargo clippy --all-targets && cargo test --all

🤖 Generated with Claude Code

@Nava2 Nava2 force-pushed the rtk-gradle/global-filters branch from c5161e1 to 3f370dd Compare March 16, 2026 01:18
@Nava2 Nava2 force-pushed the rtk-gradle/compile branch 2 times, most recently from 28f927f to a5b95bb Compare March 16, 2026 01:27
Copy link
Collaborator Author

Nava2 commented Mar 16, 2026

@Nava2 Nava2 force-pushed the rtk-gradle/global-filters branch from 4b8c733 to e8d04e8 Compare March 16, 2026 10:48
@Nava2 Nava2 force-pushed the rtk-gradle/compile branch 2 times, most recently from 49e20a9 to dfb3da9 Compare March 16, 2026 11:51
@Nava2 Nava2 force-pushed the rtk-gradle/global-filters branch from e8d04e8 to 1f35e55 Compare March 16, 2026 11:51
@Nava2 Nava2 force-pushed the rtk-gradle/global-filters branch from 1f35e55 to dc850e1 Compare March 16, 2026 13:55
@Nava2 Nava2 force-pushed the rtk-gradle/compile branch 2 times, most recently from b7fcccc to 9fbe61d Compare March 16, 2026 14:08
@Nava2 Nava2 force-pushed the rtk-gradle/global-filters branch 3 times, most recently from 63283cc to aec0512 Compare March 16, 2026 14:18
@Nava2 Nava2 force-pushed the rtk-gradle/compile branch from 9fbe61d to 5de49f4 Compare March 16, 2026 14:18
@Nava2 Nava2 changed the base branch from rtk-gradle/global-filters to graphite-base/3 March 16, 2026 14:21
Nava2 and others added 2 commits March 16, 2026 14:22
Add src/gradle/paths.rs with normalize_paths() that detects repo root from
error/warning paths and strips absolute prefixes to repo-relative. Uses
non-greedy regex to preserve module directory names.

Add src/gradle/compile.rs with COMPILE-specific drops: kapt/KSP annotation
processing noise, incremental compilation messages, resource processing.
Preserves all error lines (e:), warning lines (w:), FAILED task markers,
What went wrong blocks, and BUILD result.

Token savings >=60% on compile failure fixture. Paths normalized from
/Users/developer/backend/app-payments/src/... to app-payments/src/...

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Nava2 Nava2 force-pushed the rtk-gradle/compile branch from 5de49f4 to 5386a79 Compare March 16, 2026 14:22
@Nava2 Nava2 force-pushed the graphite-base/3 branch from aec0512 to 74669d3 Compare March 16, 2026 14:22
@graphite-app graphite-app bot changed the base branch from graphite-base/3 to master March 16, 2026 14:23
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Nava2 Nava2 force-pushed the rtk-gradle/compile branch from 5386a79 to 6dad4f6 Compare March 16, 2026 14:23
@Nava2 Nava2 merged commit d2efd00 into master Mar 16, 2026
1 of 2 checks passed
Copy link
Collaborator Author

Nava2 commented Mar 16, 2026

Merge activity

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.

1 participant