fix: correct log level and remove redundant warning prefixes#5260
Open
Ricardo-M-L wants to merge 1 commit intocrewAIInc:mainfrom
Open
fix: correct log level and remove redundant warning prefixes#5260Ricardo-M-L wants to merge 1 commit intocrewAIInc:mainfrom
Ricardo-M-L wants to merge 1 commit intocrewAIInc:mainfrom
Conversation
e648951 to
e43724a
Compare
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Ricardo-M-L <ricardoporsche001@icloud.com>
e43724a to
434d87c
Compare
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.
Summary
logger.errortologger.warningfor cleanup errors in trace_batch_manager (cleanup is best-effort, and the message was prefixed with "Warning:" contradictingerrorlevel)Warning:prefix fromwarnings.warn()call in testing.py —warnings.warnalready renders asUserWarning: ..., producing double-warning outputTest plan
🤖 Generated with Claude Code
Note
Low Risk
Low risk: only adjusts log/warning message severity and text, with no behavior or data-flow changes.
Overview
Reduces log noise by downgrading trace batch cleanup exception reporting from
logger.errortologger.warningintrace_batch_manager.py.Cleans up experiment evaluation output by removing the redundant
Warning:prefix from thewarnings.warn()message intesting.py, avoiding duplicated warning text.Reviewed by Cursor Bugbot for commit 434d87c. Bugbot is set up for automated code reviews on this repo. Configure here.