legionio 1.4.99 → 1.4.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a553c0aa3d45028625552525159880be65a55fb43002865b19e6e02db32feb7
4
- data.tar.gz: 96aeca93c251fe5fb2f4b6be197511f6094848940d19e2274bf3d77d019382d4
3
+ metadata.gz: 1baac1b3f710f7f0dc337257c1dd18ebf0f3b050d2208085a8667abd579654bf
4
+ data.tar.gz: 17b7cbc40ebd8f3e07de0bcebe73878cbb52ae862b1d972d99625fb15e68c38e
5
5
  SHA512:
6
- metadata.gz: 105e4dc81f74bb9a5aef81771a30fcec18ea29171d78040fef5a90d9235e191890c732569a68dd7ac225e68d0b69c35a11b78d78f2917f215b59d39a8c272145
7
- data.tar.gz: a35491bdef7e4869acae4ee75fc7f303d259ee72c49e4dd30db99e7ea8f176e43c137e344ecbfc8cf6fa3aa0998dafef4e695c49520fb57ecfc9e9a8c3e65485
6
+ metadata.gz: 13425c159ba43c8d95e97068a5ee1f49bb82c2ca766fc18ca2346cd7d7b9355df0a3444f0977aee976dec12451cd8a0857ea891c87ccc70d6b26887c66ae3ce2
7
+ data.tar.gz: 3344f3f0b176517883dd1cff92833e1e461e0a0420d0c9270a72ffde966989b3219088b90edc1f279b263053c61f1b13e48c4c1e29e2ed32a8a917f50e8c2850
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Legion Changelog
2
2
 
3
+ ## [1.4.100] - 2026-03-21
4
+
5
+ ### Changed
6
+ - `hook_actor` FATAL now logs actor class name and ancestors for debugging unmatched actors
7
+ - `hook_all_actors` logs actor type counts after hooking (subscription/every/poll/once/loop)
8
+
3
9
  ## [1.4.99] - 2026-03-21
4
10
 
5
11
  ### Fixed
@@ -177,6 +177,13 @@ module Legion
177
177
  Legion::Logging.info "Hooking #{@pending_actors.size} deferred actors"
178
178
  @pending_actors.each { |actor| hook_actor(**actor) }
179
179
  @pending_actors = []
180
+ Legion::Logging.info(
181
+ "Actors hooked: subscription:#{@subscription_tasks.count}," \
182
+ "every:#{@timer_tasks.count}," \
183
+ "poll:#{@poll_tasks.count}," \
184
+ "once:#{@once_tasks.count}," \
185
+ "loop:#{@loop_tasks.count}"
186
+ )
180
187
  @loaded_extensions&.each { |name| Catalog.transition(name, :running) }
181
188
  end
182
189
 
@@ -216,7 +223,7 @@ module Legion
216
223
  elsif actor_class.ancestors.include? Legion::Extensions::Actors::Subscription
217
224
  hook_subscription_actor(extension_hash, size, opts)
218
225
  else
219
- Legion::Logging.fatal 'did not match any actor classes'
226
+ Legion::Logging.fatal "#{actor_class} did not match any actor classes (ancestors: #{actor_class.ancestors.first(5).map(&:to_s)})"
220
227
  end
221
228
  end
222
229
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Legion
4
- VERSION = '1.4.99'
4
+ VERSION = '1.4.100'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legionio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.99
4
+ version: 1.4.100
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity