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
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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 messaging (no behavior or data flow changes), aside from reduced severity of a cleanup failure log line.
Overview
Tones down trace batch cleanup failure reporting by logging
_cleanup_batch_dataexceptions aswarninginstead oferror.Cleans up evaluation output by removing the redundant "Warning:" prefix from
assert_experiment_no_regression’swarnings.warnmessage so warnings aren’t double-prefixed.Written by Cursor Bugbot for commit e648951. This will update automatically on new commits. Configure here.