Commit Graph

38 Commits

Author SHA1 Message Date
Lee Smet
08de312cd9 Fix HSET response decoding
The command internally uses (the deprecated) HMSET which just returns OK
on success instead of the amount of fields written

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-29 11:30:41 +02:00
Lee Smet
4d1cd3d910 Format codebase
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-29 11:22:42 +02:00
Lee Smet
c1c1ae3bd1 Bump thiserror to latest version
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-29 11:22:12 +02:00
Lee Smet
ec339c5cbe Add some internal logging
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-29 11:10:04 +02:00
Lee Smet
2aa6277385 Actors are global
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-29 10:29:32 +02:00
Lee Smet
9c47eaaf93 Embedd rpc spec in rpc api
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-29 09:59:42 +02:00
Lee Smet
fce0ccb2d8 Fetch job results if a job is finished
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-28 17:09:04 +02:00
Lee Smet
e5a6228448 Periodically check the job status on the supervisor
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-28 16:42:48 +02:00
Lee Smet
052539409b Separate mycelium client more from supervisor client
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-28 15:24:03 +02:00
Lee Smet
1551b4707b Periodically verify the status of messages sent over mycelium
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-28 14:53:08 +02:00
Lee Smet
4b597cc445 Add calling of supervisor over mycelium
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-28 13:50:59 +02:00
Lee Smet
cf06c7fa36 Remove leftover logic
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-27 16:01:45 +02:00
Lee Smet
6f7fded175 Convert jobs to messages
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-27 15:33:43 +02:00
Lee Smet
fde456fd5e Add new supervisor client over mycelium
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-27 14:17:58 +02:00
Lee Smet
a8227eb808 Revert "Add supervisor API"
This reverts commit bc30c9cc89.
2025-08-27 12:52:54 +02:00
Lee Smet
bc30c9cc89 Add supervisor API
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-22 23:19:05 +02:00
Lee Smet
7ce19f8b6d Add validation for service methods
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-22 14:08:41 +02:00
Lee Smet
bc6cb16732 General code improvements
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-22 12:48:36 +02:00
Lee Smet
74995fa6fe Add job status update in service layer
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-22 12:45:50 +02:00
Lee Smet
f30706a25a Add service layer to abstract business logic
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-22 12:28:36 +02:00
Lee Smet
208d18c280 Allow updating job status in DB
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-22 11:34:29 +02:00
Lee Smet
e45e5939e9 Improve doc comment
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-22 11:02:45 +02:00
Lee Smet
e57c76fb36 Allow updating DAG
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-22 10:59:46 +02:00
Lee Smet
1939a3d09d Add DAG loading to spec
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-21 17:03:21 +02:00
Lee Smet
ec91a15131 Implement DAG for flow
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-21 16:45:10 +02:00
Lee Smet
eb69a44039 Improve rpc api return objects encoding
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-21 15:38:04 +02:00
Lee Smet
30b7acdaba Fix some quirks
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-21 14:07:48 +02:00
Lee Smet
9482a4e3ee Bump jsonrpsee to latest version
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-21 13:56:32 +02:00
Lee Smet
04669eb638 Bump redis to latest version
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-21 13:37:25 +02:00
Lee Smet
62c200b5bd Add openrpc API
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-21 13:29:39 +02:00
Lee Smet
c5f0f80492 Add redis storage driver
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-21 11:23:42 +02:00
Lee Smet
9830abc2dc Add CLI parsing
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-20 14:19:36 +02:00
Lee Smet
acf875ed33 Add basic models
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-20 14:04:08 +02:00
Lee Smet
b769fa63f7 Add core dependencies
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-20 12:36:21 +02:00
Lee Smet
95487c9741 Init rust project
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-08-20 12:33:09 +02:00
950d0bafb4 ... 2025-08-20 10:37:07 +02:00
2bf66e83bb ... 2025-08-20 09:56:55 +02:00
4174ff1663 Initial commit 2025-08-20 07:50:41 +00:00