Route non-interactive library messages through loggers - #14682
Open
wunianze666-netizen wants to merge 2 commits into
Open
Route non-interactive library messages through loggers#14682wunianze666-netizen wants to merge 2 commits into
wunianze666-netizen wants to merge 2 commits into
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
DN6
reviewed
Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This consolidates the non-interactive library messages approved in #14479 into one change.
What changed
VectorQuantizerremap initialization details through its module logger atINFO.WARNING.WARNING.The message text is preserved where practical. The LongCat
Warning:prefix is omitted because the log record now carries the warning severity.Fixes #14479.
Validation
After maintainer review, I removed the three dedicated regression-test additions in
0c2125ce; the production changes remain limited to the four library files above.ruff checkpassed for all 4 changed source files.ruff format --checkreports all 4 changed source files formatted.python -m compileall -qpassed for all 4 changed source files.PYTHONPATH=src PYTHONUTF8=1 python utils/check_ai.pypassed.git diff --check upstream/mainpassed.AI-assisted contribution
I used Codex to help audit the print sites and implement the changes. I read the Coding with AI agents guide, contributor guide, philosophy document, and the relevant model, pipeline, testing, and code-style references.
Final self-review
print-to-module-logger conversion with unchanged control flow.Before submitting
cc @DN6