mike12345567
1be17ee3bb
Fixing circular dependencies which were blocking tests.
2023-02-24 17:31:58 +00:00
Rory Powell
19c86fa738
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
f153fb8e82
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
d68880665c
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
3f0f5b7346
Enable use of redis container in worker tests
2023-02-13 12:09:16 +00:00
Rory Powell
1dc3d44a44
Enable higher concurrency and resiliency in worker tests
2023-02-13 11:57:30 +00:00
Rory Powell
0b2a445a9a
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
07d5ddf3bb
lock changes ( #9047 )
2022-12-15 12:45:53 +00:00
mike12345567
a38d617138
Complete conversion of backend-core to Typescript.
2022-11-24 18:48:51 +00:00
Rory Powell
5c80b2ca06
Startup fixes
2022-10-25 13:37:26 +01:00
Rory Powell
a414f92265
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
88e9419d73
redis fix for new instances, removing relationship options from google sheets integration
2022-10-10 11:00:45 +01:00
Rory Powell
e92a31bd45
Add locking framework
2022-10-10 08:21:17 +01:00
mike12345567
dc589f7fb5
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
b45557fe26
Adding explanation of the difference between Database and SelectableDatabase in Redis.
2022-06-24 14:42:15 +01:00
mike12345567
0a9edc48b6
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
4e77571ddb
Merge branch 'release' into feature/event-backfill
2022-06-06 09:50:06 +01:00
Rory Powell
9f2620dd7a
Migration locks and add optional preventRetry option
2022-06-01 17:52:41 +01:00
Rory Powell
eae5223fe3
Fix key eviction
2022-06-01 15:31:27 +01:00
Rory Powell
429f379431
Failover protection with event cache
2022-05-31 21:04:41 +01:00
mike12345567
06a32ed357
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
100f5a6f3c
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
9483712c7e
withCache wrapper for working with redis
2022-05-23 00:09:03 +01:00
Rory Powell
bf9f5488fc
Merge branch 'develop' into feature/licensing
2022-03-21 17:13:16 +00:00
mike12345567
8dc2c9d480
Fixing an issue with detecting fully qualified Redis URL despite not in use.
2022-03-14 16:50:01 +00:00
mike12345567
c1c879309f
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
515ade6bd3
Add shared licensing cache
2022-03-03 13:37:04 +00:00
mike12345567
b4f83fa867
Changing directory.
2022-01-10 19:30:35 +00:00