Closed NiloCK closed 3 weeks ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on base/target branches other than the default branch.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Currently,
msg_server.go
emits events in two locations. In each location, it constructs amessage
event with its module name attached:This is somewhat error-prone - could forget to prepend these messages on other event emissions.
This PR adds a helper to the
keeper
struct to encapsulate thismessage
event prepend operation.