Skip to content

feat: per-API sync_type + concurrent refresh progress board#97

Merged
ravinald merged 1 commit into
mainfrom
feat/per-api-sync-type
Jun 16, 2026
Merged

feat: per-API sync_type + concurrent refresh progress board#97
ravinald merged 1 commit into
mainfrom
feat/per-api-sync-type

Conversation

@ravinald

Copy link
Copy Markdown
Owner

Summary

Gate device-type collection per API on a sync_type list (absent = site-only). Replace the interleaved fmt.Printf refresh output with a Reporter abstraction: a docker-compose-style bubbletea board on a TTY, atomic linear lines when piped. Rebuild the cross-API index once per batch (was once per API), dedupe MAC-collision logs, bound refresh fan-out with a semaphore plus an optional per-API timeout, and buffer log output behind the live board. Verified: go build/test/lint green; live refresh all output now non-interleaved with the aruba timeout failing independently.

Gate device-type collection per API on a sync_type list (absent = site-only),
and replace the interleaved fmt.Printf refresh output with a Reporter
abstraction: a docker-compose-style bubbletea board on a TTY, atomic linear
lines when piped. Rebuild the cross-API index once per batch (was once per
API), dedupe MAC-collision logs, bound refresh fan-out with a semaphore plus an
optional per-API timeout, and buffer log output behind the live board.
@ravinald ravinald merged commit 10bc749 into main Jun 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant