Skip to content

Add coverage for Error, SignalEmitter, and SensorDispatchBridge#16

Merged
mikehostetler merged 3 commits intomainfrom
codex/pr10-eval
Apr 1, 2026
Merged

Add coverage for Error, SignalEmitter, and SensorDispatchBridge#16
mikehostetler merged 3 commits intomainfrom
codex/pr10-eval

Conversation

@mikehostetler
Copy link
Copy Markdown
Contributor

Summary

Validation

  • MIX_ENV=test mix test test/ash_jido/error_test.exs test/ash_jido/sensor_dispatch_bridge_test.exs test/ash_jido/signal_emitter_test.exs
  • MIX_ENV=test mix test
  • mix quality

Supersedes #10.

dl-alexandre and others added 3 commits April 1, 2026 12:16
…or modules

Add comprehensive test coverage for three modules that previously had no tests:

- SensorDispatchBridge: Tests for forward/2, forward_many/2, and forward_or_ignore/2
  including success cases, error handling for dead runtimes, invalid signals,
  and batch forwarding with error tracking.

- SignalEmitter: Tests for dispatch configuration validation, signal emission
  with various formats, notification handling, and default signal type/source
  generation from resource names.

- Error: Tests for all Ash error type conversions (Invalid, Forbidden, Framework,
  Unknown), underlying error extraction, field error mapping, and changeset
  error extraction.

These tests improve overall test coverage and provide safety for future refactoring.
@mikehostetler mikehostetler merged commit a2aeb2f into main Apr 1, 2026
6 of 8 checks passed
@mikehostetler mikehostetler deleted the codex/pr10-eval branch April 1, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants