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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/legion/extensions.rb +8 -1
- data/lib/legion/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1baac1b3f710f7f0dc337257c1dd18ebf0f3b050d2208085a8667abd579654bf
|
|
4
|
+
data.tar.gz: 17b7cbc40ebd8f3e07de0bcebe73878cbb52ae862b1d972d99625fb15e68c38e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/legion/extensions.rb
CHANGED
|
@@ -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
|
|
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
|
|
data/lib/legion/version.rb
CHANGED