You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Server#next reporter's cleanFromKeys implementation is not safe against cycles #89
e.g. If a developer put something circular into action by accident, server crashes with non-verbose stackoverflow error — it takes time to understand the source of the issue.
Happened to my colleague putting an AxiosResponse instead of AxiosResponse.data inside a payload
Some kind of circuitbreaker with explanation where an engineer likely fucked up & no server crash seem to be better approach to me. What do you think?
On 28 Apr 2021, at 14:16, Andrey Sitnik ***@***.***> wrote:
Am I right that you created this action on the server and not build it on the client?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
I’d likely make a PR if you have a good idea how to improve it and not make it worse😅
Making this non-fatal? Leaving it fatal but with better error description?(via circuitbreaker)
Regards,
Nikita
On 29 Apr 2021, at 00:46, Andrey Sitnik ***@***.***> wrote:
Since it is not security issue, I can accept PR, but do not want to fix it myself :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Activity
ai commentedon Apr 28, 2021
Am I right that you created this action on the server and not build it on the client?
erictheswift commentedon Apr 28, 2021
ai commentedon Apr 28, 2021
Since it is not security issue, I can accept PR, but do not want to fix it myself :)
erictheswift commentedon Apr 28, 2021
ai commentedon Apr 28, 2021
We can add circular dependencies check to
server.log('preadd', (action, meta) => {}).Maybe it is better to do it only in
server.options.env !== 'production'.