Commit graph

48 commits

Author SHA1 Message Date
Zach Daniel
20bab64e52 improvement: validate primary keys provided for job scheduling 2024-03-01 18:52:40 -05:00
Yousef
f69ee2286e
improvement: builds_trigger/3 to enable job composition without execution (#18) 2024-03-01 11:49:24 -05:00
Zach Daniel
555abed0e4 fix: only drain queues when oban is in testing mode 2024-02-28 08:07:14 -05:00
Zach Daniel
4f85f5958a chore: remove oban pro 2024-02-28 07:34:09 -05:00
Zach Daniel
bea770d8f6 chore: ensure default oban config is used 2024-02-28 07:30:40 -05:00
Zach Daniel
c6db35afe7 chore: ensure repo is present in oban pro config 2024-02-27 09:42:27 -05:00
Zach Daniel
758784277b improvement: support Oban.Pro.Testing.drain_jobs 2024-02-26 10:31:28 -05:00
Zach Daniel
27d0ebb154 improvement: allow turning new authorization behavior off 2024-02-20 13:28:32 -05:00
Zach Daniel
398d90600f test: fix flaky tests
chore: address credo issues
2024-02-20 13:14:02 -05:00
Zach Daniel
12f4207193 improvement: add actor_persister, and use it automatically
improvement: authorize?: true always
2024-02-20 13:02:43 -05:00
Zach Daniel
0dd7f68cf2 improvement: properly schedule scheduled actions 2024-02-14 11:28:52 -05:00
Maciej Malecki
bfacb4572c
fix: Do not wrap paused and delete Cron options into events (#15)
It breaks the application boot by throwing an irrelevant error.
2024-01-09 07:14:46 -05:00
Zach Daniel
2667527827 chore: don't drain queues 4 times 2023-12-20 10:53:45 -05:00
Zach Daniel
3cad6a4233 fix: properly honor the drain_queues? option 2023-12-19 20:52:52 -05:00
Zach Daniel
6031158019 improvement: make draining queues optional for AshOban.schedule_and_run_triggers 2023-12-12 10:14:32 -05:00
Zach Daniel
03f7f2f662 improvement: move schedule_and_run_triggers to AshOban 2023-12-12 09:40:03 -05:00
Zach Daniel
471341d9ac improvement: make AshOban.Test more configurable for scheduled actions 2023-12-07 14:24:23 -05:00
Zach Daniel
345c690ec7 fix: add cron to opt schema 2023-12-07 13:29:49 -05:00
Zach Daniel
1a957248ae improvement: add scheduled_action for scheduling create/generic actions 2023-12-07 13:24:16 -05:00
Zach Daniel
870c4ff447 improvement: log all errors by default, using log_errors? config 2023-12-05 11:28:38 -05:00
Zach Daniel
6a3cddfc0f improvement: add log_final_error? and default it to true 2023-12-04 18:18:11 -05:00
Zach Daniel
09fa2c28f4 improvement: support require?: false option on config/3. 2023-11-13 16:00:08 -05:00
Zach Daniel
5a2d1dba34 improvement: support action_input on triggers 2023-10-27 15:38:14 -04:00
Zach Daniel
ece3c61a33 fix: nested pausing states under events option
fixes #10
2023-10-11 08:39:33 -04:00
Zach Daniel
2b1d6288a7 improvement: more debug logs, make debugging opt-in 2023-09-19 12:32:50 -04:00
Zach Daniel
91eb716c3e improvement: still validate queues even when no schedulers present 2023-09-16 12:37:22 -04:00
Zach Daniel
f73cc6b452 docs: update docs with new spark cheat sheets, and organize everything 2023-09-16 11:17:40 -04:00
Yousef Janajri
e998a278a9
fix: make override job options optional (#8) 2023-09-03 07:01:28 -04:00
Yousef Janajri
f2bc0ab247
improvement: support overriding job opts in run_trigger (#7) 2023-09-01 15:45:34 -04:00
Zach Daniel
2ce62a5770 docs: update docs to remove bad example
improvement: support destroy actions in the trigger action
improvement: debug logs
2023-08-31 11:25:05 -04:00
Zach Daniel
706fcdfb7c improvement: use read_metadata when manually scheduling 2023-08-24 17:10:29 -04:00
Zach Daniel
b628984c44 improvement: allow false as the value for scheduler_cron 2023-08-24 16:15:04 -04:00
Zach Daniel
8e7a42d965 chore: commit the rest of the priority work 2023-08-23 18:34:02 -04:00
Zach Daniel
9308cf0fff improvement: add worker/scheduler priorities 2023-08-23 18:24:53 -04:00
Zach Daniel
6f9e6ff774 improvement: add test helper for running triggers 2023-08-04 16:40:31 -04:00
Yousef Janajri
b5ef503c6d
fix: Update base engine to support rename Oban.Pro.Engines.Smart 2023-07-25 22:37:30 -04:00
Zach Daniel
c13793db7d improvement: trigger_read_action, defaulting to read action 2023-07-19 14:18:15 -04:00
Zach Daniel
8359e17030 improvement: support record_limit to limit max processed records 2023-06-10 13:15:46 -04:00
Zach Daniel
1520a3db3e improvement: make scheduler default queue the same as worker
but give scheduler a priority of 1 so it happens before workers.
2023-05-08 14:49:22 -04:00
Zach Daniel
05c4547015 chore: fix compile, mix deps.get 2023-04-28 14:01:22 -04:00
Zach Daniel
230e6cb0c7 improvement: error handling/docs 2023-04-28 13:59:56 -04:00
Zach Daniel
42d20b613a fix: properly set context/authorize? in workers 2023-04-28 01:39:57 -04:00
Zach Daniel
303da4c2f8 fix: error messages/config improvements 2023-04-27 23:57:33 -04:00
Zach Daniel
2f0a57683b fix: syntax/get tests passing 2023-04-27 22:36:29 -04:00
Zach Daniel
cad7a65fae improvement: initial feature set 2023-04-27 22:07:05 -04:00
Zach Daniel
316a77a7f2 WIP 2023-04-21 23:35:21 -06:00
Zach Daniel
223124bd77 chore: DSL definition 2023-04-21 22:58:26 -06:00
Zach Daniel
79807a2d80 init 2023-04-21 22:46:04 -06:00