lex-tasker 0.3.8 → 0.3.10
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 +10 -0
- data/lib/legion/extensions/tasker/helpers/task_finder.rb +2 -1
- data/lib/legion/extensions/tasker/runners/check_subtask.rb +1 -1
- data/lib/legion/extensions/tasker/runners/fetch_delayed.rb +2 -2
- data/lib/legion/extensions/tasker/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: a404c2e3837104c5a4b3e2c68d7728ebf98e78d947963aab649758bb40393c3b
|
|
4
|
+
data.tar.gz: ed96507e66df83cd025797454e640ccbd9abd4e55ac35f4317ac8a3146c78232
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6a5fffefcc28eb6fe9438fc43d10a06944dd8737866c2cf7ad6398ecab0fb94c5e8a44e2de2a6b4c9cdfb9936d28135873293f71838b9be935d90affe67fab7
|
|
7
|
+
data.tar.gz: 2c77a5705052db769e0c986f6ca71ecfa2636a56580280e64e63fc38070ed2e955b34f5d40b0ab6b8ac778460323cc2e725827bd301333fc72e2c5fb2256479f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.10] - 2026-04-13
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- Select `engine` column from `relationships` in `TaskFinder#subtask_query` — propagates engine selection through `build_task_hash` to SubTask dispatch
|
|
7
|
+
|
|
8
|
+
## [0.3.9] - 2026-03-31
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Version bump from previous branch (fleet/ws-00h runner fixes)
|
|
12
|
+
|
|
3
13
|
## [0.3.8] - 2026-03-31
|
|
4
14
|
|
|
5
15
|
### Fixed
|
|
@@ -16,7 +16,7 @@ module Legion
|
|
|
16
16
|
def cache_set(key, value, ttl: 60)
|
|
17
17
|
return unless defined?(Legion::Cache) && Legion::Cache.respond_to?(:connected?) && cache_connected?
|
|
18
18
|
|
|
19
|
-
Legion::Cache.set("tasker:#{key}", value, ttl) # rubocop:disable Legion/HelperMigration/DirectCache
|
|
19
|
+
Legion::Cache.set("tasker:#{key}", value, ttl: ttl) # rubocop:disable Legion/HelperMigration/DirectCache
|
|
20
20
|
rescue StandardError => _e
|
|
21
21
|
nil
|
|
22
22
|
end
|
|
@@ -104,6 +104,7 @@ module Legion
|
|
|
104
104
|
Sequel[:relationships][:action_id],
|
|
105
105
|
Sequel[:relationships][:conditions],
|
|
106
106
|
Sequel[:relationships][:transformation],
|
|
107
|
+
Sequel[:relationships][:engine],
|
|
107
108
|
Sequel[:runners][:namespace],
|
|
108
109
|
Sequel[:runners][:id].as(:runner_id),
|
|
109
110
|
Sequel[:runners][:queue],
|
|
@@ -49,7 +49,7 @@ module Legion
|
|
|
49
49
|
if relationship[:conditions].is_a?(String) && relationship[:conditions].length > 4
|
|
50
50
|
'task.subtask.conditioner'
|
|
51
51
|
elsif relationship[:transformation].is_a?(String) && relationship[:transformation].length > 4
|
|
52
|
-
'task.subtask.
|
|
52
|
+
'task.subtask.transform'
|
|
53
53
|
else
|
|
54
54
|
relationship[:runner_routing_key]
|
|
55
55
|
end
|
|
@@ -46,7 +46,7 @@ module Legion
|
|
|
46
46
|
if task[:conditions].is_a?(String) && task[:conditions].length > 4
|
|
47
47
|
'task.subtask.conditioner'
|
|
48
48
|
elsif task[:transformation].is_a?(String) && task[:transformation].length > 4
|
|
49
|
-
'task.subtask.
|
|
49
|
+
'task.subtask.transform'
|
|
50
50
|
else
|
|
51
51
|
task[:runner_routing_key]
|
|
52
52
|
end
|
|
@@ -55,7 +55,7 @@ module Legion
|
|
|
55
55
|
def update_delayed_status(task_id, routing_key)
|
|
56
56
|
status = case routing_key
|
|
57
57
|
when 'task.subtask.conditioner' then 'conditioner.queued'
|
|
58
|
-
when 'task.subtask.
|
|
58
|
+
when 'task.subtask.transform' then 'transformer.queued'
|
|
59
59
|
else 'task.queued'
|
|
60
60
|
end
|
|
61
61
|
task_update(task_id, status)
|