20 Commits

Author SHA1 Message Date
Timur Gordon
df8fc69678 Use git dependency for osiris instead of path
This allows runner_rust to be used as a git dependency by other projects
2025-10-28 12:29:19 +01:00
Timur Gordon
564b81b708 Update runner to use engine factory pattern with Rhai packages
- Reverted from generic Package approach to factory function pattern
- Factory creates Engine::new_raw() + registers package (efficient)
- AsyncRunner and SyncRunner use engine_factory: Arc<dyn Fn() -> Engine>
- Each job gets a fresh engine instance (cheap with factory pattern)
- Package is created once inside factory, engines reuse it
2025-10-28 12:20:45 +01:00
Timur Gordon
0c918a8f5f Add get_error method to client for standardized error retrieval
- Implemented get_error() method to fetch job error messages from Redis
- Mirrors get_result() pattern for consistency
- Used by supervisor to retrieve job errors without manual Redis queries
- Cleanup: removed old runner_osis directory
2025-10-28 03:32:57 +01:00
Timur Gordon
268128f7fd fix: use basic Engine for runner_osiris until osiris rhai module is available 2025-10-27 14:18:55 +01:00
Timur Gordon
228eb4ffe7 chore: use git version of osiris dependency 2025-10-27 13:50:47 +01:00
Timur Gordon
14ff6cae67 feat: reorganize examples and add signature support to JobBuilder
- Reorganized examples into osiris/, sal/, and utils/ folders
- Moved hardcoded scripts to separate .rhai files
- Added signature() method to JobBuilder for job signing
- Updated OSIRIS context to use block_in_place instead of runtime
- Removed runtime field from OsirisContext
- Added typed save() methods for Note and Event objects
- Updated all examples to use new structure and APIs
2025-10-27 13:49:39 +01:00
Timur Gordon
90754cc4ac update job to include signatures 2025-10-24 10:44:36 +02:00
Timur Gordon
2e19ed09df Add production documentation and simple auth 2025-10-20 23:19:43 +02:00
Timur Gordon
54474c9e69 Remove sal-service-manager dependency 2025-10-20 22:30:06 +02:00
Timur Gordon
ecdf428a69 Fix git dependencies 2025-10-20 22:27:44 +02:00
Timur Gordon
eba0660666 Use git dependency for osiris 2025-10-20 22:25:50 +02:00
Timur Gordon
58537982c4 Production deployment with zinit config 2025-10-20 22:22:34 +02:00
Timur Gordon
0c4d36248a cargo fix 2025-09-09 17:55:44 +02:00
Timur Gordon
24fb72e932 add tests and fix job impl 2025-09-09 17:54:38 +02:00
Timur Gordon
d744c2cd16 add tests and fix job impl 2025-09-09 17:54:09 +02:00
Timur Gordon
629d59f7db merge runners into single project 2025-09-09 15:42:20 +02:00
Timur Gordon
89a3abee63 wip 2025-08-08 09:54:50 +02:00
Maxime Van Hees
e66bee09cf ... 2025-08-07 11:56:44 +02:00
Timur Gordon
0a118533c4 make crate 2025-08-07 10:15:23 +02:00
Timur Gordon
f0888e6f04 initial commit 2025-08-07 10:11:41 +02:00