Skip to content

Conversation

@aman-coder03
Copy link

this change updates the logging so that these expected SQLite lock messages are shown as debug logs instead of warnings, while keeping the warning level unchanged for all other database backends.

this reduces unnecessary noise in the logs and avoids confusing users.

fixes #7112

)

if 'Sqlite' in storage_type or 'sqlite' in storage_type:
LOGGER.debug(message)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Perhaps info level? Not sure.

Suggested change
LOGGER.debug(message)
LOGGER.info(message)

@codecov
Copy link

codecov bot commented Dec 4, 2025

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.21%. Comparing base (e79f0a4) to head (ea6102a).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/aiida/engine/utils.py 0.00% 5 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (e79f0a4) and HEAD (ea6102a). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (e79f0a4) HEAD (ea6102a)
2 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #7121       +/-   ##
===========================================
- Coverage   79.58%   29.21%   -50.37%     
===========================================
  Files         566      566               
  Lines       43520    43478       -42     
===========================================
- Hits        34631    12697    -21934     
- Misses       8889    30781    +21892     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aman-coder03
Copy link
Author

i have updated the SQLite case to log at INFO level as suggested. The required CI workflows are awaiting maintainer approval to run.

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.

❓Locked sqlite_dos database warning: check or hide?

2 participants