Fix WiFi boot, background polling, state ring, and device-server proxy #2
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/wifi-connect-background-poll"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
07f621a.ota_updater::snapshot()).server/crate: collapses three Hermes calls (369 KB / 2.1 MB for sessions) into one compact payload.runningis true when one of the profile's sessions is streaming. Firmware falls back to the old two requests if/api/deviceis missing.server.yml: fmt, clippy, tests; release artifact onserver-v*tags.manifest.jsonbumped to 0.6.6.Evidence
WiFi.begin). Once connected, the UI froze on every poll: A first background-task attempt (priority 1) reset the board via task watchdog (~25s). Profile status only reflectedis_active(the default profile).After: connects (
[wifi] connected, IP=192.168.1.7), no loop gaps from polling, 3 min serial run with no watchdog or reboot.cargo fmt --check,cargo clippy -D warnings,cargo test(2 tests) pass;cargo build --release --lockedok. Live against Hermes:/api/deviceis 880 B and returns"name":"developerheavy" ... "running":truewhile a run is active.Not verified: the ring and dimming visually on the device, and the new firmware reading
/api/device(server is not deployed yet; the fallback path is what runs today). The new workflow has not run on Forgejo yet.Merge Danger
Door: two-way
Revert is cheap in git. Firmware only reaches devices if a
v*tag is pushed (OTA publish), and the server only runs once deployed by hand.Blast Radius: device
Tagging a release after merge ships the new firmware to the screen via OTA. The server crate and
server.ymlonly run onserver/**changes orserver-v*tags and do not affectbuild.yml.OTA_DISABLE_SHA_CHECKis local config and is not part of this PR.