29 Commits

Author SHA1 Message Date
Patrik Oldsberg 5e0bfc850a devtools-backend: remove unused isValidUrl function
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-13 16:49:45 +02:00
Patrik Oldsberg b2319ffe45 errors: add toError utility and migrate assertError usages
Add a `toError` utility function to `@backstage/errors` that converts
unknown values to `ErrorLike` objects. If the value is already error-like
it is returned as-is. Strings are used directly as the error message, and
other values are stringified with a fallback to JSON.stringify to avoid
unhelpful `[object Object]` messages.

Non-error causes passed to `CustomErrorBase` are now converted and stored
using `toError` rather than discarded. Existing `assertError` call sites
across the codebase are migrated to `toError`.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-03 10:16:23 +02:00
Fredrik Adelöw 7455dae884 require the use of node prefix on native imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-01-26 13:22:53 +01:00
williamwu-mongodb e49a022a16 bugfix: add devtools alpha permissions to devtools-backend
Signed-off-by: williamwu-mongodb <william.t.wu@mongodb.com>
2025-12-12 10:18:09 -08:00
Paul Schultz 05f60e1e0a refactor: convert constructor parameter properties for erasableSyntaxOnly compatibility
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-10-14 08:29:21 -05:00
Andre Wanlin 9a99735e8f dev-tools - Fixed deprecated code
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-06-13 14:06:48 -05:00
Fredrik Adelöw ec547b8032 add error handler middleware in the plugin router
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-12-21 16:08:35 +01:00
Fredrik Adelöw 5c9cc05eee remove most usages of node-fetch
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-11-30 23:54:19 +01:00
Andre Wanlin c781a9aefe DevTools - Removed Deprecated Code
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-11-26 13:22:13 -06:00
Johan Haals 2886ef7eb4 devtools-backend: deprecate createRouter
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2024-08-19 15:45:24 +02:00
Patrik Oldsberg 32a38e1f37 cli: remove most lockfile analysis features
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-07-23 11:15:06 +02:00
Camila Belo 737f3ae5ef Merge branch 'master' into camilaibs/nbs10-deprecate-legacy-system-commons
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-05-21 15:12:02 +02:00
Camila Belo 8869b8ef30 refactor: stop using the legacy standalone server
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-05-17 11:37:04 +02:00
Camila Belo eb34b87d5a refactor: stop using getVoidLogger in tests
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-05-16 09:21:54 +02:00
Heikki Hellgren d5a1fe189b chore: change most of plugins to use LoggerService
quite a big PR for this but the changes are pretty stright forward.
hopefully gets merged before most of these plugins move to the community
repository.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-04-13 02:10:13 +03:00
Patrik Oldsberg 4467036e2a plugins: allow unauthenticated access to health check endpoints
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-03-18 11:40:39 +01:00
Patrik Oldsberg 4dc5b4859d devtools-backend: migate to support new auth services
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-02-26 01:33:33 +01:00
Fredrik Adelöw ba9c46bdd7 stop using SingleHostDiscovery
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-10-12 09:22:23 +02:00
Patrik Oldsberg 71114ac50e plugins: refactory to use default export for new backend system
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Philipp Hugenroth <philipph@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-07 18:53:48 +02:00
Johan Haals 53b916f7a8 Merge pull request #18292 from drodil/devtools_resource_utilization
feat: show resource utilization in DevTools plugin
2023-08-28 09:53:24 +02:00
Vincenzo Scamporlino 2cccf58ef1 chore: config to rootConfig
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2023-07-31 17:11:00 +02:00
Brian Phillips 366a6b98fc code review feedback
Signed-off-by: Brian Phillips <28457+brianphillips@users.noreply.github.com>
2023-07-24 21:44:41 -05:00
Brian Phillips 2b4f77a4e9 Allow package prefixes to be customized for DevTools dependency listing
Signed-off-by: Brian Phillips <28457+brianphillips@users.noreply.github.com>
2023-07-21 12:47:36 -05:00
Andre Wanlin c7f5324fa0 Changed @alpha to @public
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2023-06-28 08:01:21 -05:00
Andre Wanlin ae261e79d2 Added alpha support for new backend system
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2023-06-28 08:00:25 -05:00
Heikki Hellgren 12e644aa4e feat: show resource utilization in DevTools plugin
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2023-06-28 08:41:37 +03:00
Brian Phillips c312192e61 Expose devtools plugin permissions through the metadata endpoint
Signed-off-by: Brian Phillips <28457+brianphillips@users.noreply.github.com>
2023-05-22 11:45:48 -05:00
Andre Wanlin d29f591640 Updated based on feedback
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2023-05-02 15:50:28 -05:00
Andre Wanlin 347aeca204 Added DevTools plugin
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2023-05-02 15:50:25 -05:00