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

Alan-Jowett / sonde / 23715015336
82%

Build:
DEFAULT BRANCH: main
Ran 29 Mar 2026 05:44PM UTC
Jobs 1
Files 77
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

29 Mar 2026 05:38PM UTC coverage: 85.534% (-0.2%) from 85.722%
23715015336

push

github

web-flow
feat(gateway): fix logging test + implement handler config (GW-1401-GW-1406) (#572)

* fix(gateway): fix broken T-1308 logging test compilation

Add \uild_app_data\ method and \GatewayMessage\ import to the logging
test's \TestNode\. Add missing \hex\ dependency for \alidate_program_hash\
in admin.rs. Run \cargo fmt\ to fix formatting in admin.rs and
sqlite_storage.rs.

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

* fix(gateway): fix T-1308 test APP_DATA sequence

Add GW-1308 operational logging (APP_DATA received, handler matched,
handler invoked, handler replied, handler exited with code) to engine.rs
and handler.rs. Fix logging.rs test: add missing GatewayMessage/MSG_APP_DATA
imports, add build_app_data helper, add working_dir field, and improve
Windows Python detection to fall back from py to python3/python.

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

* fix(gateway): address PR #572 review findings

- Fix empty handler cache on legacy bundle import
- Add safe hex parsing with validation in handler_record_to_config
- Fix replace_handlers atomicity documentation
- Assert on add_handler results in tests
- Remove unused hex dependency
- Fix case-sensitivity comment
- Flatten multi-matcher configs on import
- Handle invalid JSON and negative timeouts in SQLite storage

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

* fix(gateway): address PR #572 review findings (iteration 2)

- Skip invalid handler records instead of fallback to empty hash
  (prevents silent misconfiguration hiding storage corruption)
- Add ASCII guard to `validate_program_hash()` before byte-index
  slicing to prevent panics on non-ASCII UTF-8 input (GW-1402)
- Use `i64::try_from()` instead of `as i64` for `reply_timeout_ms`
  to catch overflow instead of silent wrapping (GW-1401)
- Guard `ph_hex` allocation with `tracing::enabled!()` in
  `route_app_data()` and `handle_app_data()` to avoid heap
  allocation... (continued)

195 of 306 new or added lines in 9 files covered. (63.73%)

2 existing lines in 2 files now uncovered.

23432 of 27395 relevant lines covered (85.53%)

154.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
54
0.0
0.0% crates/sonde-admin/src/main.rs
31
53.72
-7.89% crates/sonde-admin/src/grpc_client.rs
9
84.32
-0.27% crates/sonde-gateway/src/handler.rs
8
90.51
0.88% crates/sonde-gateway/src/sqlite_storage.rs
4
74.29
5.9% crates/sonde-gateway/src/admin.rs
3
90.79
-0.36% crates/sonde-gateway/src/engine.rs
2
80.72
1.01% crates/sonde-gateway/src/storage.rs

Coverage Regressions

Lines Coverage ∆ File
1
84.32
-0.27% crates/sonde-gateway/src/handler.rs
1
82.31
0.23% crates/sonde-gateway/src/state_bundle.rs
Jobs
ID Job ID Ran Files Coverage
1 23715015336.1 29 Mar 2026 05:44PM UTC 77
85.53
GitHub Action Run
Source Files on build 23715015336
  • Tree
  • List 77
  • Changed 10
  • Source Changed 10
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23715015336
  • 7f6f0351 on github
  • Prev Build on main (#23711637168)
  • Next Build on main (#23715022460)
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