liquidvotingio / liquidvotingio/decidim-module-liquidvoting
Add backtrace info to "surprise method call" logging
- Dominant language
- Ruby
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
We are currently logging (just rails log) whenever something calls `Proposal#update_votes_count`, because Liquidvoting doesn't use it, and it will corrupt our vote count.
The log line is nice, but doesn't help us know where it comes from; adding a backtrace in the log would do that.
This issue might be superceded by some Honeycomb events work.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the existing log statement for Proposal#update_votes_count and review how the unexpected call is currently recorded. Add the requested backtrace information to that log and verify that a surprising call produces useful origin details; first confirm the work has not been superseded by Honeycomb events.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100