Skip to content

chore(optimizer): bundle Energyplan 0.7.1 - #2047

Merged
frahlg merged 1 commit into
masterfrom
2043-bundle-energyplan-071
Nov 18, 2026
Merged

frahlg merged 1 commit into
masterfrom
2043-bundle-energyplan-071

Conversation

@frahlg

@frahlg frahlg commented Nov 17, 2026

Copy link
Copy Markdown
Member

Problem

In #2043 a battery 60 Wh under its floor, with a car in the plan, was planned idle for 28 h by Energyplan 0.7.0. #2045 already makes Core start such a battery on its floor. The protocol still allows an out-of-band start, and the worker must plan it too.

Change

  • Bundle Energyplan 0.7.1 (srcfl/energyplan#85, source commit 906cf053, private pre-release v0.7.1-beta.1). The worker keeps its recovery rule in the fixed-EV LP, so the night charge is found from a start under the floor or over the ceiling. Requests that start inside their bands run as in 0.7.0.
  • Only the two Linux workers and manifest.json change. License, notices, Rust runtime licenses and schemas are byte-identical.
    • linux-arm64 e9dd74c6…
    • linux-amd64 37ae2a39…
  • The health checks in energyplan_test.go and energyplan_fault_test.go expect 0.7.1.
  • New TestNativeBatteryUnderItsFloorBesideACarChargesAtNight plans a battery 60 Wh under its floor beside a car, from the real start and from the floor. Both must charge in the cheap night.
  • Changeset: patch.

Evidence

  • Energyplan's full local CI passed 35 of 35 stages on 906cf053 (Mac mini, Linux arm64), and the amd64 gate gave identical replies. Its new tests fail on 7ea7d99 and pass on 906cf053.

  • The field request, replayed with the arm64 worker at Core's 1.5 s budget:

    Start 0.7.0 (7ea7d998) 0.7.1
    60 Wh under the floor 0 kWh at night, fixed_ev_rejected 18.2 kWh at night, no fallbacks
    0.1 Wh under idle 18.2 kWh
    on the floor 23,669.4 öre 23,669.4 öre, unchanged
  • On this branch, on the Mac mini (Linux arm64): make verify passed, including native-solver-test and the handshake.

  • The new native test also passes on 0.7.0 under Core's time budget, with 18.0 kWh from the real start. It guards the night charge but does not tell 0.7.0 from 0.7.1. The case that fails on 0.7.0 is in Energyplan's suite.

  • An independent review of srcfl/energyplan#85 found no blocking issue.

Refs #2043.

🤖 Generated with Claude Code

Energyplan 0.7.1 (srcfl/energyplan#85, 906cf053) keeps the recovery rule
in the fixed-EV LP. From a start under the floor with a car, 0.7.0's
fixed-EV point fell back under the floor and was rejected, and the fleet
MILP kept the idle seed (#2043). Only the two Linux workers and
manifest.json change; license, notices and schemas are the same.

The health checks expect 0.7.1. A new native test plans the night charge
of a battery 60 Wh under its floor beside a car, from the real start and
from the floor.

Refs #2043.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T22:50:16.660629Z 1406a97 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@frahlg
frahlg merged commit 570b060 into master Nov 18, 2026
23 checks passed
@frahlg
frahlg deleted the 2043-bundle-energyplan-071 branch November 18, 2026 03:47
@frahlg frahlg mentioned this pull request Nov 20, 2026
6 tasks done
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