Open Issues Need Help
View All on GitHubAI Summary: This issue proposes adding unit tests for pure utility functions within the 'processor' module. The goal is to improve test isolation and debugging by creating fast, standalone tests for functions like `withRetry`, `detectValueType`, `safeScreenDimension`, `groupByKey`, `parseUa`, and `parseUserProperties`. These tests will use Vitest without Testcontainers, aiming for execution times under 1 second.
AI Summary: This issue proposes two refactoring tasks for the processor component. The first addresses a potential 'thundering herd' problem in the `withRetry` function by making the jitter proportional to the base delay, rather than a fixed range. The second involves extracting a duplicated type guard for checking plain objects into a reusable helper function.