• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Alan-Jowett / sonde / 23456552050
82%

Build:
DEFAULT BRANCH: main
Ran 23 Mar 2026 08:04PM UTC
Jobs 1
Files 73
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Mar 2026 07:39PM UTC coverage: 84.298% (+0.09%) from 84.212%
23456552050

push

github

web-flow
test(gateway): add BLE pairing relay and failover identity tests (#417)

* test(gateway): add BLE pairing relay and failover identity tests

Add integration tests covering five validation gaps (issue #344):

- T-1223: Ed25519 seed replication — verifies rom_parts import
  produces identical public keys, gateway_id, and challenge-response
  signatures on both gateways. Also tests persistence round-trip
  via storage export/import.

- T-1224: BLE GATT server via modem relay — injects BLE_RECV
  containing REQUEST_GW_INFO through the mock modem, processes it
  via handle_ble_recv, and asserts the BLE_INDICATE response
  contains a valid GW_INFO_RESPONSE with correct public key,
  gateway_id, and verifiable signature.

- T-1225: ATT MTU and fragmentation via modem relay — confirms the
  gateway sends complete BLE envelopes in a single BLE_INDICATE
  message (delegation model: modem handles ATT-level fragmentation
  per MD-0403).

- T-1226: BLE_ENABLE/BLE_DISABLE signals on window open/close —
  verifies the admin API sends BLE_ENABLE when opening the
  registration window and BLE_DISABLE when closing (both explicit
  close and auto-close after timeout).

- T-1107a: Modem RESET recovery — verifies that dropping and
  re-creating UsbEspNowTransport re-executes the full startup
  sequence (RESET -> MODEM_READY -> SET_CHANNEL), restoring the
  transport to operational state after a modem ERROR.

Closes #344

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* refactor: address review feedback on BLE pairing tests

- Extract shared mock-modem helpers (read_modem_msg, modem_startup,
  create_transport_and_server, build_admin_with_modem) into
  tests/common/mod.rs to avoid duplication with ble_pairing.rs and
  modem_transport.rs.

- T-1225: construct a 300-byte BLE envelope (exceeding the (MTU-3)=244
  limit) to actually exercise the ATT fragmentation boundary, instead of
  using the 115-byte GW_INFO_RESPONSE that fits within a single ATT PD... (continued)

18490 of 21934 relevant lines covered (84.3%)

47.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23456552050.1 23 Mar 2026 08:04PM UTC 73
84.3
GitHub Action Run
Source Files on build 23456552050
  • Tree
  • List 73
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23456552050
  • d5052423 on github
  • Prev Build on main (#23456272488)
  • Next Build on main (#23456573279)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc