Commit Graph

8911 Commits

Author SHA1 Message Date
OscarDHdz cb69395b43 Scaffolder: Set router scheduler param
Signed-off-by: OscarDHdz <v-ohernandez@expediagroup.com>
2022-09-21 11:01:41 -05:00
Mitchell Hentges 6f3b8d0962 Defer schema validation to improve test performance
Many modules export an `ajvCompiledJsonSchemaValidator(...)`, which
incurs the `ajv` schema compilation at module-import-time.
Many tests depend on these modules transitively, but don't exercise the
compiled schema - so, this compilation time is wasted.

On my machine, with an example test (airbrake/src/index.test.ts) I'm
seeing the following numbers (n=10):

Before: 6005.1ms
After: 5807.8ms
Benefit: 197.3ms (~3.3%)

Weirdly, the NodeJS profiler was saying that schema compilation was
taking ~2000ms, but that is likely due to the inaccuracy of the
sampling.

Signed-off-by: Mitchell Hentges <mhentges@spotify.com>
2022-09-21 17:00:11 +02:00
Patrik Oldsberg a94c6fcf78 backend-tasks: fix for fake timers blocking db setup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 16:59:43 +02:00
Christian Marker b32d56a82d Merge branch 'master' into merge_upstream
Signed-off-by: Christian Marker <cfmarker@gmail.com>
2022-09-21 16:47:15 +02:00
Patrik Oldsberg 4f5fb2d4f4 cli: add support for workspace: query for local version matching
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:55 +02:00
Patrik Oldsberg d66b398840 cli: improve v2 lockfile parsing to split out ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:55 +02:00
Patrik Oldsberg be5a837259 migrate to use workspace ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:53 +02:00
Patrik Oldsberg 153e6e49bd fix version range inconsistencies
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:13:38 +02:00
Christian Marker / Intility AS 6858329bfc feat: create viewTechDocRouteRef in scaffolder plugin
Signed-off-by: Christian Marker / Intility AS <christian.marker@intility.no>
2022-09-20 22:53:57 +02:00
Patrik Oldsberg 17f398face cli: skip testinging of repo test --since matches nothing
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 22:10:22 +02:00
Patrik Oldsberg 947a9f2165 cli: flip repo command help options to use --jest-help instead
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 18:07:16 +02:00
Patrik Oldsberg 6d00e80146 update package.json to use repo test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 18:07:16 +02:00
Patrik Oldsberg 292a088807 cli: add repo test command
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 18:07:16 +02:00
Patrik Oldsberg fb9e00a54a create-app: move mock-fs calls into describe blocks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 18:07:16 +02:00
Patrik Oldsberg 1720afed04 cli: fix yaml transform and add test for loading yaml
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 18:02:28 +02:00
Patrik Oldsberg 3e309107ca cli: update template fallback versions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 17:16:26 +02:00
Patrik Oldsberg 2dddb32fea cli: switch to custom jest yaml transform to support node 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
Patrik Oldsberg ec623f85fb cli: update API report for Jest 29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
Patrik Oldsberg b179cd11f4 cli: update jest config for v29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
Patrik Oldsberg 2e4e6c3500 test fixes to support Jest 29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
Patrik Oldsberg ffa2d1f414 cli: bump to jest 29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
github-actions[bot] 30882884a4 Version Packages 2022-09-20 11:52:02 +00:00
Paul Cowan 392b15ad27 replace ui:layout with the actual rjsf field ui:ObjectFieldTemplate
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:03:00 +02:00
Paul Cowan 19378018bc remove unused react fragment in scaffolder layouts
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:02:59 +02:00
Paul Cowan dd3f5b05f5 fix api-report warnings
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:02:59 +02:00
Paul Cowan d0994dbf00 rename preview layout
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:02:58 +02:00
Paul Cowan 7b0b41778e rename ui:ObjectFieldTemplate to ui:layout
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:01:59 +02:00
Paul Cowan 7c9024317c make demo layout two column
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:01:59 +02:00
Paul Cowan 504920aad5 remove layouts from Stepper
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:01:59 +02:00
Paul Cowan 7fdb1fe283 extract ObjectFieldTemplate from uiSchema
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:01:57 +02:00
Paul Cowan 0fd0385615 pass layouts throught to MultiJsonForm
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:01:37 +02:00
Patrik Oldsberg cff14ff377 Merge pull request #13666 from szubster/sort-skeleton
Sort entries in skeleton.tar.gz
2022-09-20 10:34:26 +02:00
Ben Lambert e0d4077926 Merge pull request #13570 from backstage/freben-dschwank/user-settings-backend
feat: add user-settings-backend and related frontend store
2022-09-20 10:16:46 +02:00
Patrik Oldsberg 988b4d2a8e Merge pull request #12870 from kuangp/feat/playlists
feat(playlists): implement playlist plugin
2022-09-19 16:49:44 +02:00
Fredrik Adelöw 8448b53dd6 move the settings storage to the user settings frontend
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-19 15:41:50 +02:00
Fredrik Adelöw 69242c3021 Merge pull request #13641 from sblausten/mc-drop-overflow
Fix overflow issue for mic drop 404 image
2022-09-19 15:36:38 +02:00
Ben Lambert f969132b94 Merge pull request #13728 from backstage/rugvip/zipfix
backend-common: fix for zip entries being skipped
2022-09-19 09:20:33 -04:00
Fredrik Adelöw f69137b105 Merge pull request #13693 from timja/patch-3
Update Dockerfile
2022-09-19 14:32:18 +02:00
Patrik Oldsberg 0c780278e0 backend-common: fix for zip entries being skipped
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-19 14:24:41 +02:00
Fredrik Adelöw 294805ed59 refresh internal version deps
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-19 13:26:20 +02:00
Fredrik Adelöw 8a57ffc0fa Ensure that we return stable observer references
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-19 12:57:39 +02:00
Fredrik Adelöw 9018da59a9 do not double encode the value
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-19 12:57:39 +02:00
Fredrik Adelöw 9895e6bfb2 rename to UserSettingsStorage and adjust error handling
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-19 12:57:39 +02:00
Dominik Schwank 8f7e5a7517 feat: add keys path support
Signed-off-by: Dominik Schwank <dominik.schwank@sda.se>
2022-09-19 12:57:39 +02:00
Dominik Schwank 31a2403044 feat: use buckets prefix for routes
Signed-off-by: Dominik Schwank <dominik.schwank@sda.se>
2022-09-19 12:57:39 +02:00
Dominik Schwank 32fa6ca2d8 fix: change imports
Signed-off-by: Dominik Schwank <dominik.schwank@sda.se>
2022-09-19 12:57:38 +02:00
Dominik Schwank 108cdc3912 feat: add new user settings backend
Adding a new user settings backend and PersistentStorage to store user related settings in the
database.

Signed-off-by: Dominik Schwank <dominik.schwank@sda.se>
2022-09-19 12:51:43 +02:00
Magnus Persson a8abe6757b Merge branch 'backstage:master' into feature/git-wrapper-branch-command 2022-09-19 09:33:52 +02:00
Tomasz Szuba cc63eb8611 Sort entries in skeleton.tar.gz
Signed-off-by: Tomasz Szuba <tszuba@box.com>
2022-09-16 17:24:53 -04:00
Phil Kuang 2028a73c96 refactor(playlists): address review comments
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-09-16 09:30:48 -04:00