feat(core): simplify and unify data processing flows #423

Closed
opened 2026-03-28 04:24:25 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #1315
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1315
Original created: 2025-07-23T18:56:43Z


There are multiple, sometimes convoluted, paths for processing device data. For example, sweep service data is handled differently depending on the entry point. The flow in pkg/core/metrics.go for sweep data is particularly complex:

JSON -> SweepSummary -> []*DeviceUpdate -> JSON -> ProcessSyncResults -> Parse JSON to []*DeviceUpdate -> Registry

Imported from GitHub. Original GitHub issue: #1315 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1315 Original created: 2025-07-23T18:56:43Z --- There are multiple, sometimes convoluted, paths for processing device data. For example, sweep service data is handled differently depending on the entry point. The flow in pkg/core/metrics.go for sweep data is particularly complex: JSON -> SweepSummary -> []*DeviceUpdate -> JSON -> ProcessSyncResults -> Parse JSON to []*DeviceUpdate -> Registry
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#423
No description provided.