keria icon indicating copy to clipboard operation
keria copied to clipboard

add hab name, prefix to logs; fix GracefulShutdownDoer to use KeyboardInterrupt instead of Doist.exit()

Open kentbull opened this issue 7 months ago • 1 comments

This PR adds the following types of log message enhancements:

  • uses the keria: prefix for log messages instead of keri:
  • uses the asctime, levelname, and message log fields

For simpler multisig debugging

  • some debug logs to ExchangeSender
  • Within IdentifierResourceEnd adds logs starting with logger.info("[%s | %s...%s]: that use the name and AID of the hab, first and last 4 characters of the AID.
  • Within Registrar adds logger.info("[%s | %s...%s]: style logs
  • Within Anchorer adds logger.info("[%s | %s...%s]: style logs
  • Within MultisigRequestCollectionEnd adds logger.info("[%s | %s...%s]: style logs
  • Within ExchangeCollectionEnd adds logger.info("[%s | %s...%s]: style logs

kentbull avatar May 27 '25 19:05 kentbull

Codecov Report

:x: Patch coverage is 66.40000% with 42 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 93.46%. Comparing base (676d7e8) to head (82db82c). :warning: Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/keria/app/agenting.py 55.95% 37 Missing :warning:
src/keria/app/serving.py 81.81% 2 Missing :warning:
tests/app/test_agenting.py 60.00% 2 Missing :warning:
src/keria/app/delegating.py 80.00% 1 Missing :warning:

:x: Your patch status has failed because the patch coverage (66.66%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #363      +/-   ##
==========================================
- Coverage   93.80%   93.46%   -0.35%     
==========================================
  Files          37       37              
  Lines        8462     8548      +86     
==========================================
+ Hits         7938     7989      +51     
- Misses        524      559      +35     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar May 27 '25 20:05 codecov[bot]