Commit Graph

10 Commits

Author SHA1 Message Date
Rory Powell 3d115829d1
Fix pino request id generation (#9324)
Remove the duplicated pino config in favour of the common config. Move request id generation into common configuration
2023-01-12 10:25:21 +00:00
Rory Powell 34ee521961
Logging type updates to fix account portal build (#9317) 2023-01-12 08:37:41 +00:00
Rory Powell 6b2b46cc4a
Correlation id's and log context (#7232)
* Correlation id's and log context

* fix build

* Remove redundant fields from LoggingProcessor.ts

* Only log correlation id when present e.g. this is not present on startup / shutdown / automations
2023-01-11 20:39:33 +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
mike12345567 c3dbeb9d04 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-error-stop 2022-07-26 17:28:57 +01:00
Andrew Kingston d63c547dd6 Use warn rather than info when notifying about ignored conflicts 2022-07-25 12:23:30 +01:00
Andrew Kingston a0380d7b80 Use log rather than warn for logInfo 2022-07-25 12:22:27 +01:00
Andrew Kingston c79e53db80 Ignore 409s in write-through cache 2022-07-25 12:17:40 +01:00
Michael Drury 1682cfdb90 Main bulk of logic around detecting cron recurring failure, still need to disable. 2022-07-20 22:38:06 +01:00
mike12345567 35ed1baeca Updating logging to typescript to fix build issue. 2022-07-06 14:04:04 +01:00