orchestrator: Reject empty payloads in poll_stage With len() == 0 the written == total termination check held on the first poll, so an image-less staging reached Ready and could be activated. An empty payload is a caller bug: poll_stage now returns the new UpdateError::EmptyPayload before touching the device. Assisted-by: Claude (Fable 5)
The OpenPRoT Technical Charter can be found at https://github.com/OpenPRoT/.github/blob/main/GOVERNANCE.md
NOTE: We are converting our build system to bazel. We recommend installing bazelisk to automatically manage bazel versions.
You can run tasks using the Pigweed workflow launcher pw or bazel.
./pw presubmit - Run presubmit checks: formatting, license checks, C/C++ header checks and clippy../pw format - Run the code formatters.bazel test //... - Run all tests.bazel build //docs - Build documentation.The project is structured as a bazel module.
No additional tools are required - all dependencies are managed by bazel.