Repository navigation
fix(drivers): bundle ferroamp 2.2.0 and the SolarEdge serial retry - #2176
Merged
Merged
Conversation
Moves the pin to srcfl/device-drivers 5eb7189d, which brings: - ferroamp 2.2.0 (srcfl/device-drivers#299): never sends the EnergyHub a setpoint above the limit the hub reports when it refuses one, or above ehub_max_w; scales by what the ESOs measurably deliver instead of guessing an even split; reports power, SoC and fault code per ESO. - solaredge_pv 1.2.3 and solaredge_legacy 0.3.4 (srcfl/device-drivers#298): read the serial only once the inverter answers, and ask again every five minutes after three misses, so a restart while the inverter sleeps no longer leaves the forecast identity pending until the next restart. Planner PV curtailment accepts only reviewed Ferroamp source hashes. 2.2.0's pplim commands are byte for byte those of 2.1.2, so its hash joins the list. Two Core tests run the new behaviour under Core's Lua 5.1: the cap learned from the refusal, and the measured scale with per-ESO metrics. Both fail on 2.1.2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
frahlg
added a commit
that referenced
this pull request
Dec 5, 2026
#2178) TestLinkFollowsABrokerThatGoesAndComesBack failed in CI on #2176: the link stayed "connection lost" for the full 15 s wait. mochi's Server.Close drops its clients and only then closes the listener. paho tries again at once after a loss, without the 1 s pause, and when the scheduler pauses mochi's Close goroutine between those two steps, the listener accepts paho's new connection. mochi's Serve loop sees it is ending and neither serves nor closes that connection, so paho waits its 30 s ConnectTimeout for a CONNACK. A broker process that exits closes every socket, so a real box does not meet this. The test broker now owns its listener and closes it before mochi drops the clients, as a broker that exits does. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Moves the driver pin to srcfl/device-drivers 5eb7189d.
ehub_max_w;Core changes
go/internal/drivers/pv_generation_limit.go). Thecurtailandcurtail_disablepaths and everypplimline in 2.2.0 are unchanged from 2.1.2, so its hash joins the list.forecastReviewedReleaseingo/cmd/ftw/forecast_release_evidence.golists neither the old nor the new versions of these drivers. This PR leaves it as it was.TestFerroampCapsAtEHubLimitLearnedFromRefusalTestFerroampMeasuredScaleCoversStuckESOThey found a
tonumber()call that Lua 5.5 in the driver rig accepts and Lua 5.1 rejects; it was fixed in the driver before merge.Evidence
go test ./internal/drivers/ ./internal/fleetping/...: pass.make verify: "verify: vet + test + build clean".scripts/sync-bundled-drivers.sh --check: no driver source committed.🤖 Generated with Claude Code