Skip to content

chore(optimizer): bundle Energyplan 0.8.0 - #2052

Merged
frahlg merged 1 commit into
masterfrom
energyplan-0.8.0
Nov 21, 2026
Merged

frahlg merged 1 commit into
masterfrom
energyplan-0.8.0

Conversation

@frahlg

@frahlg frahlg commented Nov 20, 2026

Copy link
Copy Markdown
Member

Problem and result

Bundle Energyplan 0.8.0 (source commit 51f0c201, private pre-release tag v0.8.0-beta.1). It plans at lower cost than the bundled 0.7.1 at the same goals, with the same protocol and the same time budget. It carries 0.7.1's fixes (#2037, #2047). Core still validates every plan.

Scope and safety

  • Only the two Linux workers, manifest.json and THIRD-PARTY-NOTICES.txt (the solver library's modification note) change. License, Rust runtime licenses and schemas are byte-identical.
    • linux-arm64 6d2e1e1e…
    • linux-amd64 9e66bd4b…
  • The health checks in energyplan_test.go and energyplan_fault_test.go expect 0.8.0.
  • Protocol v1, site signs and docs/energyplan-contract.md are unchanged; the contract copy in Energyplan is byte-identical to master's.
  • Rollback is a revert of this one commit, which gives master's tree with its 0.7.1 bundle exactly; that tree's verifier and native suite pass.
  • Changeset: patch.

Verification

  • Energyplan's full local CI passed 35 of 35 stages on 51f0c201 (Mac mini, Linux arm64); arm64 and amd64 replies are identical on the core gate corpus.
  • Energyplan's release gate on these bytes, against the bundled 0.7.1, on its gate corpora and 500 recorded home-box replans (M1, Linux arm64):
    • at Core's budgets, plans cost about 8,500 öre less in sum at equal goals; no corpus is dearer;
    • no plan meets fewer goals, no reply overran its budget, and Core's validator (this repository's ValidatePlan, run on master) accepted every plan;
    • peak memory 88.5 MiB.
  • On a Raspberry Pi 4 home box, on its own 500 recorded replans at Core's budgets: 50 öre less in sum, no overrun. On larger synthetic 5 s requests a few replies land up to 60 ms past the budget, inside Core's call deadline.
  • On this branch, on the Mac mini (Linux arm64): python3 optimizer/native/verify.py --host-binary passed; go test -count=5 ./internal/mpc ./internal/energyforecast ./cmd/ftw -run 'Native|RustForecastHost' passed; make native-solver-test and make verify passed.
  • Not run: the native-release and beta workflows (the beta is cut from the maintainer's machine).

Checklist

  • The change follows VISION.md and one selected scope.
  • I checked overlapping PRs and coordinated shared files/contracts.
  • Relevant checks cover the changed behaviour and failure paths.
  • A human reviewed changed UI in a browser, or no UI changed.
  • A Changeset is included, or the change is exempt.
  • Every commit has a DCO sign-off.

🤖 Generated with Claude Code

Energyplan 0.8.0 (51f0c201) plans at lower cost than 0.7.1 at the same
goals on the gate corpora and 500 recorded home-box replans, with no
plan that meets fewer goals and no budget overrun. It carries 0.7.1's
fixes. Protocol v1 and site signs are unchanged; the time budget is the
same. Only the two Linux workers, manifest.json and the third-party
notices change.

The health checks expect 0.8.0.

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 20, 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-20T13:07:46.106275Z eb6e771 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.

@miravoss26 miravoss26 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bundles Energyplan 0.8.0 over 0.7.1: two Linux worker binaries, manifest (version, source commit 51f0c201, sha256/bytes), the microlp modification note in THIRD-PARTY-NOTICES, a changeset, and the two test version assertions 0.7.1 to 0.8.0.

  • Correctness: the manifest and notices edits are consistent with the PR description (worker hashes match the ones listed). I can't verify the binaries themselves from a diff, so they are only as good as the build behind them. Please confirm they come from energyplan@51f0c201.
  • CI: core (Go) and go test + vet fail on TestLaterRunsAfterTheSlotIsFree in go/internal/ocpp. That package isn't touched here and looks like a timing flake, but it needs a re-run to be sure. The mpc tests that assert 0.8.0 were not shown failing.
  • Security: no new deps, hosts or secrets. Opaque binaries are the one thing a reviewer can't read, hence the provenance ask above.
  • Ordering: energyplan#86 (the release that produces 51f0c201) is still open, so the source commit isn't on that repo's main yet.

Needs a human decision on re-running CI and on merging after energyplan#86 lands.

@frahlg
frahlg merged commit bf7779b into master Nov 21, 2026
30 of 32 checks passed
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.

2 participants