Open Issues Need Help
View All on GitHubAI Summary: This GitHub issue proposes adding comprehensive unit tests for pure utility functions within the `processor` module. Currently, only slow integration tests exist, making it difficult to pinpoint regression causes. The task outlines specific files and functions, such as `retry.ts`, `value-type.ts`, `event-utils.ts`, and `person-utils.ts`, detailing various scenarios and edge cases that need to be covered by new unit tests.
AI Summary: This GitHub issue proposes two refactoring tasks within the `processor` module. First, it suggests modifying the `withRetry` function to use proportional jitter (random delay based on `baseDelayMs`) instead of a fixed 0-50ms jitter, to prevent simultaneous retries and a 'thundering herd' problem. Second, it recommends extracting a `isPlainObject` type guard helper function to eliminate duplicated object validation logic in `definition-sync.service.ts`.