Skip to content

feat(bazel): add compact command wrapper#2873

Draft
blazej-czekala wants to merge 1 commit into
rtk-ai:developfrom
blazej-czekala:codex/bazel-support
Draft

feat(bazel): add compact command wrapper#2873
blazej-czekala wants to merge 1 commit into
rtk-ai:developfrom
blazej-czekala:codex/bazel-support

Conversation

@blazej-czekala

Copy link
Copy Markdown

Summary

Adds native RTK wrappers for bazel and bazelisk, focused on compacting high-noise validation output while preserving machine-readable workflows.

What changed

  • Added rtk bazel ... and rtk bazelisk ... command support through a shared native Rust implementation.
  • Added flat Bazel argument parsing so startup flags before the subcommand are preserved.
  • Filters noisy output for test, lint, and build while keeping failures, warnings, diagnostics, test logs, and final summaries.
  • Streams bazel run so target output remains preserved while Bazel build-phase noise is reduced.
  • Leaves bazel query raw by default and avoids hook rewrites for query commands used in pipes or redirects.
  • Registers rewrite rules for bazel and bazelisk.

Validation

  • rtk cargo fmt --check
  • rtk cargo test --bin rtk

@CLAassistant

CLAassistant commented Jul 7, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

2 participants