-
Notifications
You must be signed in to change notification settings - Fork 410
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
fix: make sure wasmvm cache metrics collector registration after VM setup #1575
fix: make sure wasmvm cache metrics collector registration after VM setup #1575
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1575 +/- ##
==========================================
+ Coverage 58.00% 58.03% +0.02%
==========================================
Files 64 64
Lines 8640 8640
==========================================
+ Hits 5012 5014 +2
+ Misses 3215 3214 -1
+ Partials 413 412 -1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for reporting and fixing this!
This option was missed during the refactoring. I will add a unit test so that we have this covered in the future!
I have to apologize for the issue!
# Description Due to buggy initialization of metrics collector, WASM causes panics when metrics are collected. Bug is described here: CosmWasm/wasmd#1574 and fixed here: CosmWasm/wasmd#1575 Once v0.42 is released we may uncomment this code. Task has been created for this. # Reviewers checklist: - [ ] Try to write more meaningful comments with clear actions to be taken. - [ ] Nit-picking should be unblocking. Focus on core issues. # Authors checklist - [x] Provide a concise and meaningful description - [x] Review the code yourself first, before making the PR. - [x] Annotate your PR in places that require explanation. - [x] Think and try to split the PR to smaller PR if it is big.
# Description Due to buggy initialization of metrics collector, WASM causes panics when metrics are collected. Bug is described here: CosmWasm/wasmd#1574 and fixed here: CosmWasm/wasmd#1575 Once v0.42 is released we may uncomment this code. Task has been created for this. # Reviewers checklist: - [ ] Try to write more meaningful comments with clear actions to be taken. - [ ] Nit-picking should be unblocking. Focus on core issues. # Authors checklist - [x] Provide a concise and meaningful description - [x] Review the code yourself first, before making the PR. - [x] Annotate your PR in places that require explanation. - [x] Think and try to split the PR to smaller PR if it is big.
# Description Due to buggy initialization of metrics collector, WASM causes panics when metrics are collected. Bug is described here: CosmWasm/wasmd#1574 and fixed here: CosmWasm/wasmd#1575 Once v0.42 is released we may uncomment this code. Task has been created for this. # Reviewers checklist: - [ ] Try to write more meaningful comments with clear actions to be taken. - [ ] Nit-picking should be unblocking. Focus on core issues. # Authors checklist - [x] Provide a concise and meaningful description - [x] Review the code yourself first, before making the PR. - [x] Annotate your PR in places that require explanation. - [x] Think and try to split the PR to smaller PR if it is big.
# Description Due to buggy initialization of metrics collector, WASM causes panics when metrics are collected. Bug is described here: CosmWasm/wasmd#1574 and fixed here: CosmWasm/wasmd#1575 Once v0.42 is released we may uncomment this code. Task has been created for this. # Reviewers checklist: - [ ] Try to write more meaningful comments with clear actions to be taken. - [ ] Nit-picking should be unblocking. Focus on core issues. # Authors checklist - [x] Provide a concise and meaningful description - [x] Review the code yourself first, before making the PR. - [x] Annotate your PR in places that require explanation. - [x] Think and try to split the PR to smaller PR if it is big.
Close: #1574
This PR intends to fix the bug mentioned by #1574, to make sure wasmvm cache metrics collector registration after VM setup.