Skip to content

feat(gradle): multi-task batch filter#10

Merged
Nava2 merged 1 commit intomasterfrom
rtk-gradle/batch
Mar 16, 2026
Merged

feat(gradle): multi-task batch filter#10
Nava2 merged 1 commit intomasterfrom
rtk-gradle/batch

Conversation

@Nava2
Copy link
Collaborator

@Nava2 Nava2 commented Mar 16, 2026

Summary

  • Split multi-task Gradle output into per-task sections using > Task :...: boundary markers
  • Apply task-specific filters to each section (compile, test, detekt)
  • Failed sections shown with full filtered details; successful tasks collapsed to taskName ✓
  • Trailing content (FAILURE:, BUILD FAILED, actionable tasks) preserved
  • detect_task_type_from_name() reuses TASK_TYPE_REGISTRY matchers
  • Integration test detection per-section via is_integration_task_name()
  • Hook integration: ./gradlew and gradle discover rules + CLAUDE.md/CHANGELOG.md updates

Stack

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

Test plan

  • Snapshot test, token savings >=40%, failed section headers, success checkmarks
  • cargo fmt --all --check && cargo clippy --all-targets && cargo test --all

🤖 Generated with Claude Code

Copy link
Collaborator Author

Nava2 commented Mar 16, 2026

@Nava2 Nava2 changed the base branch from rtk-gradle/health-proto to graphite-base/10 March 16, 2026 12:25
@Nava2 Nava2 force-pushed the rtk-gradle/batch branch from 0a683d2 to aa37c85 Compare March 16, 2026 12:25
@Nava2 Nava2 force-pushed the graphite-base/10 branch from bc06b61 to 498e406 Compare March 16, 2026 12:25
@Nava2 Nava2 changed the base branch from graphite-base/10 to rtk-gradle/detekt March 16, 2026 12:25
@Nava2 Nava2 marked this pull request as ready for review March 16, 2026 12:28
@Nava2 Nava2 force-pushed the rtk-gradle/batch branch from aa37c85 to 724405b Compare March 16, 2026 13:55
@Nava2 Nava2 force-pushed the rtk-gradle/detekt branch 2 times, most recently from 06dc5bd to ef67f10 Compare March 16, 2026 14:08
@Nava2 Nava2 force-pushed the rtk-gradle/batch branch from 724405b to e196028 Compare March 16, 2026 14:08
@Nava2 Nava2 force-pushed the rtk-gradle/detekt branch 5 times, most recently from a6b0b76 to 9e8dec6 Compare March 16, 2026 14:28
@Nava2 Nava2 changed the base branch from rtk-gradle/detekt to graphite-base/10 March 16, 2026 14:28
Detect batch runs (multiple executed tasks in output), split by task
boundary, apply per-task filters, summarize passing tasks as ✓.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Nava2 Nava2 force-pushed the rtk-gradle/batch branch from e196028 to 4ae999f Compare March 16, 2026 15:10
@Nava2 Nava2 changed the base branch from graphite-base/10 to master March 16, 2026 15:10
@Nava2 Nava2 merged commit a95fd32 into master Mar 16, 2026
1 check failed
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