Commit graph

77 commits

Author SHA1 Message Date
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
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
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
da13981017 chore: update spark, ash, and fix docs 2023-10-05 09:04:33 -04:00
Zach Daniel
4131a316d9 chore: release version v0.1.9 2023-10-04 14:54:16 -04:00
Zach Daniel
427b5bf044 improvement: more granular & more broad testing helpers 2023-10-04 14:53:57 -04:00
Zach Daniel
2b1d6288a7 improvement: more debug logs, make debugging opt-in 2023-09-19 12:32:50 -04:00
Zach Daniel
b5b7e92e07 chore: release version v0.1.8 2023-09-16 12:37:38 -04:00
Zach Daniel
91eb716c3e improvement: still validate queues even when no schedulers present 2023-09-16 12:37:22 -04:00
Zach Daniel
a47253cbe3 chore: release version v0.1.7 2023-09-16 11:18:01 -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
bff2ed51fe chore: remove IO.inspect 2023-09-15 15:53:31 -04:00
Zach Daniel
c74eb9f8f5 fix: don't schedule triggers with no scheduler 2023-09-15 15:48:33 -04:00
Zach Daniel
06c340569f improvement: support providing an otp app to schedule and run triggers 2023-09-15 15:42:30 -04:00
Zach Daniel
99a97b379d chore: debug 2023-09-15 15:36:09 -04:00
Zach Daniel
9018d13bbe chore: debug 2023-09-15 15:34:25 -04:00
Zach Daniel
8775a1c52b improvement: support apis/resources for ash_oban 2023-09-15 15:32:47 -04:00
Robert Ellen
2d03e0fe7c
Update .formatter.exs to include read_metadata (#9) 2023-09-06 01:19:34 -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
776eec9623 chore: update spark 2023-08-31 10:46:54 -04:00
Zach Daniel
5214c7f296 chore: release version v0.1.6 2023-08-29 19:19:02 -04:00
Zach Daniel
07a35b48f5 fix: verify trigger action exists in transformer
closes #6
2023-08-25 09:16:07 -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
76ede390d6 chore: release version v0.1.5 2023-08-14 18:52:32 -07: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
Zach Daniel
47af61a53f improvement: drain each queue twice 2023-08-04 17:07:44 -04:00
Zach Daniel
ee4827cbe9 fix: another syntax issue with drain_queue/2 2023-08-04 16:45:13 -04:00
Zach Daniel
6bd00588c7 fix: drain_queue syntax issue 2023-08-04 16:42:52 -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
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
f8f88bd2c1 chore: release version v0.1.4 2023-06-10 13:29:25 -04:00
Zach Daniel
8359e17030 improvement: support record_limit to limit max processed records 2023-06-10 13:15:46 -04:00
sitch
cdc3028fcb
docs: fix readme title 2023-06-03 11:01:19 -04:00
Zach Daniel
a47cc3c8cf chore: release version v0.1.3 2023-05-17 22:42:19 -04:00
Zach Daniel
901db826ee fix: properly raise errors instead of swallowing them 2023-05-17 22:42:01 -04:00