Skip to content

Add --config=llm to .bazelrc - #35

Merged
bpalermo merged 1 commit into
mainfrom
add-bazel-llm-config
Mar 22, 2026
Merged

bpalermo merged 1 commit into
mainfrom
add-bazel-llm-config

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

Summary

  • Adds a --config=llm Bazel config profile that produces clean, text-only output optimized for LLM consumption
  • Strips ANSI colors and curses progress bar, enables verbose failures, and tunes test output for plain-text parsing

Flags

Flag Purpose
--color=no Strip ANSI escape codes
--curses=no Disable progress bar / cursor rewriting
--verbose_failures Print full command line on failure
--show_result=10 List up to 10 built targets with output paths
--test_output=errors Only print stdout/stderr for failing tests
--test_summary=detailed Show per-test-case pass/fail

Test plan

  • bazel build --config=llm //agent/cmd/agent/... — clean output, no ANSI codes
  • bazel test --config=llm //agent/internal/xds/config:config_test — clean output, detailed test summary

🤖 Generated with Claude Code

Adds a named config that strips ANSI colors, disables the curses
progress bar, and tunes failure/test output for plain-text consumption
by LLM tools like Claude Code.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@bpalermo
bpalermo merged commit 5fdf5ea into main Mar 22, 2026
7 checks passed
@bpalermo
bpalermo deleted the add-bazel-llm-config branch March 22, 2026 12:15
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