Repository navigation
Conversation
Energyplan 0.8.1 (a361b9c8) stops on its time budget on a slow CPU too: on a Raspberry Pi 4 home box, a large synthetic 5 s request answered up to 65 ms past its budget on 0.8.0 in 2 of 10 runs, and in 0 of 10 on 0.8.1 (at most 12 ms past), with the same plans. Protocol v1, site signs and the time budget are unchanged. Only the two Linux workers, manifest.json and the third-party notices change. The health checks expect 0.8.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.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. |
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.
Problem and result
On a Raspberry Pi 4, Energyplan 0.8.0 sometimes answered a large site's request a few tens of milliseconds past its time budget (on the home box, a synthetic 5 s request up to 65 ms past, in 2 of 10 runs). Energyplan 0.8.1 (source commit a361b9c8, private pre-release tag
v0.8.1-beta.1) stops on its budget on a slow CPU too, with the same plans. Core still validates every plan.Scope and safety
manifest.jsonandTHIRD-PARTY-NOTICES.txt(the solver library's modification note) change. License, Rust runtime licenses and schemas are byte-identical.b5501dc5…e3b6886d…energyplan_test.goandenergyplan_fault_test.goexpect 0.8.1.docs/energyplan-contract.mdare unchanged.Verification
ValidatePlan, run on master) accepted every plan; peak memory 88.0 MiB.python3 optimizer/native/verify.py --host-binarypassed;go test -count=5 ./internal/mpc ./internal/energyforecast ./cmd/ftw -run 'Native|RustForecastHost'passed;make native-solver-testandmake verifypassed.Checklist
🤖 Generated with Claude Code