Closed komish closed 2 months ago
/test 4.13-e2e 4.17-e2e
/test 4.17-e2e
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: acornett21, bcrochet, komish
The full list of commands accepted by this bot can be found here.
The pull request process is described here
When executing checks, the engine emits check names at the start and end of a check's execution, as well as with the result. We run synchronously, so for the most part, this isn't a problem, but I noticed while troubleshooting something else that logs emitted from the check itself (after pulling the logger from context) don't include the check's name, and it's a small amount of code to pass that context into the check and make the logs a bit more clear.
This PR derives a logger with the check's name as a value, stuffs that into a new context to pass to check functions, and then strips all the other locations that were manually adding the "check" key to the logger.