Closed joaolrpaulo closed 9 months ago
@seuros Can we get a couple of 👀 on this? 🙏🏼
We are currently blocked internally because of this. Thanks in advance
Hello @seuros
Are you ok with this change ? Is there any chance we can get feedback / get this merged ?
Best
Any feedback here?
@seuros Any feedback? 🤔
@joaolrpaulo , I will review it this weekend max. Sorry for long delay.
A quick review, it seem that everything is correct. I will test it in a live application
We are using this code in production since day 1 of opening this PR. No issues found so far. (Actually this code has been in production for over 8 years, since it was ported from a fork that we made of https://github.com/pluginaweek/state_machine).
@joaolrpaulo I understand, but the runtime memory usage changed since you are transporting a bunch of debug string for each transition. People that profile their code will see a big change in the next version.
So my proposal here :
wdyt ?
I believe that your proposals, are totally valid.
If you do not mind me asking, what was the performance hit of this change?
Enrich information about the where the transition executed was defined for easier traceability in runtime.
This will enable me and my team to know where the transition was called during runtime, in order to provide better metrics/logs.
NOTE: Tests added & nothing broke during the implementation.
Snippet of our current usage: