Repository navigation
Conversation
19b33fe to
5ac05c5
Compare
|
Maintainer review signal (not a formal approval because this is still draft and it touches firmware release workflow + broad CV1 storage/transport behavior): This is a coherent fix around CV1 durable capture/backlog sync, and the direction looks promising: moving storage advancement to an explicit app Before this is merge-ready, I’d want human firmware/release review on a few areas:
No security/supply-chain attempt found in the diff. I’m leaving this as a positive signal + maintainer-review request rather than approval while it remains draft and because the release/agent-instruction surfaces need human ownership. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
5ac05c5 to
0af64e6
Compare
Treat GATT TX completion as flow control only. Remove firmware-side auto-advance checkpoints and durably advance the SD watermark only in response to the app's explicit ADVANCE command. Failure-Class: none
Stop re-requesting aggressive connection parameters when a phone selects a slower interval; keep the negotiated callback observational. Failure-Class: none
Failure-Class: new
Reject DIS/MCUboot version drift before building, preserve reviewed nonzero build numbers for normal releases, and atomically synchronize explicit overrides. Bump the physically verified candidate to 3.0.28. Failure-Class: none Verified: NCS 2.9.0 Docker dual-core build; physical CV1 dual-core OTA; MTU 498 / PHY 2M; 3,996,000 bytes at 98.7 KiB/s with matching CRC; version suite; make preflight (46 checks).
Use right-sized dual-core ACL buffers, increase controller TX depth, and request a bounded 15 ms connection interval only while a contiguous ring drain is active. Restore the normal interval after the drain and keep rejection non-fatal. Physical iPhone validation sustained 50.97 KiB/s versus 15.96 KiB/s stock across 18,162,224 bytes (3.19x), with zero gaps or overlaps through reconnect, app restart, and OTA reflash. Failure-Class: none
0af64e6 to
4fb849e
Compare
Ported from BasedHardware/omi#10572. Co-authored-by: Alex Vega <[email protected]>
Correct the attribution for work imported from BasedHardware/omi#10572. Supersedes the local-only address in 1842244.
Corrects the author identity for the upstream durability work from BasedHardware/omi#10572.
Make the SD ring authoritative before live GATT delivery and classify repeated durable app ACKs as idempotent reclaim operations. Failure-Class: FC-split-mutation-authority Co-authored-by: multica-agent <[email protected]>
|
Thanks for the very thorough CV1 durability work here. I reviewed the firmware/storage path statically and ran the new lightweight host checks that are possible in this review environment. What looks good:
Agent-instruction impact: this PR also changes Validation I ran:
I am not requesting changes from this pass. Because this is still draft, touches firmware durability plus release workflow/agent-instruction surfaces, and changes user-data persistence behavior, I’m leaving final merge readiness to a human maintainer after the full CV1 firmware build/physical validation evidence is accepted. — Automated maintainer review by glm-5.2 by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
|
Closing this experimental CV1/storage-first branch. The only firmware reliability change being carried forward is #11578; this PR is not part of that release candidate. |
|
Hey @axAilotl 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
Summary
ADVANCERoot cause
The live path treated a successful
bt_gatt_notify_cbenqueue as ownership transfer. The controller can accept a frame and then lose the RF link or app before durable receipt, sotransport.cskipped storage and permanently dropped the only recoverable copy.The corrected ownership rule is: the pendant SD/ring owns the record until the app explicitly advances the durable watermark. GATT completion is flow control, not durable acknowledgment.
Physical findings
Tested on a physical CV1 and iPhone 13 Pro Max running iOS 26.5.2:
SCA-144 regression
Head
9c052f5ffa22f9ef9c9bcdd55fdf7064837da0c2adds host regressions proving:Companion PRs
Validation
-Wall -Wextra -Werror: passedaudio_storage_packer_tests: passedomi/firmware/scripts/ci/test-check-cv1-version-sync.sh: passedcmake/ctest: unavailable on this hostResidual risk
No merge, release, tag, or firmware publication is performed by this update.
Failure-Class: none