Skip to main content

UI Service Functions Spam Call Detection

We have added spam call detection to the UI service functions. When the same function is called with the same arguments 3 or more times within a 500ms window, a warning is logged to the browser console in non-production environments.


This feature helps identify unintentional repeated calls to UI service functions, which can be caused by component re-renders in client-side libraries (such as React, Angular, or Vue) or other common integration pitfalls. The warning includes the function name, the number of calls detected, the arguments passed, and a stack trace to help pinpoint the source of the issue.


The detection is observational only -- the function calls are still executed normally. No calls are blocked or deduplicated. The purpose is to surface potential performance issues and integration bugs early during development.