Skip to content

feat(cmake): filter repetitive configure and build progress - #5273

Open
Aschenbath wants to merge 1 commit into
rtk-ai:developfrom
Aschenbath:fix/oss40-20261124-928f-rtk-cmake-filter
Open

Aschenbath wants to merge 1 commit into
rtk-ai:developfrom
Aschenbath:fix/oss40-20261124-928f-rtk-cmake-filter

Conversation

@Aschenbath

Copy link
Copy Markdown
Contributor

CMake configure and build commands currently reach agents without filtering. Add a built-in TOML filter and hook discovery rule that remove Make/Ninja object progress, directory chatter and repetitive successful checks. Keep linking/target summaries, compiler commands, warnings, errors, source context and failed configure checks. Output is not capped. Fixes #2236.

Validation: captured four real CMake 3.25.1 / GCC 12.2.0 / Ninja 1.11.1 runs of a small C++ library, including a warning and failed compilation. The regression fails on develop; each capture loses at least 60% of its output bytes while retaining the checked diagnostics. Manual rtk cmake --build runs with Make and Ninja preserve successful builds and the compiler failure's exit 2. Root/proxy formatting, clippy and the full test suite passed, including the documentation/rewrite consistency check.

Prepared with Codex assistance.

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.

Add rtk cmake filter (collapse build progress, keep diagnostics)

1 participant