-
Notifications
You must be signed in to change notification settings - Fork 53
Add logger.warning guideline to CLAUDE.md #3528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
386fe1b to
d39ae86
Compare
✅ Actions performedReview triggered.
|
|
/lgtm |
We are using warning level logs, for cases like conditional/temp skips or workarounds. for example bugs. Signed-off-by: Harel Meir <hmeir@redhat.com>
cf55523
d39ae86 to
cf55523
Compare
| - `LOGGER.info(f"VM created", extra={"name": vm_name, "namespace": ns})` | ||
| - `LOGGER.warning(f"Skipping CRD due to known issue", extra={"crd_name": crd.name, "jira_id": jira_id})` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why we advice to set extra if we don't print it in our logger message?
https://github.com/RedHatQE/openshift-virtualization-tests/blob/main/utilities/logger.py#L53
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs to be changed; following an offline discusstion -please update
Short description:
We are using warning level logs,
for cases like conditional/temp skips or workarounds. for example bugs.
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket: