mike12345567
cf5316ec8d
General fixes for open handles, attempting to find and close all issues in server which are stopping shutdown of Jest suite.
2023-03-27 19:38:49 +01:00
adrinr
84d450a931
Renames
2023-03-07 12:47:27 +01:00
adrinr
c1462a7c9c
Clean code
2023-02-28 14:54:43 +01:00
adrinr
66217d6b08
Return redlock execution info
2023-02-28 12:52:43 +01:00
adrinr
24161d12bf
Type locks
2023-02-28 12:47:28 +01:00
mike12345567
d6b0b7610a
Fixing circular dependencies which were blocking tests.
2023-02-24 17:31:58 +00:00
Rory Powell
6a88cfc32d
Update locks error logging ( #9768 )
...
* Fix intermittent backend-core migration test failure
* Update lock logging
2023-02-22 08:32:03 +00:00
Rory Powell
940de8b6a0
Run CI steps in parallel ( #9760 )
...
* Parallel CI
* Add build to integration test
* Add checkout to top of each run
* Revert branch update for ci job
* Experiment with --runInBand for CI
* Fix intermittent backend-core migration test failure
* Fix hanging worker redis connection
* Update naming from reset to newTenant
2023-02-21 17:13:24 +00:00
Rory Powell
eb5aa8786d
Merge pull request #9670 from Budibase/budi-6559-enable-higher-concurrency-and-resiliency
...
Enable higher concurrency and resiliency in worker tests
2023-02-13 14:31:14 +00:00
Rory Powell
07e5598538
Enable use of redis container in worker tests
2023-02-13 12:09:16 +00:00
Rory Powell
ae9979929a
Enable higher concurrency and resiliency in worker tests
2023-02-13 11:57:30 +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
Martin McKeaveney
7fb565e9f4
lock changes ( #9047 )
2022-12-15 12:45:53 +00:00
mike12345567
d3c4c99e16
Complete conversion of backend-core to Typescript.
2022-11-24 18:48:51 +00:00
Rory Powell
56456f3f6d
Startup fixes
2022-10-25 13:37:26 +01:00
Rory Powell
281eb151e2
Merge pull request #8164 from Budibase/feature/quota-emails
...
Approaching and Exceeded Usage Limit Notifications
2022-10-12 12:31:17 +01:00
Martin McKeaveney
536b7238e9
redis fix for new instances, removing relationship options from google sheets integration
2022-10-10 11:00:45 +01:00
Rory Powell
84685d3340
Add locking framework
2022-10-10 08:21:17 +01:00
mike12345567
197d195cb4
Switching from scan for app locks to mget - which is a fast O(N) operation that only retrieves what we need.
2022-10-07 18:05:18 +01:00
mike12345567
53e9f79c65
Adding explanation of the difference between Database and SelectableDatabase in Redis.
2022-06-24 14:42:15 +01:00
mike12345567
b4bed6c0ce
Updating redis to use typescript and adding the option of a writethrough cache which can be used, by passing a DB and a value to be written + a delay for writes.
2022-06-23 20:22:51 +01:00
Rory Powell
361ffd224f
Merge branch 'release' into feature/event-backfill
2022-06-06 09:50:06 +01:00
Rory Powell
86d094dda4
Migration locks and add optional preventRetry option
2022-06-01 17:52:41 +01:00
Rory Powell
081db8423e
Fix key eviction
2022-06-01 15:31:27 +01:00
Rory Powell
7ebfaf8a31
Failover protection with event cache
2022-05-31 21:04:41 +01:00
mike12345567
fa30457f2b
Fixing issue with server not shutting down correctly when an error occurs, making sure that everything clears up gracefully.
2022-05-30 21:22:06 +01:00
mike12345567
76f19def26
Moving the withCache function to backend-core so that it can be shared, as well as adding a cache busting function which can be used when one of the checklist configs changes.
2022-05-23 15:03:52 +01:00
Martin McKeaveney
6d3aa6a806
withCache wrapper for working with redis
2022-05-23 00:09:03 +01:00
Rory Powell
715d42d3e6
Merge branch 'develop' into feature/licensing
2022-03-21 17:13:16 +00:00
mike12345567
d55a385072
Fixing an issue with detecting fully qualified Redis URL despite not in use.
2022-03-14 16:50:01 +00:00
mike12345567
30651e81d5
Making the URL optional for application creation/update in OpenAPI spec, removing unused parameter and fixing getRedisOptions function to work with fully qualified URLs.
2022-03-10 15:53:23 +00:00
Rory Powell
a81041bc40
Add shared licensing cache
2022-03-03 13:37:04 +00:00
mike12345567
12ae9993ca
Changing directory.
2022-01-10 19:30:35 +00:00