1
0
Fork 0
mirror of synced 2024-09-21 11:53:49 +12:00
Commit graph

55 commits

Author SHA1 Message Date
Martin McKeaveney
dfb1774d2c bump default memory unit 2024-02-20 16:32:55 -03:00
mike12345567
74fbb901f9 Removing unused environment variables. 2024-02-19 17:57:16 +00:00
mike12345567
865e9ac111 Setting environment variables for isolated-vm to always be used. 2024-02-19 17:50:27 +00:00
Adria Navarro
ae7a978998 Fix tests 2024-02-19 17:27:01 +01:00
Adria Navarro
d81ecbd7cf Add environment 2024-02-19 16:40:32 +01:00
mike12345567
ea5d04e1d3 Addressing PR comments. 2024-02-14 17:15:42 +00:00
mike12345567
77225e6eb9 Updating how default environment variables are handled, so that the defaults are easier to access. 2024-02-14 15:04:08 +00:00
mike12345567
cfd1c98c85 Updating timeouts for automations, making it easier to manage/find the various timeout limits. Also adding a new environment variable AUTOMATION_THREAD_TIMEOUT which can be used to control how long automations can run for. 2024-02-14 11:44:07 +00:00
mike12345567
43671f1aa3 Enable threading in development for queries and automations. 2024-02-13 17:41:55 +00:00
Adria Navarro
93eb9fc9c8 Setup error logging 2024-02-12 14:01:00 +01:00
Adria Navarro
3207bc6ebf Revert config changes 2024-02-09 16:45:54 +01:00
Adria Navarro
5bc9eb884a Make timeout per request more specific 2024-02-08 16:23:27 +01:00
Adria Navarro
1e101744de Make timeout per invocation more specific 2024-02-08 16:20:33 +01:00
Adria Navarro
8dfcc3aeb1
Revert "Revert "Migrate from vm to isolated-vm"" 2024-02-02 12:02:09 +01:00
Sam Rose
332a201ae7
Revert "Migrate from vm to isolated-vm" 2024-02-02 09:51:46 +00:00
Adria Navarro
45ea6a6fd6
Revert "Revert "Migrate from vm to isolated-vm"" 2024-02-01 16:47:41 +01:00
Adria Navarro
16749ec3dd
Revert "Migrate from vm to isolated-vm" 2024-02-01 16:30:34 +01:00
Adria Navarro
805b24975b Allow configuring memory limits 2024-01-31 16:55:59 +01:00
mike12345567
21a8d44ec7 Adding a 'SESSION_EXPIRY_SECONDS' environment variable which can be set on the services to configure how long before an idle user is logged out. 2024-01-25 16:22:39 +00:00
Sam Rose
bd324f3225
Implement per-request JS execution limiting. 2023-12-18 15:29:56 +00:00
Adria Navarro
e5d27181f2
Merge branch 'master' into BUDI-7655/migration-backend 2023-12-11 09:31:56 +01:00
Adria Navarro
98702798fb Allow custom timeout 2023-12-04 16:30:07 +01:00
mike12345567
19c069946a Fixing importing - still some work to get links correct. 2023-12-01 19:37:43 +00:00
Martin McKeaveney
971146a6fa
Merge branch 'master' into master 2023-11-22 14:30:34 +00:00
Michael Drury
2b37152157
Merge branch 'master' into master 2023-11-21 12:15:42 +00:00
Adria Navarro
db2c20e3ae eslint import/newline-after-import 2023-11-20 21:52:29 +01:00
mike12345567
e4bc6a5fc7 Attempting to fix QA-core inconsistencies in CI - disabling rate limiting during test runs for public API. 2023-11-08 18:41:15 +00:00
kellis5137
4785726369
Merge branch 'Budibase:master' into master 2023-10-31 16:37:59 -04:00
Keith Ellis
eb04c89182 Add check to fix startup if CLUSTER_MODE is enable 2023-10-31 16:34:02 -04:00
mike12345567
19eaafd946 Fixing some test cases. 2023-10-26 16:32:34 +01:00
Adria Navarro
205d33f172 Clean cypress refs 2023-09-07 15:37:22 +02:00
mike12345567
95b8a4ea10 Adding feature flagging, the option to only start the automations, or the API, meaning we can split the service if needed. 2023-08-17 16:39:25 +01:00
mike12345567
dce38908c9 PR comments (backend). 2023-08-01 10:56:47 +01:00
Rory Powell
586bca16d0 Move OFFLINE_MODE to backend-core environment 2023-07-06 20:44:48 +01:00
Martin McKeaveney
dd8e54c5e1 update airgap script and enable support for offline mode 2023-06-15 15:20:14 +01:00
mike12345567
8d7119a363 Make sure top level path is resolved correctly. 2023-06-07 16:37:42 +01:00
mike12345567
70e4795349 Fix top level path within the single image to make sure it can find builder assets correctly. 2023-06-07 16:35:36 +01:00
Rory Powell
6230e62b9b Automation investigation logging + max doc size fix for automation log 2023-05-30 16:37:39 +01:00
Martin McKeaveney
77c2e309dd merge 2023-05-24 17:35:04 +01:00
Martin McKeaveney
bbab2a9adc merge 2023-05-24 11:25:49 +01:00
Adria Navarro
82f53483b2 Fix server docker 2023-05-19 16:44:09 +02:00
mike12345567
0d7959f720 Fixing some un-identified listeners, queue messages not being correctly printed, also improving the mechanism for detecting if in the main thread or not. 2023-05-04 17:20:21 +01:00
Martin McKeaveney
50de32a8a0 Merge pull request #10452 from Budibase/feature/clustering-support
attaching clustered mode to an env var
2023-05-04 14:25:23 +01:00
Martin McKeaveney
36397bb77d enabling cluster support for ratelimit cache 2023-04-28 20:23:39 +01:00
Martin McKeaveney
84f52683b2 chatgpt automation block 2023-04-26 15:55:44 +01:00
Rory Powell
976b3a55ca Update logging to support dd trace attributes (#10086)
* Update logging middleware to integrate with pino for console logging

* Remove elastic apm references, use updated core middlewares

* Remove redundant LOG_LEVEL definitions

* Remove no longer needed jest logging overrides

* lint

* Backwards compat between console log helpers and pino

* Configurable DISABLE_HTTP_LOGGING

* Don't log 4xx as errors

* Remove redundant ENABLE_4XX_HTTP_LOGGING

* Cleanup migrations and event logging

* Improve bb-alert logging

* Add DISABLE_HTTP_LOGGING to helm chart

* Add ops endpoints for testing

* Disable http logging in dev

* Backwards compatible tracing implementation

* Naming update on http logging env var

* lint

* Update packages/backend-core/src/environment.ts

Co-authored-by: Adria Navarro <adria@revityapp.com>

* Merge

* Lint

* Fix console.warn failing mock by replacing with alerts mock instead

* Lint

---------

Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-04-04 15:08:46 +01:00
Rory Powell
e116941750 Rotatable secrets (#9982)
* Rotatable secrets

* Set new api encryption key var

* Lint

* Use fallback keys instead of array

* Point api encryption key to dedicated value

* Add API_ENCRYPTION_KEY to cli

* Lint + add api encryption key to env files
2023-03-13 15:02:59 +00:00
Rory Powell
c33ea4dcfe Update deployment templates to remove unused cdn url and fix empty env vars (#9967) 2023-03-09 16:13:26 +00:00
mike12345567
015f95aa6d Quick fix to add the ability to update the app-service HTTP MB max limits. 2023-02-14 16:40:57 +00:00
Rory Powell
fba7ef26ad Replace ts-jest with swc/jest (#9289)
- Add swc dependencies
- Add transform change to jest.config.ts
- Replace `export =` with `export default` in src code to enable code coverage to work with swc transformer
- Restructure backend-core errors package to allow for exporting error classes with ESM syntax
- Update backend-core to no longer use `export =`, export individual packages instead of replacing with `export default` for backwards compatibility
- Update event publishers to use `export default` - this was required for the `jest.spyOn` usage inside backend-core common mocks
- Restructure some jest.mock usages where declaring the jest.fn as a variable outside of the package mock threw an error
2023-01-11 09:37:37 +00:00