Rory Powell
207512396a
Merge pull request #10738 from Budibase/automation-investigation
...
Automation investigation logging + max doc size fix for automation log
2023-05-30 16:45:27 +01:00
Rory Powell
6230e62b9b
Automation investigation logging + max doc size fix for automation log
2023-05-30 16:37:39 +01:00
Peter Clement
3119ba5a8d
remove log
2023-05-30 14:41:04 +01:00
Peter Clement
0a91e5bed1
update let to const
2023-05-30 14:26:49 +01:00
Peter Clement
5a7f0ba586
Fix performance issue with looping and context
2023-05-30 14:25:28 +01:00
Peter Clement
b0a32f03b4
remove log
2023-05-25 09:14:09 +01:00
Peter Clement
a9bb534cdf
set flag in automation orchestrator
2023-05-24 14:41:58 +01:00
Peter Clement
d271bbdadb
rename syncWebHooks to syncAutomations
2023-05-19 10:07:02 +01:00
Peter Clement
e1eda14204
move sync automations away from bull and call directly
2023-05-18 17:01:53 +01:00
Rory Powell
578b599428
Lint
2023-05-17 14:10:22 +01:00
Rory Powell
42f472b038
Type updates for automation jobs
2023-05-17 12:26:07 +01:00
Michael Drury
1c7c06e983
Bulk of the automation plugin system, supporting custom plugins.
2023-04-10 23:48:54 +01:00
Peter Clement
0a567a3302
add new status to handle no iterations during loop
2023-03-31 12:23:10 +01:00
mike12345567
3859a4159f
Minor fix for automations, the wrong function had the environment variables being added to environment, this is very minor, it simply makes sure that environment variables are in context for the whole of the automation runner - e.g. if utilising many datasources each of them doesn't need to re-retrieve the environment variables, instead they will be available based on the env vars retrieved at the start of the execution.
2023-02-10 14:14:43 +00:00
Rory Powell
da2c809a09
Merge branch 'develop' into feature/environment-variables
2023-01-27 11:27:11 +00:00
mike12345567
fe7b632727
Quick updates for #8989 - this issue appeared to be fixed already but just adding a few extra bits of security to make sure that looping only occurs when valid data is found in the binding.
2023-01-24 19:09:36 +00:00
mike12345567
5e68a4d814
Minor updates to the context system and also adding env vars to automation context.
2023-01-16 16:47:59 +00:00
Peter Clement
57a5d8505d
assign wasLoopStep correctly
2023-01-05 12:16:45 +00:00
Peter Clement
90f3d28bb5
fix for looping issue wher output was incorrect
2023-01-05 10:52:50 +00:00
Peter Clement
9d841bc947
Server and Worker tests ( #8928 )
...
* automation unit tests
* row processor tests
* update executeQuery test
* update groups assertion
* some more worker tests
* plugin tests and tidying up
* linting
* temporarily disable group tests
* more tests
* fix import
* fix backup tests
* add pro mocks to worker
* check for app existence in import test
* test new tsconfig
* testing changes
* Pro test utils (#9020 )
* Pro test utils changes
* Add test fixes
* Remove ts-ignore
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-12 22:02:32 +00:00
mike12345567
658f12281d
Fixes based on server build so far.
2022-11-26 15:10:41 +00:00
mike12345567
02ede5d067
Finally removing all usages of backend-core/ type imports from server, including some further typescript conversions.
2022-11-22 19:49:59 +00:00
mike12345567
5f658a0398
Converting further DB layers to TS - fixing mocks.
2022-11-15 18:33:24 +00:00
mike12345567
b702c7482a
Fixes for cronjob stop - correctly handle this without stalled job handle.
2022-10-14 13:26:42 +01:00
Peter Clement
bd47c948c5
one more log
2022-10-05 10:01:11 +01:00
Peter Clement
f4c9fc6897
remove logs
2022-10-05 09:53:47 +01:00
Peter Clement
2f220d668b
fix looping issues in automations
2022-10-05 09:20:59 +01:00
mike12345567
86c8618e8f
Fix for #7431 - reboot didn't work at all previously which is why apps couldn't be published with it enabled, this is now a self host only feature, I've removed the ability to enable a reboot cron in the Cloud and it will not run the lookup/execution.
2022-09-07 17:05:17 +01:00
Rory Powell
28cdb16e08
enable stalled job disabling
2022-08-20 11:02:22 +01:00
Rory Powell
f273a6f779
Add logging to all event listeners for automations + stalled handling stub
2022-08-19 23:14:19 +01:00
mike12345567
b803a3fd93
Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes.
2022-08-11 13:50:05 +01:00
mike12345567
f4db17502a
Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-error-stop
2022-07-26 17:28:57 +01:00
mike12345567
61f24fe03f
Adding UI for displaying when the CRON job has been stopped and alert the user to next steps.
2022-07-26 13:59:22 +01:00
mike12345567
3fad32899f
Main body of updates to support disabling the cron, some cleanup of metadata at deployment to make sure they can be re-ran.
2022-07-25 20:45:29 +01:00
Michael Drury
07de5faa2d
Main bulk of logic around detecting cron recurring failure, still need to disable.
2022-07-20 22:38:06 +01:00
mike12345567
ff0c3e501f
Converting main automation thread to typescript.
2022-07-20 19:05:54 +01:00