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

Alan-Jowett / sonde / 23773692255
82%

Build:
DEFAULT BRANCH: main
Ran 31 Mar 2026 12:03AM 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

30 Mar 2026 11:44PM UTC coverage: 85.128% (+0.01%) from 85.116%
23773692255

push

github

web-flow
test(gateway): implement T-1403, T-1404, T-1405a handler tests (#592)

* test(gateway): implement T-1403, T-1404, T-1405a handler tests

- T-1403: handler live-reload add — verify APP_DATA routes after \AddHandler\
- T-1404: handler live-reload remove — verify APP_DATA stops routing after \RemoveHandler\
- T-1405a: invalid YAML bootstrap — verify warning logged, valid entry imported

Also makes \load_handler_configs\ lenient: invalid entries are skipped
with a warning instead of failing the entire load (GW-1405).

Closes #589
Closes #590

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

* fix(gateway): update existing tests for lenient YAML loader

Existing tests expected load_handler_configs to return Err on invalid
entries, but GW-1405 requires lenient behavior (skip + warn). Updated
3 tests to expect Ok with empty results for invalid entries.

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

* style: fix formatting in handler tests

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

* Address review findings: live-reload tests, doc comments, warn logging

- T-1403: Use shared infrastructure (new_with_pending) and set_handler_router
  on the *same* gateway instance instead of creating a new one. Build the
  HandlerRouter from storage records after admin add_handler.

- T-1404: Use shared infrastructure (new_with_pending) and build router from
  storage records. After admin remove_handler, verify storage is empty and
  rebuild router from current state to confirm no routing.

- load_handler_configs: Update doc comment to document lenient semantics
  (invalid entries are skipped with a warning, only file I/O and YAML parse
  errors are fatal).

- Add path and command to the warn! structured fields when skipping invalid
  handler entries for easier diagnostics.

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

* Address iteration 2 findings: require_python macro, persiste... (continued)

28 of 28 new or added lines in 1 file covered. (100.0%)

23509 of 27616 relevant lines covered (85.13%)

153.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23773692255.1 31 Mar 2026 12:03AM UTC 77
85.13
GitHub Action Run
Source Files on build 23773692255
  • Tree
  • List 77
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23773692255
  • 2cd3f808 on github
  • Prev Build on main (#23771187924)
  • Next Build on main (#23775685589)
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