Skip to content
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

Misc improvements #1802

Merged
merged 17 commits into from
Feb 8, 2024
Merged

Misc improvements #1802

merged 17 commits into from
Feb 8, 2024

Conversation

jotare
Copy link
Contributor

@jotare jotare commented Feb 5, 2024

Description

Mix of diverse improvements:

  • Do not use MAIN from nucliadb_utils outside utilities package
  • More context on logs
  • Fix typos
  • Minor things

How was this PR tested?

Describe how you tested this PR.

@jotare jotare requested a review from a team February 5, 2024 15:47
Copy link

codecov bot commented Feb 5, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (550efb4) 82.10% compared to head (0da059b) 81.55%.
Report is 6 commits behind head on main.

Files Patch % Lines
nucliadb_utils/nucliadb_utils/storages/gcs.py 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1802      +/-   ##
==========================================
- Coverage   82.10%   81.55%   -0.56%     
==========================================
  Files         338      338              
  Lines       19910    20255     +345     
==========================================
+ Hits        16348    16518     +170     
- Misses       3562     3737     +175     
Flag Coverage Δ
ingest 70.06% <ø> (+0.93%) ⬆️
sdk 40.58% <ø> (-0.07%) ⬇️
utils 81.45% <0.00%> (-0.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

scope.set_extra("relation", relation)
errors.capture_message(error_msg, "error")
logger.warning(
"Relation search is returning an edge unrelated with queried entities"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you log at least which is the entity/relation to blame?

Also the extra={"kbid": kbid}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kbid is not available. I'll add some extras though

@jotare jotare merged commit d10343f into main Feb 8, 2024
83 checks passed
@jotare jotare deleted the misc-improvements branch February 8, 2024 10:38
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.

2 participants