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

agentjido / jido_signal / c3e173b128fb966e0bd6736aa62127e3e630de62-PR-23

03 Sep 2025 12:37PM UTC coverage: 83.033% (-0.02%) from 83.053%
c3e173b128fb966e0bd6736aa62127e3e630de62-PR-23

Pull #23

github

mikehostetler
Enhance Jido.Signal extension handling and introduce safe call mechanisms

- Added new functions in `Jido.Signal.Ext` for safely calling extension callbacks, including `safe_call`, `safe_validate_data`, `safe_to_attrs`, and `safe_from_attrs`, improving error handling and logging for extension operations.
- Updated `Jido.Signal` to utilize the new safe call functions, ensuring robust handling of extension data during signal processing.
- Enhanced the `from_map/1` function to preserve unknown extensions as opaque data, with appropriate logging for unknown attributes encountered.
- Introduced comprehensive tests for the new safe call mechanisms and unknown extension handling, ensuring reliability and clarity in extension interactions.
Pull Request #23: Signal Extensions - Behavior to define structured signal extensions

198 of 237 new or added lines in 7 files covered. (83.54%)

2 existing lines in 1 file now uncovered.

1566 of 1886 relevant lines covered (83.03%)

723.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

78.65
/lib/jido_signal.ex


Source Not Available

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

© 2025 Coveralls, Inc