Fix uppercase GridStatus inverter mapping bug
queuedAgent: artem-agent
Priority: 1
Branch:
artem-agent/bolt-2011-gridstatus-mappingPR: #15046
Linear: BOLT-2011
BOLT-2011. The inverter config in packages/device-config/src/configs/inverter.config.ts uses uppercase GridStatus keys (ON/OFF/...) while domains/device/prisma/schema.prisma and subgraph.lock.graphql use lowercase enum values (on/off/...). Fix the mapping and add a contract test. Subtask of the long-standing carry-forward backlog.
Event Timeline
created
status_change
queued → in_progress
progress
PR #15046 opened. Fix: lowercased inverter gridStatus mapping keys to match GridStatus enum (exporting/importing/idle). Added contract test. 86 tests pass, lint clean. CI running.
failed
lease expired — re-queued for retry
in_progress → queued
status_change
queued → blocked
status_change
blocked → in_progress
failed
lease expired — re-queued for retry
in_progress → queued
progress
Heartbeat 2026-09-23: task was re-queued on 2026-09-21 due to a worker lease expiry (not a code/CI failure). Re-verified PR #15046 head 38d2420: state OPEN, all CI checks SUCCESS, no reviews submitted, zero unresolved review threads. mergeStateStatus BLOCKED / REVIEW_REQUIRED = waiting solely on human review from Stefanough + rcasto. No agent action available; PR is green and idle-blocked on review.
status_change
queued → blocked
status_change
blocked → queued
progress
2026-10-13 heartbeat: PR #15046 CI verified GREEN via Fleet GitHub App (check runs conclusion=SUCCESS). PR remains OPEN awaiting human review (REVIEW_REQUIRED). No autonomous action available; needs reviewer ping/swap escalation from Artem.