Commit Graph

22689 Commits

Author SHA1 Message Date
Adria Navarro 5a45249ad4 Reuse subjects 2023-12-22 14:37:55 +01:00
Adria Navarro bd221f2727 Prevent locks 2023-12-22 14:37:55 +01:00
Adria Navarro c5a50a911f Allow reusing app 2023-12-22 14:37:55 +01:00
Adria Navarro 3e991cc2f1 Use yargs 2023-12-22 14:37:55 +01:00
Adria Navarro 31c01e0a6b Display errors 2023-12-22 14:37:55 +01:00
Adria Navarro abf025b3f7 Use inflight max instead of batch wait 2023-12-22 14:37:54 +01:00
Adria Navarro 494a2ff91f Errors 2023-12-22 14:37:54 +01:00
Adria Navarro 92f1107e6c Prevent one single request to stop the process 2023-12-22 14:37:54 +01:00
Adria Navarro c518d8a7fa Add logs 2023-12-22 14:37:54 +01:00
Adria Navarro 3eee77c549 Create 500 students 2023-12-22 14:37:54 +01:00
Adria Navarro dbf4d6dbdd Create grades in batch 2023-12-22 14:37:54 +01:00
Adria Navarro c46509d6cb Use batches 2023-12-22 14:37:54 +01:00
Adria Navarro b034542536 Fix 2023-12-22 14:37:54 +01:00
Adria Navarro 69527cd4b9 Parallel creations 2023-12-22 14:37:54 +01:00
Adria Navarro 0c77cf2b40 Fix concurrent saves 2023-12-22 14:37:54 +01:00
Adria Navarro c0a19c2a7e Type cache arguments 2023-12-22 14:37:54 +01:00
Adria Navarro f722ae970c Add autoid tests (failing) 2023-12-22 14:37:54 +01:00
Adria Navarro 3824156ca5 Add delete all apps script 2023-12-22 14:37:54 +01:00
Adria Navarro becb7bd46d Add tests 2023-12-22 14:37:54 +01:00
Adria Navarro 0452b1a307 Fix imports 2023-12-22 14:37:54 +01:00
Adria Navarro ed32b701ec Move row save to sdk 2023-12-22 14:37:54 +01:00
Adria Navarro 57a7be7a26 Run creation in parallel 2023-12-22 14:37:54 +01:00
Adria Navarro 5240b04a3a Remove 429 in dev 2023-12-22 14:37:54 +01:00
Adria Navarro 192d980e53 Log timings 2023-12-22 14:37:54 +01:00
Adria Navarro 6d6100eaf4 Add grades 2023-12-22 14:37:54 +01:00
Adria Navarro e4acd91237 Populate rows 2023-12-22 14:37:54 +01:00
Adria Navarro e986374c23 Check fetched table 2023-12-22 14:37:54 +01:00
Adria Navarro 1b6c7f2729 Add content to subjects 2023-12-22 14:37:54 +01:00
Adria Navarro 1b0c551602 Create create-many script 2023-12-22 14:37:54 +01:00
Adria Navarro 3d22276c2b Update submodule ref 2023-12-22 13:47:39 +01:00
Adria Navarro 258ac0c8da Update submodule ref 2023-12-22 12:45:30 +01:00
Sam Rose df73cbd001
Fix lint warning. 2023-12-21 11:13:39 +00:00
Sam Rose 3c0901f530
Remove all custom tracing to see if it's the cause of the memory leak. 2023-12-21 11:06:05 +00:00
Sam Rose 1f3a75e892
Downgrade back to dd-trace 3.13.2 2023-12-20 17:20:30 +00:00
jvcalderon 3c2ab7d2ec Merge branch 'master' into fix/handle-manual-prices 2023-12-20 13:28:49 +01:00
jvcalderon 1c1e305f03 Upgrade account portal submodule 2023-12-20 13:27:23 +01:00
melohagan 6adb5cfe79
Do not throw error on 204 no content (#12643) 2023-12-20 11:02:59 +00:00
Sam Rose f6d12a2767
Merge branch 'master' into trace-automations 2023-12-20 10:13:28 +00:00
Sam Rose be29bd9b02
Update account-portal submodule to latest master. 2023-12-20 10:01:57 +00:00
Sam Rose c4fd5342cf
Merge branch 'master' into trace-automations 2023-12-20 09:57:24 +00:00
Sam Rose 9b750ed160
Merge branch 'master' into trace-automations 2023-12-20 09:43:55 +00:00
jvcalderon 07203466bd Upgrade account portal submodule 2023-12-20 09:59:51 +01:00
Sam Rose 2e58f2cdde
Add traces to track running arbitrary JS. 2023-12-19 18:20:13 +00:00
Sam Rose 197962c2dd
Merge branch 'master' into tweak-db-instrumentation 2023-12-19 17:47:44 +00:00
Sam Rose f61346a0c5
Cache the helpers list for executing JS. 2023-12-19 17:46:15 +00:00
Sam Rose 2a0be7c8cd
Give db operation spans better names. 2023-12-19 17:18:40 +00:00
Sam Rose e4512c8004
Merge branch 'master' into trace-automations 2023-12-19 17:14:17 +00:00
Sam Rose c85b8f6a96
Baggage items don't work how I expected. Use tags again. 2023-12-19 17:13:15 +00:00
Sam Rose 056214c984
Use camelCase for tags. 2023-12-19 16:26:09 +00:00
Sam Rose 0b683876f8
Set app_id, user_id, and tenant_id as baggage items on spans. 2023-12-19 16:25:45 +00:00
Sam Rose fef3107c0e
Fix automation tests. 2023-12-19 16:17:34 +00:00
Sam Rose 406410d916
Add DataDog tracing to automations. 2023-12-19 15:57:56 +00:00
Sam Rose 3265c480c2
Merge branch 'master' into limit-js-execution-per-request 2023-12-19 14:16:50 +00:00
Sam Rose 269c382524
Revert "Set `--enable-source-maps` when running Node." 2023-12-19 13:50:35 +00:00
Sam Rose c2f9a01ef8
Merge branch 'master' into limit-js-execution-per-request 2023-12-19 13:41:29 +00:00
Sam Rose 4739fd94c2
Merge branch 'master' into limit-js-execution-per-request 2023-12-19 11:57:21 +00:00
Sam Rose ffb2173409
Merge branch 'master' into enable-source-maps 2023-12-19 11:55:47 +00:00
Sam Rose ea0cda56e7
Merge branch 'master' into enable-source-maps 2023-12-19 11:53:11 +00:00
Sam Rose 96f64b4344
Manually inject DataDog trace context to log messages. 2023-12-19 11:47:41 +00:00
Adria Navarro dbc45da7f5
Merge branch 'master' into limit-js-execution-per-request 2023-12-19 12:44:37 +01:00
Sam Rose d8aac1f489
Merge branch 'master' into enable-source-maps 2023-12-19 11:26:54 +00:00
Sam Rose 5b3ec0b94d
Merge branch 'master' into instrument-couch 2023-12-19 11:26:13 +00:00
melohagan 3f11597251
Support both presence constraint variants (#12617) 2023-12-19 11:02:39 +00:00
Sam Rose 5da9bfee14
Set --enable-source-maps for the worker package. 2023-12-19 10:39:25 +00:00
Sam Rose 1c6036cb09
Set --enable-source-maps when running Node in nodemon. 2023-12-19 10:38:06 +00:00
Sam Rose eb38012e3d
Set --enable-source-maps when running Node in docker. 2023-12-19 10:36:40 +00:00
melohagan 3697ff3efc
Support Barcode, BigInt and User column types in automations (#12610)
* Support barcode and bigint in automations

* Support users in LinkedRowSelector

* Fix clear relationships if empty

* Make sure clearRelationships is initialised to false

* Revert yarn lock

* Refactor

* Refactor
2023-12-19 10:26:28 +00:00
Sam Rose 93da29611d
Fix type error. 2023-12-19 10:11:51 +00:00
Sam Rose 4093f311c9
Respond to PR feedback. 2023-12-19 09:47:12 +00:00
Sam Rose 3d522ce3d1
Update packages/server/src/api/routes/tests/row.spec.ts
Co-authored-by: Adria Navarro <adria@budibase.com>
2023-12-19 09:40:57 +00:00
mike12345567 987e280bc9 Merge branch 'instrument-couch' of github.com:Budibase/budibase into instrument-couch 2023-12-18 18:33:20 +00:00
mike12345567 d681d5298b Type fixes. 2023-12-18 18:33:04 +00:00
Sam Rose 78d039c949
Update backend-core to dd-trace 4.20.0 2023-12-18 17:43:50 +00:00
Sam Rose b532e4434e
Merge branch 'master' of github.com:budibase/budibase into instrument-couch 2023-12-18 17:43:07 +00:00
Sam Rose c25963bc6f
Make tests faster and more robust. 2023-12-18 17:05:50 +00:00
Sam Rose 1c34147357
Add tests for per-request execution timeout. 2023-12-18 17:01:56 +00:00
Sam Rose bd324f3225
Implement per-request JS execution limiting. 2023-12-18 15:29:56 +00:00
Michael Drury b405814661
Merge branch 'master' into feature/uuid-helper 2023-12-18 12:32:30 +00:00
mike12345567 9ec68129d0 Updating account portal to latest deployed. 2023-12-18 12:01:22 +00:00
mike12345567 f6841308d2 Merge branch 'feature/uuid-helper' of github.com:Budibase/budibase into feature/uuid-helper 2023-12-18 11:46:21 +00:00
mike12345567 c374ac6973 Removing test statement. 2023-12-18 11:45:47 +00:00
Michael Drury dceb623732
Merge branch 'master' into feature/uuid-helper 2023-12-18 11:06:48 +00:00
Sam Rose f503b29e1a
Merge branch 'master' into update-dd-trace 2023-12-18 10:59:50 +00:00
Sam Rose d848b0559d
Merge branch 'master' into optimise-get-link-documents 2023-12-18 09:31:12 +00:00
Sam Rose 223aeaf337
Update dd-trace to 4.20.0. 2023-12-18 09:30:15 +00:00
Sam Rose c5fa0806c8
Optimise getLinkDocuments 2023-12-18 09:20:44 +00:00
Adria Navarro 7063622477 Update account-portal ref 2023-12-18 09:43:41 +01:00
jvcalderon 0d56cb8cff Upgrade account portal submodule 2023-12-18 09:37:18 +01:00
jvcalderon e46140cb3a - Avoid BUSINESS plan usage in string literals.
- Change PREMIUM_PLUS by PREMIUM
- Change ENTERPRISE_BASIC by ENTERPRISE
2023-12-18 09:36:11 +01:00
José Vte. Calderón 2586407189
Merge branch 'master' into fix/rm-plan-business 2023-12-18 09:04:46 +01:00
Sam Rose b963e7081e
Fix test. 2023-12-15 16:50:36 +00:00
Sam Rose 92a230667f
Tell a user if their JS failed due to a timeout. 2023-12-15 16:27:20 +00:00
jvcalderon f27e5e96f2 Upgrade submodule 2023-12-15 16:23:30 +01:00
jvcalderon 369048f7e2 Merge branch 'master' into fix/rm-plan-business 2023-12-15 15:35:19 +01:00
jvcalderon 92f59115a0 Upgrade submodule 2023-12-15 15:34:21 +01:00
Adria Navarro 0ef42ae347
Merge branch 'master' into instrument-couch 2023-12-15 14:17:37 +01:00
Sam Rose cf32725319
Merge branch 'master' into set-up-dd-version-and-code-tracking 2023-12-15 13:15:57 +00:00
Sam Rose c4f124c78a
Update utils.ts
Co-authored-by: Adria Navarro <adria@budibase.com>
2023-12-15 12:22:37 +00:00
jvcalderon fb9a777318 Update account-portal submodule 2023-12-15 12:53:27 +01:00
jvcalderon daf669b0e3 Upgrade account portal submodule -> plan list fix 2023-12-15 12:44:42 +01:00
Sam Rose 1717fb7930
Instrument CouchDB client with DD APM traces. 2023-12-15 11:30:02 +00:00
Sam Rose 7a11c5be92
Tweak newly added spans to track formula processing. 2023-12-15 11:10:23 +00:00
Sam Rose b1541817d4
Merge branch 'master' into set-up-dd-version-and-code-tracking 2023-12-15 10:12:27 +00:00
Sam Rose 56a240bc18
Set up DD version and code tracking. 2023-12-15 09:53:48 +00:00
Sam Rose 9e2bea52db
Merge branch 'master' into instrument-formula-processing 2023-12-15 09:23:45 +00:00
jvcalderon b3c786b0f8 Merge branch 'master' into feature/rm-ff-code-per-user-per-creator 2023-12-15 08:38:28 +01:00
jvcalderon aa5ea53af2 Update account portal submodule 2023-12-15 08:36:30 +01:00
Sam Rose a6f03b02f2
Use the right casing for DataDog 2023-12-14 17:27:22 +00:00
Sam Rose 5b880f1d9b
Also instrument appId 2023-12-14 17:26:48 +00:00
Sam Rose 899b6707e7
add the column into the processStringSync span 2023-12-14 17:10:09 +00:00
Sam Rose 0d3ea23301
Instrument formula processing in DataDog. 2023-12-14 16:52:47 +00:00
Sam Rose 7ec2c3860b
Optimise the performance of Writethrough.put. 2023-12-14 16:20:31 +00:00
Andrew Kingston b5f369d595 Remove leftover debug flag 2023-12-14 15:49:32 +00:00
Andrew Kingston 16f98dd8f7 Merge branch 'master' of github.com:Budibase/budibase into feature/multistep-form-block 2023-12-14 15:48:11 +00:00
jvcalderon 34545e1e86 Update account portal submodule 2023-12-14 16:35:37 +01:00
jvcalderon c5be681492 Update account-portal submodule 2023-12-14 16:31:06 +01:00
jvcalderon 2cea0bb5e5 Update account portal submodule 2023-12-14 16:05:06 +01:00
Andrew Kingston a244b34e53 Fix multi step settings rendering and improve multi step form block client rendering when inside builder 2023-12-14 14:33:43 +00:00
Sam Rose dc0d630f4a
Merge branch 'master' into optimise-get-unique-by-prod 2023-12-14 11:18:29 +00:00
Sam Rose 0597c0efc6
Respond to PR feedback. 2023-12-14 11:08:55 +00:00
Sam Rose 598ab03fd0
Optimise getUniqueByProp 2023-12-14 10:40:22 +00:00
Adria Navarro a0dd71f990 Renames 2023-12-14 10:31:04 +01:00
Adria Navarro 251663f38c Renames 2023-12-14 10:10:16 +01:00
Adria Navarro 165d86c246 Create updating page 2023-12-14 10:10:16 +01:00
Adria Navarro 46f8f4da58 Fix parsing appid from path with ? 2023-12-14 10:09:23 +01:00
Adria Navarro 50da799216 Add onMigrationDetected function 2023-12-14 10:07:46 +01:00
Adria Navarro 005dd27663 Use header consts from shared-core 2023-12-14 10:07:46 +01:00
Adria Navarro f3e046ba98 Move header constants to shared-core 2023-12-14 10:07:46 +01:00
Adria Navarro 144fbdf946 Add tests 2023-12-14 10:07:46 +01:00
Adria Navarro 2a92263df5 Add tests 2023-12-14 10:07:46 +01:00
Adria Navarro 9396c2fd6a Split tests 2023-12-14 10:07:46 +01:00
Adria Navarro 34d3edc2db Add header 2023-12-14 10:07:45 +01:00
Adria Navarro 05b5692520 Add app migration test 2023-12-14 10:07:45 +01:00
José Vte. Calderón ed3ad7dea9
Merge branch 'master' into feature/rm-ff-code-per-user-per-creator 2023-12-14 09:08:35 +01:00
mike12345567 213dca323c Fixing an issue with helper popover display. 2023-12-13 18:33:06 +00:00
mike12345567 6173497afa Adding a UUID helper to simplify things, question comes up fairly regularly. 2023-12-13 17:56:16 +00:00
Michael Drury b9593d1933
Merge branch 'master' into fix/try-once-logging 2023-12-13 15:57:21 +00:00
mike12345567 27b8cc7476 Updating pro. 2023-12-13 15:51:23 +00:00
mike12345567 c8128325c6 Improving type handling. 2023-12-13 15:39:04 +00:00
mike12345567 48d70c45b9 Updating pro. 2023-12-13 15:35:44 +00:00
mike12345567 c4af5214ef Improving types around the writethrough cache, exposing the proper typing from the database and removing a log statement which is useless, errors are correctly propogated if they matter (and handled above this level with proper context) or in the 99% scenario it is not a real error (such as try once locks already being held) and a log is just spammy. 2023-12-13 15:08:23 +00:00
Sam Rose a00085c421
Merge branch 'master' into ops-228-split-out-automations-from-main-app-infrastructure 2023-12-13 14:45:56 +00:00
Andrew Kingston 40ac6c7aec Fix layout of nested sections 2023-12-13 13:11:38 +00:00
Andrew Kingston 08cd5bbb91 Refactor form block layout and add functional update and view multi step forms 2023-12-13 13:09:57 +00:00
Sam Rose 51c3289968
Fix lint error. 2023-12-13 12:30:11 +00:00
Adria Navarro 116b1ce909 Ensure .env is created properly 2023-12-13 13:14:13 +01:00
Andrew Kingston ac0f034ff4 Fix multi step settings definition to allow rendering of other sections in the correct order 2023-12-13 12:01:16 +00:00
Sam Rose 4934b4a428
Fix broken test. 2023-12-13 11:58:56 +00:00
Sam Rose 810f369f88
Merge branch 'master' of github.com:budibase/budibase into ops-228-split-out-automations-from-main-app-infrastructure 2023-12-13 11:45:40 +00:00
mike12345567 d9df2d34c8 Adding Koa API back in when automation feature only enabled, so that health check can still be provided, but rest of API is disabled. 2023-12-13 11:23:46 +00:00