Commit graph

43 commits

Author SHA1 Message Date
Zach Daniel
c623c7b98f improvement: update to ash 3.0 2024-03-29 19:52:22 -04:00
Zach Daniel
488131e5a8 fix: properly catch when trigger no longer applies 2024-03-04 23:43:13 -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
7935a579d2 fix: properly discard all non applicable jobs 2024-02-28 07:22:55 -05:00
Zach Daniel
27d0ebb154 improvement: allow turning new authorization behavior off 2024-02-20 13:28:32 -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
5075981a5d chore: don't use run_action! 2024-02-14 14:27:58 -05:00
Zach Daniel
7f8ec4450c docs: fix build/docs/credo 2023-12-12 09:44:35 -05:00
Zach Daniel
471341d9ac improvement: make AshOban.Test more configurable for scheduled actions 2023-12-07 14:24:23 -05:00
Zach Daniel
80bae3bf43 fix: fallback clause to match valid configurations 2023-12-07 13:32:44 -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
9d5444c35f chore: make primary_key variable allowed 2023-12-04 18:24:00 -05:00
Zach Daniel
65a7576163 chore: change log message 2023-12-04 18:19:10 -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
d857705f8c improvement: don't log on raised exception, for consistency
we don't raise when an error is returned, so we won't raise when an error
is raised. It will eventually cause a job failure in Oban.
2023-12-04 17:56:50 -05:00
Zach Daniel
5a2d1dba34 improvement: support action_input on triggers 2023-10-27 15:38:14 -04:00
Zach Daniel
72123d1e20 fix: only supply metadata if read_metadata is set 2023-10-06 20:49:50 -04:00
Zach Daniel
981e659c8f fix: pass metadata argument on the udpate action 2023-10-06 20:44:01 -04:00
Zach Daniel
2b1d6288a7 improvement: more debug logs, make debugging opt-in 2023-09-19 12:32:50 -04:00
Zach Daniel
f73cc6b452 docs: update docs with new spark cheat sheets, and organize everything 2023-09-16 11:17:40 -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
07a35b48f5 fix: verify trigger action exists in transformer
closes #6
2023-08-25 09:16:07 -04:00
Zach Daniel
b628984c44 improvement: allow false as the value for scheduler_cron 2023-08-24 16:15:04 -04:00
Zach Daniel
9308cf0fff improvement: add worker/scheduler priorities 2023-08-23 18:24:53 -04:00
Zach Daniel
1286db7762 improvement: only invoke error handler on last attempt 2023-08-04 17:22:53 -04:00
Zach Daniel
3cba396123 fix: use same read_action in handle_error and in work 2023-08-04 17:11:11 -04:00
Maciej Malecki
3876b9cd19
Allow using worker_read_action for locking before processing the job (#3) 2023-07-20 08:02:02 -04:00
Zach Daniel
c13793db7d improvement: trigger_read_action, defaulting to read action 2023-07-19 14:18:15 -04:00
Zach Daniel
9e07f3f699 improvement: read with primary read for trigger 2023-07-19 14:08:08 -04:00
Zach Daniel
60c449b42c improvement: log error on scheduler failure 2023-07-19 08:36:00 -04:00
Zach Daniel
8359e17030 improvement: support record_limit to limit max processed records 2023-06-10 13:15:46 -04:00
Zach Daniel
901db826ee fix: properly raise errors instead of swallowing them 2023-05-17 22:42:01 -04:00
Zach Daniel
87de8a1f01 fix: don't use authorize?: false for operations. 2023-05-17 11:38:37 -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
0b1942b1d0 fix: add_error/1 does not exist 2023-05-01 18:10:41 -04:00
Zach Daniel
44bfe10358 improvement: handle actions w/ before_transaction/after_transaction hooks better 2023-05-01 17:05:49 -04:00
Zach Daniel
cc5e0e01f3 fix: insert_all/1 not insert_all!/1 2023-05-01 11:00:17 -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
253b27d4b7 improvement: optional deps, transaction only for actions 2023-04-27 23:34: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