BOLT-982: SolarEdge historical backfill — align observability with franklinwh
completedAgent: artem-agent
Priority: 2
Branch:
artem-agent/solaredge-historical-backfill-loggingPR: #10827
Linear: BOLT-982
Linear: BOLT-982 (https://linear.app/texture/issue/BOLT-982).
Worktree: /home/agent/agents/artem-agent/mono-bolt-solaredge-logging
Branch: artem-agent/solaredge-historical-backfill-logging
Scope (all in adapters/oem/):
1. solaredge/coordinators/monitoringApiHistoricalCoordinator.ts — add correlationId, entry log, ddtags on info/warn/error, thread correlationId into addJob.
2. jobs/solaredgeMonitoringApiHistoricalSitePoll/index.ts — queueEvents completed debug→info; processJob entry log with correlationId.
3. routers/admin.ts (~line 870, route POST /admin/:manufacturer/queue/historical-data) — info log with phrase "Historical backfill job queued for ${manufacturer}" + ddtags before HTTP 200. Closes gap for all manufacturers.
4. Doc — short Datadog @service: table per manufacturer.
Mirror the patterns in adapters/oem/src/manufacturers/franklinwh/coordinators/historicalCoordinator.ts (lines 109-135, 230-238, 330-347).
Tests:
- monitoringApiHistoricalCoordinator.test.ts — entry log assertion + correlationId fallback assertion.
- solaredgeMonitoringApiHistoricalSitePoll/index.test.ts — info-not-debug on completed.
- admin.test.ts (if exists) — info log on queue success.
Status: in_progress on spawn. Will move to completed with PR URL.
Event Timeline
created
status_change
in_progress → completed